select * from `invoice` where `invoice`.`id` = 95925 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-01-07 08:26:11 [0.24ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 95925, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-01-07 08:26:11 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 95925 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-01-07 08:26:11 [0.51ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 95925 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-01-07 08:26:11 [1.45ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 95925 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-01-07 08:26:11 [0.23ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 100, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 95925;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-01-07 08:26:11 [0.22ms] */
select * from `invoice` where `id` = 95925 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-01-07 08:26:11 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"100.00","status":"OPEN"}}', 5, 'App\Models\User', 95925, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-01-07 08:26:11 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 96580 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-01-07 08:26:11 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 96580 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-01-07 08:26:11 [0.48ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-01-07 08:26:11 [1.45ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (96580, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-01-07 08:26:11 [0.6ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-01-07 08:26:11 [0.29ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 96580;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-01-07 08:26:11 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 95925 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-01-07 08:26:11 [0.46ms] */
select * from `vehicle_tax` where `transaction_id` = 96580 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-01-07 08:26:11 [0.17ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 95282;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-01-07 08:26:11 [0.34ms] */
select * from `vehicle_tax` where `id` = 95282 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-01-07 08:26:11 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 95282, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-01-07 08:26:11 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 95927 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-01-07 08:26:11 [0.29ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 95927, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-01-07 08:26:11 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 95927 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-01-07 08:26:11 [0.49ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 95927 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-01-07 08:26:11 [0.44ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 95927 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-01-07 08:26:11 [0.32ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 95927;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-01-07 08:26:11 [0.3ms] */
select * from `invoice` where `id` = 95927 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-01-07 08:26:11 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 95927, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-01-07 08:26:11 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 96582 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-01-07 08:26:11 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 96582 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-01-07 08:26:11 [0.25ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-01-07 08:26:11 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-01-07 08:26:11 [0.35ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-01-07 08:26:11 [0.38ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (96582, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-01-07 08:26:11 [0.38ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-01-07 08:26:11 [0.37ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 96582;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-01-07 08:26:11 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-01-07 08:26:11 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 95927 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-01-07 08:26:11 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 96582 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-01-07 08:26:11 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 95284;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-01-07 08:26:11 [0.18ms] */
select * from `vehicle_tax` where `id` = 95284 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-01-07 08:26:11 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 95284, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 67 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103195 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 68 - 2025-01-07 08:26:11 [0.17ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 103195, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 69 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103195 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 70 - 2025-01-07 08:26:11 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103195 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 71 - 2025-01-07 08:26:11 [0.5ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103195 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 72 - 2025-01-07 08:26:11 [0.18ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 100, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103195;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 73 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `id` = 103195 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 74 - 2025-01-07 08:26:11 [0.6ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"100.00","status":"OPEN"}}', 5, 'App\Models\User', 103195, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 75 - 2025-01-07 08:26:11 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 103633 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 76 - 2025-01-07 08:26:11 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103633 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 77 - 2025-01-07 08:26:11 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 78 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 79 - 2025-01-07 08:26:11 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 80 - 2025-01-07 08:26:11 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103633, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 81 - 2025-01-07 08:26:11 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 82 - 2025-01-07 08:26:11 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103633;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 83 - 2025-01-07 08:26:11 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 84 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103195 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 85 - 2025-01-07 08:26:11 [0.24ms] */
select * from `vehicle_tax` where `transaction_id` = 103633 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 86 - 2025-01-07 08:26:11 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 99968;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 87 - 2025-01-07 08:26:11 [0.46ms] */
select * from `vehicle_tax` where `id` = 99968 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 88 - 2025-01-07 08:26:11 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99968, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 89 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103196 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 90 - 2025-01-07 08:26:11 [0.16ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 103196, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 91 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103196 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 92 - 2025-01-07 08:26:11 [0.25ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103196 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 93 - 2025-01-07 08:26:11 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103196 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 94 - 2025-01-07 08:26:11 [0.17ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103196;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 95 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `id` = 103196 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 96 - 2025-01-07 08:26:11 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 103196, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 97 - 2025-01-07 08:26:11 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 103634 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 98 - 2025-01-07 08:26:11 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103634 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 99 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 100 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 101 - 2025-01-07 08:26:11 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 102 - 2025-01-07 08:26:11 [0.4ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103634, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 103 - 2025-01-07 08:26:11 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 104 - 2025-01-07 08:26:11 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103634;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 105 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 106 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103196 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 107 - 2025-01-07 08:26:11 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 103634 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 108 - 2025-01-07 08:26:11 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 99969;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 109 - 2025-01-07 08:26:11 [0.18ms] */
select * from `vehicle_tax` where `id` = 99969 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 110 - 2025-01-07 08:26:11 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99969, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 111 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103197 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 112 - 2025-01-07 08:26:11 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 103197, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 113 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103197 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 114 - 2025-01-07 08:26:11 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103197 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 115 - 2025-01-07 08:26:11 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103197 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 116 - 2025-01-07 08:26:11 [0.17ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103197;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 117 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `id` = 103197 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 118 - 2025-01-07 08:26:11 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 103197, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 119 - 2025-01-07 08:26:11 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103635 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 120 - 2025-01-07 08:26:11 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103635 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 121 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 122 - 2025-01-07 08:26:11 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 123 - 2025-01-07 08:26:11 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 124 - 2025-01-07 08:26:11 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103635, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 125 - 2025-01-07 08:26:11 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 126 - 2025-01-07 08:26:11 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103635;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 127 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 128 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103197 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 129 - 2025-01-07 08:26:11 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 103635 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 130 - 2025-01-07 08:26:11 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 99970;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 131 - 2025-01-07 08:26:11 [0.19ms] */
select * from `vehicle_tax` where `id` = 99970 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 132 - 2025-01-07 08:26:11 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99970, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 133 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103198 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 134 - 2025-01-07 08:26:11 [0.16ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 103198, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 135 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103198 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 136 - 2025-01-07 08:26:11 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103198 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 137 - 2025-01-07 08:26:11 [0.24ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103198 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 138 - 2025-01-07 08:26:11 [0.18ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103198;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 139 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `id` = 103198 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 140 - 2025-01-07 08:26:11 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 103198, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 141 - 2025-01-07 08:26:11 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103636 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 142 - 2025-01-07 08:26:11 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 103636 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 143 - 2025-01-07 08:26:11 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 144 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 145 - 2025-01-07 08:26:11 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 146 - 2025-01-07 08:26:11 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103636, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 147 - 2025-01-07 08:26:11 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 148 - 2025-01-07 08:26:11 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103636;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 149 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 150 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103198 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 151 - 2025-01-07 08:26:11 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 103636 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 152 - 2025-01-07 08:26:11 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 99971;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 153 - 2025-01-07 08:26:11 [0.18ms] */
select * from `vehicle_tax` where `id` = 99971 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 154 - 2025-01-07 08:26:11 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99971, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 155 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103199 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 156 - 2025-01-07 08:26:11 [0.16ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 103199, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 157 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103199 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 158 - 2025-01-07 08:26:11 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103199 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 159 - 2025-01-07 08:26:11 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103199 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 160 - 2025-01-07 08:26:11 [0.17ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 100, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103199;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 161 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `id` = 103199 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 162 - 2025-01-07 08:26:11 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"100.00","status":"OPEN"}}', 5, 'App\Models\User', 103199, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 163 - 2025-01-07 08:26:11 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 164 - 2025-01-07 08:26:11 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 165 - 2025-01-07 08:26:11 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 166 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 167 - 2025-01-07 08:26:11 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 168 - 2025-01-07 08:26:11 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103637, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 169 - 2025-01-07 08:26:11 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 170 - 2025-01-07 08:26:11 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 103637;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 171 - 2025-01-07 08:26:11 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 172 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103199 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 173 - 2025-01-07 08:26:11 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 103637 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 174 - 2025-01-07 08:26:11 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 08:26:11' where `id` = 99972;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 175 - 2025-01-07 08:26:11 [0.19ms] */
select * from `vehicle_tax` where `id` = 99972 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 176 - 2025-01-07 08:26:11 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99972, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 177 - 2025-01-07 08:26:11 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 104790 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 178 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 104790 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 179 - 2025-01-07 08:26:11 [0.16ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 08:26:11', 104790, 89841, '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 180 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104790 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 181 - 2025-01-07 08:26:11 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 104790 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 182 - 2025-01-07 08:26:11 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 08:26:11' where `id` = 104790;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 183 - 2025-01-07 08:26:11 [0.19ms] */
select * from `invoice` where `id` = 104790 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 184 - 2025-01-07 08:26:11 [0.52ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"568.00","status":"OPEN"}}', 5, 'App\Models\User', 104790, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 185 - 2025-01-07 08:26:11 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 105233 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 186 - 2025-01-07 08:26:11 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105233 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 187 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 188 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 189 - 2025-01-07 08:26:11 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 190 - 2025-01-07 08:26:11 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105233, 'PAID', '2025-01-07 08:26:11', 7, 5, null, 5, 5, '2025-01-07 08:26:11', '2025-01-07 08:26:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 191 - 2025-01-07 08:26:11 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 192 - 2025-01-07 08:26:11 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 08:26:11' where `id` = 105233;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 193 - 2025-01-07 08:26:11 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 194 - 2025-01-07 08:26:11 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104790 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 195 - 2025-01-07 08:26:11 [4.52ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-01-07 08:26:11' where `receipt_number` = 528317634 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 196 - 2025-01-07 08:26:11 [2.09ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-01-07 08:26:11' where `receipt_number` = 528317638111 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 1 - 2025-01-07 08:27:24 [5.22ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 2 - 2025-01-07 08:27:24 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 3 - 2025-01-07 08:27:24 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 4 - 2025-01-07 08:27:24 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 5 - 2025-01-07 08:27:24 [83.83ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-07 08:27:24' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 6 - 2025-01-07 08:27:25 [57.29ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-07 08:27:24' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 100;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 7 - 2025-01-07 08:27:25 [0.37ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 750 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 8 - 2025-01-07 08:27:25 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 750 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 9 - 2025-01-07 08:27:25 [1ms] */
select * from `party` where `party`.`id` = 12110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 10 - 2025-01-07 08:27:25 [0.72ms] */
select * from `person` where `person`.`id` = 12110 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 11 - 2025-01-07 08:27:25 [0.62ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 12 - 2025-01-07 08:27:25 [4.4ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 13 - 2025-01-07 08:27:25 [0.47ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 14 - 2025-01-07 08:27:25 [0.24ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 15 - 2025-01-07 08:27:25 [0.25ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 16 - 2025-01-07 08:27:25 [2.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 750 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 17 - 2025-01-07 08:27:25 [0.47ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 18 - 2025-01-07 08:27:25 [0.54ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 766 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 19 - 2025-01-07 08:27:25 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 766 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 20 - 2025-01-07 08:27:25 [0.65ms] */
select * from `party` where `party`.`id` = 49103 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 21 - 2025-01-07 08:27:25 [0.47ms] */
select * from `person` where `person`.`id` = 49103 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 22 - 2025-01-07 08:27:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 23 - 2025-01-07 08:27:25 [0.35ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 24 - 2025-01-07 08:27:25 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 25 - 2025-01-07 08:27:25 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 26 - 2025-01-07 08:27:25 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 27 - 2025-01-07 08:27:25 [0.96ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 766 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 28 - 2025-01-07 08:27:25 [0.32ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 29 - 2025-01-07 08:27:25 [0.29ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 30 - 2025-01-07 08:27:25 [0.31ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 31 - 2025-01-07 08:27:25 [0.21ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2025-01-07 08:27:25 [4.31ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2025-01-07 08:27:25 [0.97ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 773 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 34 - 2025-01-07 08:27:25 [0.58ms] */
select * from `party_vehicle` where `vehicle_id` = 773 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2025-01-07 08:27:25 [1.18ms] */
select * from `party` where `party`.`id` = 56046 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 36 - 2025-01-07 08:27:25 [0.58ms] */
select * from `company` where `company`.`id` = 437 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 37 - 2025-01-07 08:27:25 [3.61ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 38 - 2025-01-07 08:27:25 [3.28ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 39 - 2025-01-07 08:27:25 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 40 - 2025-01-07 08:27:25 [3.43ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 41 - 2025-01-07 08:27:25 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 42 - 2025-01-07 08:27:25 [3.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 773 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2025-01-07 08:27:25 [2.66ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 816 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 44 - 2025-01-07 08:27:25 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 816 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 45 - 2025-01-07 08:27:25 [9.22ms] */
select * from `party` where `party`.`id` = 27123 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 46 - 2025-01-07 08:27:25 [1.36ms] */
select * from `person` where `person`.`id` = 27123 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 47 - 2025-01-07 08:27:25 [0.48ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2025-01-07 08:27:25 [0.43ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 49 - 2025-01-07 08:27:25 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 50 - 2025-01-07 08:27:25 [0.3ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 51 - 2025-01-07 08:27:25 [0.41ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 52 - 2025-01-07 08:27:25 [1.48ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 816 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2025-01-07 08:27:25 [0.33ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 54 - 2025-01-07 08:27:25 [0.6ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2025-01-07 08:27:25 [0.11ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2025-01-07 08:27:25 [0.34ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 57 - 2025-01-07 08:27:25 [0.11ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2025-01-07 08:27:25 [0.61ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 831 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 59 - 2025-01-07 08:27:25 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 831 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 60 - 2025-01-07 08:27:25 [0.24ms] */
select * from `party` where `party`.`id` = 56065 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 61 - 2025-01-07 08:27:25 [0.18ms] */
select * from `company` where `company`.`id` = 456 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 62 - 2025-01-07 08:27:25 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 63 - 2025-01-07 08:27:25 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 64 - 2025-01-07 08:27:25 [0.17ms] */
select * from `model` where `model`.`id` = 9 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 65 - 2025-01-07 08:27:25 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 66 - 2025-01-07 08:27:25 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 67 - 2025-01-07 08:27:25 [0.81ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 831 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2025-01-07 08:27:25 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2025-01-07 08:27:25 [0.11ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2025-01-07 08:27:25 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 881 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 71 - 2025-01-07 08:27:25 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 881 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 72 - 2025-01-07 08:27:25 [0.21ms] */
select * from `party` where `party`.`id` = 57890 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 73 - 2025-01-07 08:27:25 [0.19ms] */
select * from `company` where `company`.`id` = 2281 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 74 - 2025-01-07 08:27:25 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2025-01-07 08:27:25 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2025-01-07 08:27:25 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2025-01-07 08:27:25 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 78 - 2025-01-07 08:27:25 [0.1ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 79 - 2025-01-07 08:27:25 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 881 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 80 - 2025-01-07 08:27:25 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 81 - 2025-01-07 08:27:25 [0.1ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 82 - 2025-01-07 08:27:25 [0.1ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 83 - 2025-01-07 08:27:25 [0.1ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 84 - 2025-01-07 08:27:25 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 883 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2025-01-07 08:27:25 [0.21ms] */
select * from `party_vehicle` where `vehicle_id` = 883 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2025-01-07 08:27:25 [0.21ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2025-01-07 08:27:25 [0.21ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 88 - 2025-01-07 08:27:25 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 89 - 2025-01-07 08:27:25 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 90 - 2025-01-07 08:27:25 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 91 - 2025-01-07 08:27:25 [0.1ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 92 - 2025-01-07 08:27:25 [0.1ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 93 - 2025-01-07 08:27:25 [0.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 883 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2025-01-07 08:27:25 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 885 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2025-01-07 08:27:25 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 885 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2025-01-07 08:27:25 [0.17ms] */
select * from `party` where `party`.`id` = 56081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2025-01-07 08:27:25 [0.16ms] */
select * from `company` where `company`.`id` = 472 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 98 - 2025-01-07 08:27:25 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 99 - 2025-01-07 08:27:25 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 100 - 2025-01-07 08:27:25 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 101 - 2025-01-07 08:27:25 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 102 - 2025-01-07 08:27:25 [0.1ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 103 - 2025-01-07 08:27:25 [8.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 885 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 104 - 2025-01-07 08:27:25 [0.22ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2025-01-07 08:27:25 [0.15ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 106 - 2025-01-07 08:27:25 [0.15ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 107 - 2025-01-07 08:27:25 [0.11ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2025-01-07 08:27:25 [1.3ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 109 - 2025-01-07 08:27:25 [0.11ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 110 - 2025-01-07 08:27:25 [0.11ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 111 - 2025-01-07 08:27:25 [0.21ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 112 - 2025-01-07 08:27:25 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 113 - 2025-01-07 08:27:25 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 911 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 114 - 2025-01-07 08:27:25 [3.98ms] */
select * from `party_vehicle` where `vehicle_id` = 911 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 115 - 2025-01-07 08:27:25 [0.23ms] */
select * from `party` where `party`.`id` = 56087 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 116 - 2025-01-07 08:27:25 [2.78ms] */
select * from `company` where `company`.`id` = 478 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 117 - 2025-01-07 08:27:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 118 - 2025-01-07 08:27:25 [2.7ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2025-01-07 08:27:25 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 120 - 2025-01-07 08:27:25 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 121 - 2025-01-07 08:27:25 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 122 - 2025-01-07 08:27:25 [2.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 911 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 123 - 2025-01-07 08:27:25 [0.15ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 124 - 2025-01-07 08:27:25 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 125 - 2025-01-07 08:27:25 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 126 - 2025-01-07 08:27:25 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 127 - 2025-01-07 08:27:25 [3.59ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 938 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 128 - 2025-01-07 08:27:25 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 938 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 129 - 2025-01-07 08:27:25 [0.23ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 130 - 2025-01-07 08:27:25 [0.25ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 131 - 2025-01-07 08:27:25 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 132 - 2025-01-07 08:27:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 133 - 2025-01-07 08:27:25 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 134 - 2025-01-07 08:27:25 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 135 - 2025-01-07 08:27:25 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 136 - 2025-01-07 08:27:25 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 938 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 137 - 2025-01-07 08:27:25 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 1 - 2025-01-07 08:27:26 [4.67ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 2 - 2025-01-07 08:27:26 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 3 - 2025-01-07 08:27:26 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 4 - 2025-01-07 08:27:26 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 5 - 2025-01-07 08:27:26 [0.72ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 6 - 2025-01-07 08:27:26 [0.23ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 7 - 2025-01-07 08:27:26 [10.72ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 9337 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 8 - 2025-01-07 08:27:26 [1.62ms] */
select * from `address` where `address`.`id` = 9337 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 9 - 2025-01-07 08:27:26 [1.12ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 10 - 2025-01-07 08:27:26 [0.17ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 11 - 2025-01-07 08:27:26 [0.35ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 12 - 2025-01-07 08:27:26 [0.2ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 13 - 2025-01-07 08:27:26 [51.65ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 9337 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 14 - 2025-01-07 08:27:26 [1.76ms] */
select count(*) as aggregate from `transaction` where `party_id` = 9337 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 15 - 2025-01-07 08:27:26 [4.82ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 9337 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 16 - 2025-01-07 08:27:26 [0.22ms] */
select count(*) as aggregate from `invoice` where `party_id` = 9337 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 17 - 2025-01-07 08:27:26 [0.98ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 18 - 2025-01-07 08:27:26 [0.16ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 19 - 2025-01-07 08:27:26 [0.96ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 9337 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 20 - 2025-01-07 08:27:26 [1.07ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 9337 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 21 - 2025-01-07 08:27:26 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 9337 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 22 - 2025-01-07 08:27:26 [0.24ms] */
select * from `person_bio_photo` where `party_id` = 9337 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 23 - 2025-01-07 08:27:26 [0.38ms] */
select * from `person_bio_iris` where `party_id` = 9337 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 24 - 2025-01-07 08:27:26 [50.21ms] */
select * from `party_vehicle` where `party_id` = 9337 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 25 - 2025-01-07 08:27:26 [1.31ms] */
select * from `vehicle` where `vehicle`.`id` = 938 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 26 - 2025-01-07 08:27:26 [2.08ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 27 - 2025-01-07 08:27:26 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 28 - 2025-01-07 08:27:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 29 - 2025-01-07 08:27:26 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 30 - 2025-01-07 08:27:26 [0.14ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 31 - 2025-01-07 08:27:26 [0.15ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 32 - 2025-01-07 08:27:26 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 57332 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 33 - 2025-01-07 08:27:26 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 34 - 2025-01-07 08:27:26 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 35 - 2025-01-07 08:27:26 [0.4ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 36 - 2025-01-07 08:27:26 [0.23ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 37 - 2025-01-07 08:27:26 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 937 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 38 - 2025-01-07 08:27:26 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 39 - 2025-01-07 08:27:26 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 40 - 2025-01-07 08:27:26 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 41 - 2025-01-07 08:27:26 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 42 - 2025-01-07 08:27:26 [0.13ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 43 - 2025-01-07 08:27:26 [0.14ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 44 - 2025-01-07 08:27:26 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 76110 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 45 - 2025-01-07 08:27:26 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 46 - 2025-01-07 08:27:26 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 47 - 2025-01-07 08:27:26 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 48 - 2025-01-07 08:27:26 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 49 - 2025-01-07 08:27:26 [0.61ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (9337) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 50 - 2025-01-07 08:27:26 [0.27ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (9337) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 51 - 2025-01-07 08:27:26 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (57332, 76110, 103880) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 52 - 2025-01-07 08:27:26 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (937, 938) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 53 - 2025-01-07 08:27:26 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 54 - 2025-01-07 08:27:26 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 55 - 2025-01-07 08:27:26 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 56 - 2025-01-07 08:27:26 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 57 - 2025-01-07 08:27:26 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 58 - 2025-01-07 08:27:26 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 59 - 2025-01-07 08:27:26 [0.18ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 60 - 2025-01-07 08:27:26 [0.22ms] */
select * from `party` where `party`.`id` in (9337) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 61 - 2025-01-07 08:27:26 [0.24ms] */
select * from `address` where `address`.`id` in (9337) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 62 - 2025-01-07 08:27:26 [0.16ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 63 - 2025-01-07 08:27:26 [0.14ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 64 - 2025-01-07 08:27:26 [0.13ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 65 - 2025-01-07 08:27:26 [0.14ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 66 - 2025-01-07 08:27:26 [0.13ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 67 - 2025-01-07 08:27:26 [0.14ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 68 - 2025-01-07 08:27:26 [0.31ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 69 - 2025-01-07 08:27:26 [0.9ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 70 - 2025-01-07 08:27:26 [0.49ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 116 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 71 - 2025-01-07 08:27:26 [0.33ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 9337 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 72 - 2025-01-07 08:27:26 [0.32ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 9337 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 73 - 2025-01-07 08:27:26 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 74 - 2025-01-07 08:27:26 [0.47ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 75 - 2025-01-07 08:27:26 [0.29ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 76 - 2025-01-07 08:27:26 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 77 - 2025-01-07 08:27:26 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 78 - 2025-01-07 08:27:26 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 938 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 79 - 2025-01-07 08:27:26 [0.19ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 80 - 2025-01-07 08:27:26 [0.19ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 81 - 2025-01-07 08:27:26 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 57332 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 82 - 2025-01-07 08:27:26 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 83 - 2025-01-07 08:27:26 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 84 - 2025-01-07 08:27:26 [0.53ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103880 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 85 - 2025-01-07 08:27:26 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 86 - 2025-01-07 08:27:26 [0.5ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 87 - 2025-01-07 08:27:26 [0.32ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 88 - 2025-01-07 08:27:26 [0.26ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 89 - 2025-01-07 08:27:26 [0.24ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 90 - 2025-01-07 08:27:26 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 938 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 91 - 2025-01-07 08:27:26 [0.19ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 92 - 2025-01-07 08:27:26 [0.19ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 93 - 2025-01-07 08:27:26 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 57332 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 94 - 2025-01-07 08:27:26 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 95 - 2025-01-07 08:27:26 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 96 - 2025-01-07 08:27:26 [0.32ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 97 - 2025-01-07 08:27:26 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 96235 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 98 - 2025-01-07 08:27:26 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 31 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 99 - 2025-01-07 08:27:26 [0.17ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 100 - 2025-01-07 08:27:26 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 101 - 2025-01-07 08:27:26 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 102 - 2025-01-07 08:27:26 [0.27ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 103 - 2025-01-07 08:27:26 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 937 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 104 - 2025-01-07 08:27:26 [0.19ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 105 - 2025-01-07 08:27:26 [0.22ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 106 - 2025-01-07 08:27:26 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 76110 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 107 - 2025-01-07 08:27:26 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 108 - 2025-01-07 08:27:26 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 109 - 2025-01-07 08:27:26 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 110 - 2025-01-07 08:27:26 [0.43ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 111 - 2025-01-07 08:27:26 [0.84ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 76110 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 112 - 2025-01-07 08:27:26 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 113 - 2025-01-07 08:27:26 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 114 - 2025-01-07 08:27:26 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 115 - 2025-01-07 08:27:26 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 116 - 2025-01-07 08:27:26 [1.01ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 117 - 2025-01-07 08:27:26 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 938 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 118 - 2025-01-07 08:27:26 [0.14ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 119 - 2025-01-07 08:27:26 [0.15ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 120 - 2025-01-07 08:27:26 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 57332 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 121 - 2025-01-07 08:27:26 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 122 - 2025-01-07 08:27:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 123 - 2025-01-07 08:27:26 [3.53ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 124 - 2025-01-07 08:27:26 [0.14ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 125 - 2025-01-07 08:27:26 [0.85ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 57332 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 126 - 2025-01-07 08:27:26 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 127 - 2025-01-07 08:27:26 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 128 - 2025-01-07 08:27:26 [0.59ms] */
select * from `discount` where `party_id` = 9337 and `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 129 - 2025-01-07 08:27:26 [0.4ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 130 - 2025-01-07 08:27:26 [0.18ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/9337
   Query 131 - 2025-01-07 08:27:26 [0.2ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 9337 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=9337&model=Person
   Query 1 - 2025-01-07 08:27:27 [13.75ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=9337&model=Person
   Query 2 - 2025-01-07 08:27:27 [19.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=9337&model=Person
   Query 3 - 2025-01-07 08:27:27 [6.7ms] */
select * from `party` where `id` = 9337 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=9337&model=Person
   Query 4 - 2025-01-07 08:27:27 [0.49ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, ur.first_name,last_name 
            FROM audits a 
            left join users ur on a.user_id = ur.id 
            left join person p on a.auditable_id = p.id 
            where auditable_id = 9337 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 1 - 2025-01-07 08:27:30 [5.11ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 2 - 2025-01-07 08:27:30 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 3 - 2025-01-07 08:27:30 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 4 - 2025-01-07 08:27:30 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 5 - 2025-01-07 08:27:30 [219.96ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-07 08:27:30' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 6 - 2025-01-07 08:27:30 [83.65ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-07 08:27:30' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 100;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 7 - 2025-01-07 08:27:30 [3.61ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 750 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 8 - 2025-01-07 08:27:30 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 750 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 9 - 2025-01-07 08:27:30 [0.18ms] */
select * from `party` where `party`.`id` = 12110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 10 - 2025-01-07 08:27:30 [0.18ms] */
select * from `person` where `person`.`id` = 12110 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 11 - 2025-01-07 08:27:30 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 12 - 2025-01-07 08:27:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 13 - 2025-01-07 08:27:30 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 14 - 2025-01-07 08:27:30 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 15 - 2025-01-07 08:27:30 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 16 - 2025-01-07 08:27:30 [0.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 750 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 17 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 18 - 2025-01-07 08:27:30 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 766 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 19 - 2025-01-07 08:27:30 [0.13ms] */
select * from `party_vehicle` where `vehicle_id` = 766 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 20 - 2025-01-07 08:27:30 [0.13ms] */
select * from `party` where `party`.`id` = 49103 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 21 - 2025-01-07 08:27:30 [0.13ms] */
select * from `person` where `person`.`id` = 49103 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 22 - 2025-01-07 08:27:30 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 23 - 2025-01-07 08:27:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 24 - 2025-01-07 08:27:30 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 25 - 2025-01-07 08:27:30 [0.1ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 26 - 2025-01-07 08:27:30 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 27 - 2025-01-07 08:27:30 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 766 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 28 - 2025-01-07 08:27:30 [0.11ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 29 - 2025-01-07 08:27:30 [0.1ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 30 - 2025-01-07 08:27:30 [0.1ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 31 - 2025-01-07 08:27:30 [0.1ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 32 - 2025-01-07 08:27:30 [0.1ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 33 - 2025-01-07 08:27:30 [0.11ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 773 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 34 - 2025-01-07 08:27:30 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 773 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 35 - 2025-01-07 08:27:30 [0.12ms] */
select * from `party` where `party`.`id` = 56046 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 36 - 2025-01-07 08:27:30 [0.13ms] */
select * from `company` where `company`.`id` = 437 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 37 - 2025-01-07 08:27:30 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 38 - 2025-01-07 08:27:30 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 39 - 2025-01-07 08:27:30 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 40 - 2025-01-07 08:27:30 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 41 - 2025-01-07 08:27:30 [0.1ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 42 - 2025-01-07 08:27:30 [0.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 773 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 43 - 2025-01-07 08:27:30 [0.12ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 816 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 44 - 2025-01-07 08:27:30 [0.12ms] */
select * from `party_vehicle` where `vehicle_id` = 816 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 45 - 2025-01-07 08:27:30 [0.13ms] */
select * from `party` where `party`.`id` = 27123 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 46 - 2025-01-07 08:27:30 [0.13ms] */
select * from `person` where `person`.`id` = 27123 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 47 - 2025-01-07 08:27:30 [2.03ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 48 - 2025-01-07 08:27:30 [0.92ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 49 - 2025-01-07 08:27:30 [0.16ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 50 - 2025-01-07 08:27:30 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 51 - 2025-01-07 08:27:30 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 52 - 2025-01-07 08:27:30 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 816 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 53 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 54 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 55 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 56 - 2025-01-07 08:27:30 [0.11ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 57 - 2025-01-07 08:27:30 [0.11ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 58 - 2025-01-07 08:27:30 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 831 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 59 - 2025-01-07 08:27:30 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 831 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 60 - 2025-01-07 08:27:30 [0.14ms] */
select * from `party` where `party`.`id` = 56065 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 61 - 2025-01-07 08:27:30 [0.14ms] */
select * from `company` where `company`.`id` = 456 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 62 - 2025-01-07 08:27:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 63 - 2025-01-07 08:27:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 64 - 2025-01-07 08:27:30 [0.12ms] */
select * from `model` where `model`.`id` = 9 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 65 - 2025-01-07 08:27:30 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 66 - 2025-01-07 08:27:30 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 67 - 2025-01-07 08:27:30 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 831 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 68 - 2025-01-07 08:27:30 [0.6ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 69 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 70 - 2025-01-07 08:27:30 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 881 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 71 - 2025-01-07 08:27:30 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 881 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 72 - 2025-01-07 08:27:30 [0.39ms] */
select * from `party` where `party`.`id` = 57890 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 73 - 2025-01-07 08:27:30 [0.14ms] */
select * from `company` where `company`.`id` = 2281 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 74 - 2025-01-07 08:27:30 [0.89ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 75 - 2025-01-07 08:27:30 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 76 - 2025-01-07 08:27:30 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 77 - 2025-01-07 08:27:30 [0.17ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 78 - 2025-01-07 08:27:30 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 79 - 2025-01-07 08:27:30 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 881 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 80 - 2025-01-07 08:27:30 [0.15ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 81 - 2025-01-07 08:27:30 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 82 - 2025-01-07 08:27:30 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 83 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 84 - 2025-01-07 08:27:30 [0.16ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 883 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 85 - 2025-01-07 08:27:30 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 883 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 86 - 2025-01-07 08:27:30 [0.16ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 87 - 2025-01-07 08:27:30 [0.17ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 88 - 2025-01-07 08:27:30 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 89 - 2025-01-07 08:27:30 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 90 - 2025-01-07 08:27:30 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 91 - 2025-01-07 08:27:30 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 92 - 2025-01-07 08:27:30 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 93 - 2025-01-07 08:27:30 [0.21ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 883 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 94 - 2025-01-07 08:27:30 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 885 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 95 - 2025-01-07 08:27:30 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 885 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 96 - 2025-01-07 08:27:30 [0.15ms] */
select * from `party` where `party`.`id` = 56081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 97 - 2025-01-07 08:27:30 [0.14ms] */
select * from `company` where `company`.`id` = 472 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 98 - 2025-01-07 08:27:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 99 - 2025-01-07 08:27:30 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 100 - 2025-01-07 08:27:30 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 101 - 2025-01-07 08:27:30 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 102 - 2025-01-07 08:27:30 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 103 - 2025-01-07 08:27:30 [0.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 885 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 104 - 2025-01-07 08:27:30 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 105 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 106 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 107 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 108 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 109 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 110 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 111 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 112 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 113 - 2025-01-07 08:27:30 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 911 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 114 - 2025-01-07 08:27:30 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 911 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 115 - 2025-01-07 08:27:30 [0.15ms] */
select * from `party` where `party`.`id` = 56087 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 116 - 2025-01-07 08:27:30 [0.14ms] */
select * from `company` where `company`.`id` = 478 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 117 - 2025-01-07 08:27:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 118 - 2025-01-07 08:27:30 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 119 - 2025-01-07 08:27:30 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 120 - 2025-01-07 08:27:30 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 121 - 2025-01-07 08:27:30 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 122 - 2025-01-07 08:27:30 [0.21ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 911 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 123 - 2025-01-07 08:27:30 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 124 - 2025-01-07 08:27:30 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 125 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 126 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 127 - 2025-01-07 08:27:30 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 938 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 128 - 2025-01-07 08:27:30 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 938 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 129 - 2025-01-07 08:27:30 [0.23ms] */
select * from `party` where `party`.`id` = 9337 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 130 - 2025-01-07 08:27:30 [0.16ms] */
select * from `person` where `person`.`id` = 9337 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 131 - 2025-01-07 08:27:30 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 132 - 2025-01-07 08:27:30 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 133 - 2025-01-07 08:27:30 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 134 - 2025-01-07 08:27:30 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 135 - 2025-01-07 08:27:30 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 136 - 2025-01-07 08:27:30 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 938 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=11
   Query 137 - 2025-01-07 08:27:30 [0.12ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 08:27:42 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 08:27:42 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 08:27:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 08:27:42 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 08:27:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 08:27:42 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 08:27:42 [7.77ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UN172' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-07 08:27:43 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 08:27:43 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 08:27:43 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 08:27:43 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 08:27:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 08:27:43 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 08:27:43 [0.74ms] */
select * from `vehicle` where `vehicle`.`id` = 846 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 08:27:43 [0.26ms] */
select * from `vehicle` where `id` = 846 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 08:27:43 [0.94ms] */
select * from `party_vehicle` where `vehicle_id` = 846 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-07 08:27:44 [1.47ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 08:27:44 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 08:27:44 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 08:27:44 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-07 08:27:44 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 08:27:44 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 08:27:44 [2.02ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 08:27:45 [1.46ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 08:27:45 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 08:27:45 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 08:27:45 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-07 08:27:45 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 08:27:45 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 08:27:45 [0.47ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 08:27:48 [1.56ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 08:27:48 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 08:27:48 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 08:27:48 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 08:27:48 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 08:27:48 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 08:27:48 [6.17ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UN171' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-07 08:27:49 [1.51ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 08:27:49 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 08:27:49 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 08:27:49 [0.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 08:27:49 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 08:27:49 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 08:27:49 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 831 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 08:27:49 [0.33ms] */
select * from `vehicle` where `id` = 831 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 08:27:49 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 831 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-07 08:27:49 [5.48ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 831 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-07 08:27:51 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 08:27:51 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 08:27:51 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 08:27:51 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-07 08:27:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 08:27:51 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 08:27:51 [0.3ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 08:27:51 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 08:27:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 08:27:51 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 08:27:51 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-07 08:27:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 08:27:51 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 08:27:51 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-07 08:27:52 [2.34ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-07 08:27:52 [0.36ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-07 08:27:52 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-07 08:27:52 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-07 08:27:52 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-07 08:27:52 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-07 08:27:52 [0.47ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-07 08:27:52 [0.25ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-07 08:27:52 [0.22ms] */
select `parent_id` from `transaction` where `id` in (100696, 100697, 100698, 100699, 100700, 100701, 100702, 100703) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-07 08:27:52 [31.1ms] */
select `id` from `transaction` where `parent_id` in (101406) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-07 08:27:52 [0.46ms] */
select * from `transaction` where `id` in (101406) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-07 08:27:52 [0.46ms] */
select * from `invoice` where `invoice`.`id` = 101106 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-07 08:27:52 [3.57ms] */
update `invoice` set `updated_by` = 5, `deleted_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 101106;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-07 08:27:52 [0.21ms] */
select * from `invoice` where `id` = 101106 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-07 08:27:52 [2.9ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 101106, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-07 08:27:52 [2.71ms] */
update `invoice` set `deleted_at` = '2025-01-07 08:27:52', `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 101106;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-07 08:27:52 [0.34ms] */
select * from `invoice` where `id` = 101106 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-07 08:27:52 [2.71ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":101406,"party_id":56065,"invoice_amount":"198.00","invoice_date":"2024-06-05 09:52:00","due_date":"2024-06-05 09:52:00","outstanding_balance":"198.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"198.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":"INV-682-101106660","invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 101106, 'Modules\Transaction\Entities\Invoice', 'deleted', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-07 08:27:52 [1.7ms] */
update `transaction` set `updated_by` = 5, `deleted_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 101406;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-07 08:27:52 [2.87ms] */
update `transaction` set `deleted_at` = '2025-01-07 08:27:52', `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 101406;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-07 08:27:52 [0.46ms] */
select * from `transaction` where `id` in (100696, 100697, 100698, 100699, 100700, 100701, 100702, 100703) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-07 08:27:52 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 100500 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-07 08:27:52 [2.87ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100500;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-07 08:27:52 [0.3ms] */
select * from `invoice` where `id` = 100500 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-07 08:27:52 [2.79ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":101106,"grouped":"Y"}}', 5, 'App\Models\User', 100500, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-01-07 08:27:52 [0.39ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-07 08:27:52 [0.45ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-07 08:27:52 [2.95ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100696;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-07 08:27:52 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 100501 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-07 08:27:52 [3.03ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100501;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-07 08:27:52 [0.3ms] */
select * from `invoice` where `id` = 100501 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-07 08:27:52 [2.89ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":101106,"grouped":"Y"}}', 5, 'App\Models\User', 100501, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-01-07 08:27:52 [0.19ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-07 08:27:52 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-07 08:27:52 [2.93ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100697;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-07 08:27:52 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 100502 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-07 08:27:52 [2.8ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100502;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-07 08:27:52 [0.39ms] */
select * from `invoice` where `id` = 100502 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-07 08:27:52 [2.84ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":101106,"grouped":"Y"}}', 5, 'App\Models\User', 100502, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-07 08:27:52 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-07 08:27:52 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-07 08:27:52 [2.85ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100698;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-07 08:27:52 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 100503 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-07 08:27:52 [2.83ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100503;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-07 08:27:52 [0.36ms] */
select * from `invoice` where `id` = 100503 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-07 08:27:52 [2.91ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":101106,"grouped":"Y"}}', 5, 'App\Models\User', 100503, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-07 08:27:52 [0.29ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-07 08:27:52 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-01-07 08:27:52 [3.03ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100699;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-07 08:27:52 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 100504 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-07 08:27:52 [2.77ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100504;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-07 08:27:52 [0.39ms] */
select * from `invoice` where `id` = 100504 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-07 08:27:52 [3.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":101106,"grouped":"Y"}}', 5, 'App\Models\User', 100504, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-07 08:27:52 [0.25ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-07 08:27:52 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-01-07 08:27:52 [3.31ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100700;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-07 08:27:52 [0.41ms] */
select * from `invoice` where `invoice`.`id` = 100505 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-07 08:27:52 [2.91ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100505;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-07 08:27:52 [0.41ms] */
select * from `invoice` where `id` = 100505 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-07 08:27:52 [2.79ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":101106,"grouped":"Y"}}', 5, 'App\Models\User', 100505, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-07 08:27:52 [0.18ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-07 08:27:52 [0.17ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-07 08:27:52 [2.81ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100701;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-07 08:27:52 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 100506 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-01-07 08:27:52 [2.72ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100506;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-07 08:27:52 [0.36ms] */
select * from `invoice` where `id` = 100506 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-07 08:27:52 [2.9ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 100506, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-07 08:27:52 [0.28ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-01-07 08:27:52 [0.27ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-01-07 08:27:52 [2.79ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100702;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-07 08:27:52 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 100507 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-01-07 08:27:52 [2.84ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100507;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-07 08:27:52 [0.3ms] */
select * from `invoice` where `id` = 100507 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-07 08:27:52 [1.41ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 100507, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:52', '2025-01-07 08:27:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-07 08:27:52 [0.19ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-07 08:27:52 [0.17ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-07 08:27:52 [2.91ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-07 08:27:52' where `id` = 100703;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-01-07 08:27:52 [3.34ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-07 08:27:52' where `id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-01-07 08:27:52 [0.42ms] */
select * from `transaction` where `id` in (101406) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-07 08:27:52 [0.38ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-01-07 08:27:52 [0.49ms] */
select * from `invoice` where `transaction_id` = 100696 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-07 08:27:52 [1.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100500 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-01-07 08:27:52 [0.89ms] */
select * from `invoice` where `transaction_id` = 100697 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-01-07 08:27:52 [0.88ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100501 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-01-07 08:27:52 [1.32ms] */
select * from `invoice` where `transaction_id` = 100698 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-01-07 08:27:52 [0.86ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100502 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2025-01-07 08:27:52 [0.9ms] */
select * from `invoice` where `transaction_id` = 100699 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-07 08:27:52 [0.91ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100503 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-01-07 08:27:52 [0.86ms] */
select * from `invoice` where `transaction_id` = 100700 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-07 08:27:52 [0.91ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100504 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2025-01-07 08:27:52 [0.88ms] */
select * from `invoice` where `transaction_id` = 100701 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-07 08:27:52 [0.64ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100505 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-07 08:27:52 [0.28ms] */
select * from `invoice` where `transaction_id` = 100702 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-07 08:27:52 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100506 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-07 08:27:52 [0.22ms] */
select * from `invoice` where `transaction_id` = 100703 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-07 08:27:52 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100507 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-07 08:27:52 [0.25ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-01-07 08:27:52 [0.22ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-07 08:27:55 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-07 08:27:55 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-07 08:27:55 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-07 08:27:55 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-07 08:27:55 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-07 08:27:55 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-07 08:27:55 [0.21ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-07 08:27:55 [0.19ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-07 08:27:55 [0.46ms] */
select `parent_id` from `transaction` where `id` in (100696, 100697, 100698, 100699, 100700, 100701, 100702, 100703) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-07 08:27:55 [0.21ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-07 08:27:55 [0.28ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-07 08:27:55 [0.42ms] */
select * from `transaction` where `id` in (100696, 100697, 100698, 100699, 100700, 100701, 100702, 100703) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-07 08:27:55 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 100500 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-07 08:27:55 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-07 08:27:55 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-07 08:27:55 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 100501 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-07 08:27:55 [0.19ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-07 08:27:55 [0.17ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-07 08:27:55 [0.29ms] */
select * from `invoice` where `invoice`.`id` = 100502 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-07 08:27:55 [0.17ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-07 08:27:55 [0.17ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-07 08:27:55 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 100503 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-07 08:27:55 [0.16ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-07 08:27:55 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-07 08:27:55 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 100504 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-01-07 08:27:55 [0.16ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-07 08:27:55 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-07 08:27:55 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 100505 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-07 08:27:55 [0.17ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-07 08:27:55 [0.17ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-07 08:27:55 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 100506 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-07 08:27:55 [0.15ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-01-07 08:27:55 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-07 08:27:55 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 100507 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-07 08:27:55 [0.15ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-07 08:27:55 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-07 08:27:55 [11.58ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-07 08:27:55 [0.8ms] */
select * from `vehicle` where `vehicle`.`id` = 831 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-07 08:27:55 [0.39ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-07 08:27:55 [0.5ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 831 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-07 08:27:55 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 831 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-07 08:27:55 [0.39ms] */
select * from `party` where `party`.`id` = 56065 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-07 08:27:55 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 831 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-07 08:27:55 [0.31ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-07 08:27:55 [0.48ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-07 08:27:55 [3.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (56065, 2, 831, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-07 08:27:55 [0.64ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105234, 'INITIATED', '2025-01-07 08:27:55', 5, 5, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-07 08:27:55 [0.21ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 49701, `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 105234;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-01-07 08:27:55 [0.35ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-07 08:27:55 [0.25ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-07 08:27:55 [0.3ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105234, 56065, '2025-01-07 08:27:55', '2025-01-07 08:27:55', 242.00, 0, 242.00, 242.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-07 08:27:55 [0.21ms] */
select * from `invoice` where `id` = 104791 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-07 08:27:55 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105234,"party_id":56065,"invoice_amount":"242.00","invoice_date":"2025-01-07 08:27:55","due_date":"2025-01-07 08:27:55","outstanding_balance":"242.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"242.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 104791, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-07 08:27:55 [0.64ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-07 08:27:55 [0.69ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 8, 242, 242, 104791, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-01-07 08:27:55 [0.33ms] */
select * from `invoice_item` where `id` = 204735 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-07 08:27:55 [0.34ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"242.00","quantity":8,"total_price":"242.00","invoice_id":104791}}', 5, 'App\Models\User', 204735, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-07 08:27:55 [0.38ms] */
update `invoice` set `invoice_number` = 'INV-370-104791541', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 104791;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-07 08:27:55 [0.36ms] */
select * from `invoice` where `id` = 104791 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-07 08:27:55 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-370-104791541"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104791, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-07 08:27:55 [0.4ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98184 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-07 08:27:55 [0.31ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98184;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-07 08:27:55 [0.29ms] */
select * from `vehicle_tax` where `id` = 98184 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-07 08:27:55 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98184, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-01-07 08:27:55 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 100696 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-07 08:27:55 [0.34ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100696;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-07 08:27:55 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 100500 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-07 08:27:55 [0.31ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100500;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-01-07 08:27:55 [0.25ms] */
select * from `invoice` where `id` = 100500 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-01-07 08:27:55 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100500, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-07 08:27:55 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 100696 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-01-07 08:27:55 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-07 08:27:55 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-07 08:27:55 [0.28ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-07 08:27:55 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-07 08:27:55 [0.31ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-07 08:27:55 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100696, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-01-07 08:27:55 [0.33ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-01-07 08:27:55 [0.37ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100696;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-07 08:27:55 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-01-07 08:27:55 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 100500 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-07 08:27:55 [0.33ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98185 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-01-07 08:27:55 [0.29ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98185;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-01-07 08:27:55 [0.28ms] */
select * from `vehicle_tax` where `id` = 98185 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-01-07 08:27:55 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98185, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-01-07 08:27:55 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 100697 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2025-01-07 08:27:55 [0.42ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100697;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-07 08:27:55 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 100501 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-01-07 08:27:55 [0.23ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100501;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-07 08:27:55 [0.23ms] */
select * from `invoice` where `id` = 100501 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2025-01-07 08:27:55 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100501, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-07 08:27:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 100697 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-07 08:27:55 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-07 08:27:55 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-07 08:27:55 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-07 08:27:55 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-07 08:27:55 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100697, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-01-07 08:27:55 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 99 - 2025-01-07 08:27:55 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100697;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2025-01-07 08:27:55 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-01-07 08:27:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 100501 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-01-07 08:27:55 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98186 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-01-07 08:27:55 [0.48ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98186;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-01-07 08:27:55 [0.22ms] */
select * from `vehicle_tax` where `id` = 98186 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 105 - 2025-01-07 08:27:55 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98186, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-01-07 08:27:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 100698 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-01-07 08:27:55 [0.21ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100698;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-01-07 08:27:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 100502 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-01-07 08:27:55 [0.17ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100502;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-01-07 08:27:55 [0.19ms] */
select * from `invoice` where `id` = 100502 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-01-07 08:27:55 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100502, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-01-07 08:27:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 100698 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 113 - 2025-01-07 08:27:55 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 114 - 2025-01-07 08:27:55 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 115 - 2025-01-07 08:27:55 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 116 - 2025-01-07 08:27:55 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 117 - 2025-01-07 08:27:55 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100698, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 118 - 2025-01-07 08:27:55 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 119 - 2025-01-07 08:27:55 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100698;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 120 - 2025-01-07 08:27:55 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 121 - 2025-01-07 08:27:55 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 100502 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 122 - 2025-01-07 08:27:55 [0.17ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98187 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 123 - 2025-01-07 08:27:55 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98187;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 124 - 2025-01-07 08:27:55 [0.16ms] */
select * from `vehicle_tax` where `id` = 98187 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 125 - 2025-01-07 08:27:55 [0.41ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98187, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 126 - 2025-01-07 08:27:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 100699 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 127 - 2025-01-07 08:27:55 [0.21ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100699;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 128 - 2025-01-07 08:27:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 100503 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 129 - 2025-01-07 08:27:55 [0.19ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100503;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 130 - 2025-01-07 08:27:55 [0.18ms] */
select * from `invoice` where `id` = 100503 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 131 - 2025-01-07 08:27:55 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100503, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 132 - 2025-01-07 08:27:55 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 100699 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 133 - 2025-01-07 08:27:55 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 134 - 2025-01-07 08:27:55 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 135 - 2025-01-07 08:27:55 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 136 - 2025-01-07 08:27:55 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 137 - 2025-01-07 08:27:55 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100699, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 138 - 2025-01-07 08:27:55 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 139 - 2025-01-07 08:27:55 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100699;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 140 - 2025-01-07 08:27:55 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 141 - 2025-01-07 08:27:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 100503 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 142 - 2025-01-07 08:27:55 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98188 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 143 - 2025-01-07 08:27:55 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98188;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 144 - 2025-01-07 08:27:55 [0.17ms] */
select * from `vehicle_tax` where `id` = 98188 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 145 - 2025-01-07 08:27:55 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98188, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 146 - 2025-01-07 08:27:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 100700 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 147 - 2025-01-07 08:27:55 [0.21ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100700;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 148 - 2025-01-07 08:27:55 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 100504 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 149 - 2025-01-07 08:27:55 [0.15ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100504;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 150 - 2025-01-07 08:27:55 [0.17ms] */
select * from `invoice` where `id` = 100504 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 151 - 2025-01-07 08:27:55 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100504, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 152 - 2025-01-07 08:27:55 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 100700 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 153 - 2025-01-07 08:27:55 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 154 - 2025-01-07 08:27:55 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 155 - 2025-01-07 08:27:55 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 156 - 2025-01-07 08:27:55 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 157 - 2025-01-07 08:27:55 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100700, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 158 - 2025-01-07 08:27:55 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 159 - 2025-01-07 08:27:55 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100700;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 160 - 2025-01-07 08:27:55 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 161 - 2025-01-07 08:27:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 100504 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 162 - 2025-01-07 08:27:55 [0.17ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98189 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 163 - 2025-01-07 08:27:55 [0.14ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98189;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 164 - 2025-01-07 08:27:55 [0.15ms] */
select * from `vehicle_tax` where `id` = 98189 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 165 - 2025-01-07 08:27:55 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98189, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 166 - 2025-01-07 08:27:55 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 100701 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 167 - 2025-01-07 08:27:55 [0.18ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100701;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 168 - 2025-01-07 08:27:55 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 100505 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 169 - 2025-01-07 08:27:55 [0.13ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100505;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 170 - 2025-01-07 08:27:55 [0.15ms] */
select * from `invoice` where `id` = 100505 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 171 - 2025-01-07 08:27:55 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100505, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 172 - 2025-01-07 08:27:55 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 100701 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 173 - 2025-01-07 08:27:55 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 174 - 2025-01-07 08:27:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 175 - 2025-01-07 08:27:55 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 176 - 2025-01-07 08:27:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 177 - 2025-01-07 08:27:55 [0.15ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100701, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 178 - 2025-01-07 08:27:55 [0.18ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 179 - 2025-01-07 08:27:55 [0.16ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100701;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 180 - 2025-01-07 08:27:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 181 - 2025-01-07 08:27:55 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 100505 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 182 - 2025-01-07 08:27:55 [0.15ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98190 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 183 - 2025-01-07 08:27:55 [0.12ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98190;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 184 - 2025-01-07 08:27:55 [0.14ms] */
select * from `vehicle_tax` where `id` = 98190 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 185 - 2025-01-07 08:27:55 [0.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98190, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 186 - 2025-01-07 08:27:55 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 100702 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 187 - 2025-01-07 08:27:55 [0.16ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100702;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 188 - 2025-01-07 08:27:55 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 100506 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 189 - 2025-01-07 08:27:55 [0.14ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100506;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 190 - 2025-01-07 08:27:55 [0.15ms] */
select * from `invoice` where `id` = 100506 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 191 - 2025-01-07 08:27:55 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100506, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 192 - 2025-01-07 08:27:55 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 100702 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 193 - 2025-01-07 08:27:55 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 194 - 2025-01-07 08:27:55 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 195 - 2025-01-07 08:27:55 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 196 - 2025-01-07 08:27:55 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 197 - 2025-01-07 08:27:55 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100702, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 198 - 2025-01-07 08:27:55 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 199 - 2025-01-07 08:27:55 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100702;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 200 - 2025-01-07 08:27:55 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 201 - 2025-01-07 08:27:55 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 100506 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 202 - 2025-01-07 08:27:55 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98191 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 203 - 2025-01-07 08:27:55 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-07 08:27:55' where `id` = 98191;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 204 - 2025-01-07 08:27:55 [0.2ms] */
select * from `vehicle_tax` where `id` = 98191 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 205 - 2025-01-07 08:27:55 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 98191, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 206 - 2025-01-07 08:27:55 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 100703 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 207 - 2025-01-07 08:27:55 [0.27ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105234, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100703;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 208 - 2025-01-07 08:27:55 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 100507 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 209 - 2025-01-07 08:27:55 [0.2ms] */
update `invoice` set `parent_id` = 104791, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100507;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 210 - 2025-01-07 08:27:55 [0.21ms] */
select * from `invoice` where `id` = 100507 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 211 - 2025-01-07 08:27:55 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104791,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 100507, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 212 - 2025-01-07 08:27:55 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 100703 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 213 - 2025-01-07 08:27:55 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 214 - 2025-01-07 08:27:55 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 215 - 2025-01-07 08:27:55 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 216 - 2025-01-07 08:27:55 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 217 - 2025-01-07 08:27:55 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (100703, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 218 - 2025-01-07 08:27:55 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 219 - 2025-01-07 08:27:55 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 100703;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 220 - 2025-01-07 08:27:55 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 221 - 2025-01-07 08:27:55 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 100507 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 222 - 2025-01-07 08:27:55 [0.23ms] */
update `transaction` set `invoice_id` = 104791, `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 105234;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 223 - 2025-01-07 08:27:55 [0.6ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-01-07 08:27:55' where `id` = 831;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 224 - 2025-01-07 08:27:55 [0.25ms] */
select * from `vehicle` where `id` = 831 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 225 - 2025-01-07 08:27:55 [0.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 831, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 226 - 2025-01-07 08:27:55 [0.32ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":123}', '{"updated_by":5}', 'updated', 831, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '157.51.164.165', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 227 - 2025-01-07 08:27:55 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 105234 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 228 - 2025-01-07 08:27:55 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 229 - 2025-01-07 08:27:55 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 230 - 2025-01-07 08:27:55 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 231 - 2025-01-07 08:27:55 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105234, 'APPROVED', '2025-01-07 08:27:55', 5, 5, null, 5, 5, '2025-01-07 08:27:55', '2025-01-07 08:27:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 232 - 2025-01-07 08:27:55 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 233 - 2025-01-07 08:27:55 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-07 08:27:55' where `id` = 105234;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 234 - 2025-01-07 08:27:55 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 235 - 2025-01-07 08:27:55 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 104791 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 236 - 2025-01-07 08:27:55 [0.48ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98184, 98185, 98186, 98187, 98188, 98189, 98190, 98191) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 237 - 2025-01-07 08:27:55 [0.5ms] */
select * from `invoice` where `transaction_id` = 100696 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 238 - 2025-01-07 08:27:55 [0.48ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100500 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 239 - 2025-01-07 08:27:55 [0.45ms] */
select * from `invoice` where `transaction_id` = 100697 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 240 - 2025-01-07 08:27:55 [0.5ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100501 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 241 - 2025-01-07 08:27:55 [0.52ms] */
select * from `invoice` where `transaction_id` = 100698 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 242 - 2025-01-07 08:27:55 [0.59ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100502 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 243 - 2025-01-07 08:27:55 [0.51ms] */
select * from `invoice` where `transaction_id` = 100699 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 244 - 2025-01-07 08:27:55 [0.51ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100503 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 245 - 2025-01-07 08:27:55 [0.5ms] */
select * from `invoice` where `transaction_id` = 100700 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 246 - 2025-01-07 08:27:55 [0.5ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100504 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 247 - 2025-01-07 08:27:55 [0.5ms] */
select * from `invoice` where `transaction_id` = 100701 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 248 - 2025-01-07 08:27:55 [0.52ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100505 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 249 - 2025-01-07 08:27:55 [0.48ms] */
select * from `invoice` where `transaction_id` = 100702 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 250 - 2025-01-07 08:27:55 [0.46ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100506 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 251 - 2025-01-07 08:27:55 [0.45ms] */
select * from `invoice` where `transaction_id` = 100703 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 252 - 2025-01-07 08:27:55 [0.45ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100507 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 253 - 2025-01-07 08:27:55 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 254 - 2025-01-07 08:27:55 [0.16ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 08:27:56 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 08:27:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 08:27:56 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 08:27:56 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-07 08:27:56 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '8b43c5a183e9fb3097719c0742e24883ff686b4293635fe426d10e0f3348efa46dbf39824207a7b2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 08:27:56 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 08:27:56 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 1 - 2025-01-07 08:28:00 [2.42ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 2 - 2025-01-07 08:28:00 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 3 - 2025-01-07 08:28:00 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 4 - 2025-01-07 08:28:00 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 5 - 2025-01-07 08:28:00 [0.28ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 6 - 2025-01-07 08:28:00 [0.27ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 08:28:00 [158ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 8 - 2025-01-07 08:28:00 [248.59ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 9 - 2025-01-07 08:28:00 [0.43ms] */
select * from `model` where `model`.`id` in (4, 9, 16, 2503) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 10 - 2025-01-07 08:28:00 [0.28ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 2, 10, 30, 34, 36, 46) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 11 - 2025-01-07 08:28:00 [0.3ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 10, 13, 14, 16, 18) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 12 - 2025-01-07 08:28:00 [0.29ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 13 - 2025-01-07 08:28:00 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 4, 5, 11) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 14 - 2025-01-07 08:28:00 [0.37ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (446, 556, 831, 89963, 89964, 89965, 89970, 89976, 89978, 89980) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 15 - 2025-01-07 08:28:00 [3.09ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 16 - 2025-01-07 08:28:00 [0.17ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 17 - 2025-01-07 08:28:00 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 18 - 2025-01-07 08:28:00 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 19 - 2025-01-07 08:28:00 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 20 - 2025-01-07 08:28:00 [0.4ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 831 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 21 - 2025-01-07 08:28:00 [0.15ms] */
select * from `party` where `party`.`id` = 56065 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 22 - 2025-01-07 08:28:00 [0.15ms] */
select * from `company` where `company`.`id` = 456 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 23 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 24 - 2025-01-07 08:28:00 [0.15ms] */
select * from `party` where `party`.`id` = 56065 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 25 - 2025-01-07 08:28:00 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 26 - 2025-01-07 08:28:00 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 27 - 2025-01-07 08:28:00 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 28 - 2025-01-07 08:28:00 [0.28ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 556 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 29 - 2025-01-07 08:28:00 [0.25ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 30 - 2025-01-07 08:28:00 [0.26ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 31 - 2025-01-07 08:28:00 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 32 - 2025-01-07 08:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 33 - 2025-01-07 08:28:00 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 34 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 35 - 2025-01-07 08:28:00 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 36 - 2025-01-07 08:28:00 [0.28ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 446 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 37 - 2025-01-07 08:28:00 [0.25ms] */
select * from `party` where `party`.`id` = 56363 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 38 - 2025-01-07 08:28:00 [0.28ms] */
select * from `company` where `company`.`id` = 754 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 39 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 40 - 2025-01-07 08:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 56363 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 41 - 2025-01-07 08:28:00 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 42 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 43 - 2025-01-07 08:28:00 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89964 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 44 - 2025-01-07 08:28:00 [0.25ms] */
select * from `party` where `party`.`id` = 5656 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 45 - 2025-01-07 08:28:00 [0.31ms] */
select * from `person` where `person`.`id` = 5656 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 46 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 47 - 2025-01-07 08:28:00 [0.16ms] */
select * from `party` where `party`.`id` = 5656 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 48 - 2025-01-07 08:28:00 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 49 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 50 - 2025-01-07 08:28:00 [0.18ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 51 - 2025-01-07 08:28:00 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89970 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 52 - 2025-01-07 08:28:00 [0.22ms] */
select * from `party` where `party`.`id` = 24456 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 53 - 2025-01-07 08:28:00 [0.25ms] */
select * from `person` where `person`.`id` = 24456 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 54 - 2025-01-07 08:28:00 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 55 - 2025-01-07 08:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 24456 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 56 - 2025-01-07 08:28:00 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 57 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 58 - 2025-01-07 08:28:00 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89976 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 59 - 2025-01-07 08:28:00 [0.22ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 60 - 2025-01-07 08:28:00 [0.24ms] */
select * from `person` where `person`.`id` = 49236 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 61 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 62 - 2025-01-07 08:28:00 [0.15ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 63 - 2025-01-07 08:28:00 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 64 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 65 - 2025-01-07 08:28:00 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89963 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 66 - 2025-01-07 08:28:00 [0.22ms] */
select * from `party` where `party`.`id` = 39798 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 67 - 2025-01-07 08:28:00 [0.25ms] */
select * from `person` where `person`.`id` = 39798 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 68 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 69 - 2025-01-07 08:28:00 [0.15ms] */
select * from `party` where `party`.`id` = 39798 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 70 - 2025-01-07 08:28:00 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 71 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 72 - 2025-01-07 08:28:00 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89978 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 73 - 2025-01-07 08:28:00 [0.23ms] */
select * from `party` where `party`.`id` = 45621 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 74 - 2025-01-07 08:28:00 [0.26ms] */
select * from `person` where `person`.`id` = 45621 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 75 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 76 - 2025-01-07 08:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 45621 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 77 - 2025-01-07 08:28:00 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 78 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 79 - 2025-01-07 08:28:00 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89980 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 80 - 2025-01-07 08:28:00 [0.21ms] */
select * from `party` where `party`.`id` = 7505 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 81 - 2025-01-07 08:28:00 [0.23ms] */
select * from `person` where `person`.`id` = 7505 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 82 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 83 - 2025-01-07 08:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 7505 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 84 - 2025-01-07 08:28:00 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 85 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 86 - 2025-01-07 08:28:00 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89965 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 87 - 2025-01-07 08:28:00 [0.23ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 88 - 2025-01-07 08:28:00 [0.25ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 89 - 2025-01-07 08:28:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 90 - 2025-01-07 08:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-01-07 08:28:03 [1.26ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-01-07 08:28:03 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-01-07 08:28:03 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-01-07 08:28:03 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-01-07 08:28:03 [0.38ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-01-07 08:28:03 [0.36ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 08:28:03 [120.24ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%UN147%' or `vin` like '%UN147%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 08:28:03 [143.88ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%UN147%' or `vin` like '%UN147%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-01-07 08:28:03 [0.29ms] */
select * from `model` where `model`.`id` in (16) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-01-07 08:28:03 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (46) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-01-07 08:28:03 [0.18ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (13) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-01-07 08:28:03 [0.19ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-01-07 08:28:03 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` in (11) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-01-07 08:28:03 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (556) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-01-07 08:28:03 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-01-07 08:28:03 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-01-07 08:28:03 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-01-07 08:28:03 [0.14ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 1 - 2025-01-07 08:28:07 [1.34ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 2 - 2025-01-07 08:28:07 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 3 - 2025-01-07 08:28:07 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 4 - 2025-01-07 08:28:07 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 5 - 2025-01-07 08:28:07 [0.32ms] */
select * from `vehicle` where `id` = 556 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 6 - 2025-01-07 08:28:07 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 556 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 7 - 2025-01-07 08:28:07 [0.16ms] */
select * from `vehicle` where `id` = 556 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 8 - 2025-01-07 08:28:07 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 556 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 9 - 2025-01-07 08:28:07 [1.22ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 10 - 2025-01-07 08:28:07 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 11 - 2025-01-07 08:28:08 [0.31ms] */
select * from `model` where `model`.`id` = 16 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 12 - 2025-01-07 08:28:08 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 13 - 2025-01-07 08:28:08 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 14 - 2025-01-07 08:28:08 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 556 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 15 - 2025-01-07 08:28:08 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 16 - 2025-01-07 08:28:08 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 46 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 17 - 2025-01-07 08:28:08 [0.23ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 13 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 18 - 2025-01-07 08:28:08 [0.21ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 19 - 2025-01-07 08:28:08 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 556 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 20 - 2025-01-07 08:28:08 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 21 - 2025-01-07 08:28:08 [0.14ms] */
select * from `model` where `model`.`id` = 16 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 22 - 2025-01-07 08:28:08 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 23 - 2025-01-07 08:28:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 24 - 2025-01-07 08:28:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 25 - 2025-01-07 08:28:08 [0.15ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 26 - 2025-01-07 08:28:08 [0.14ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 27 - 2025-01-07 08:28:08 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 78662 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 28 - 2025-01-07 08:28:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 29 - 2025-01-07 08:28:08 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 30 - 2025-01-07 08:28:08 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 31 - 2025-01-07 08:28:08 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 32 - 2025-01-07 08:28:08 [0.83ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 556 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 33 - 2025-01-07 08:28:08 [0.16ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 34 - 2025-01-07 08:28:08 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 35 - 2025-01-07 08:28:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 36 - 2025-01-07 08:28:08 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78662 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 37 - 2025-01-07 08:28:08 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 38 - 2025-01-07 08:28:08 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102005 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 39 - 2025-01-07 08:28:08 [0.14ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 40 - 2025-01-07 08:28:08 [0.14ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 41 - 2025-01-07 08:28:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 42 - 2025-01-07 08:28:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 43 - 2025-01-07 08:28:08 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 44 - 2025-01-07 08:28:08 [0.18ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 45 - 2025-01-07 08:28:08 [0.14ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 46 - 2025-01-07 08:28:08 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 47 - 2025-01-07 08:28:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 48 - 2025-01-07 08:28:08 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78662 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 49 - 2025-01-07 08:28:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 50 - 2025-01-07 08:28:08 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102006 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 51 - 2025-01-07 08:28:08 [0.14ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 52 - 2025-01-07 08:28:08 [0.14ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 53 - 2025-01-07 08:28:08 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 54 - 2025-01-07 08:28:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 55 - 2025-01-07 08:28:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 56 - 2025-01-07 08:28:08 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 57 - 2025-01-07 08:28:08 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 58 - 2025-01-07 08:28:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 59 - 2025-01-07 08:28:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 60 - 2025-01-07 08:28:08 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78662 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 61 - 2025-01-07 08:28:08 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 62 - 2025-01-07 08:28:08 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102007 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 63 - 2025-01-07 08:28:08 [0.21ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 64 - 2025-01-07 08:28:08 [0.41ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 65 - 2025-01-07 08:28:08 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 66 - 2025-01-07 08:28:08 [0.26ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 67 - 2025-01-07 08:28:08 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 68 - 2025-01-07 08:28:08 [0.25ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 69 - 2025-01-07 08:28:08 [0.27ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 70 - 2025-01-07 08:28:08 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 71 - 2025-01-07 08:28:08 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 72 - 2025-01-07 08:28:08 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78662 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 73 - 2025-01-07 08:28:08 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 74 - 2025-01-07 08:28:08 [0.53ms] */
select * from `transaction` where `transaction`.`id` = 102008 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 75 - 2025-01-07 08:28:08 [0.28ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 76 - 2025-01-07 08:28:08 [0.26ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 77 - 2025-01-07 08:28:08 [0.26ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 78 - 2025-01-07 08:28:08 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 79 - 2025-01-07 08:28:08 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 80 - 2025-01-07 08:28:08 [0.25ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 81 - 2025-01-07 08:28:08 [0.14ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 82 - 2025-01-07 08:28:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 83 - 2025-01-07 08:28:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 84 - 2025-01-07 08:28:08 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78662 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 85 - 2025-01-07 08:28:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 86 - 2025-01-07 08:28:08 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102009 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 87 - 2025-01-07 08:28:08 [0.36ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/556
   Query 88 - 2025-01-07 08:28:08 [0.28ms] */
