select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:28 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:28 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:28 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:28 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:28 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:28 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-04-02 09:21:28 [1.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-04-02 09:21:28 [0.15ms] */
select * from `model` where `model`.`id` = 196 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-04-02 09:21:28 [0.14ms] */
select * from `make` where `make`.`id` = 10 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-04-02 09:21:28 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-04-02 09:21:28 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99510 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-04-02 09:21:28 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 8 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-04-02 09:21:28 [0.34ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 14 - 2025-04-02 09:21:28 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 1 - 2025-04-02 09:21:29 [1.31ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 2 - 2025-04-02 09:21:29 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 3 - 2025-04-02 09:21:29 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 4 - 2025-04-02 09:21:29 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 5 - 2025-04-02 09:21:29 [0.97ms] */
select * from `transaction` where `transaction`.`id` = 574345 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 6 - 2025-04-02 09:21:29 [1.16ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 7 - 2025-04-02 09:21:29 [1.35ms] */
select * from `invoice` where `transaction_id` = 574345 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 8 - 2025-04-02 09:21:29 [1.72ms] */
select * from `invoice_payment` where `invoice_id` = 550012;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 9 - 2025-04-02 09:21:29 [1.78ms] */
select * from `payment_documents` where `transaction_id` = 574345;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 10 - 2025-04-02 09:21:29 [0.86ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574345 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 11 - 2025-04-02 09:21:29 [6.32ms] */
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/w/wkflw/574345
   Query 12 - 2025-04-02 09:21:29 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 13 - 2025-04-02 09:21:29 [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/w/wkflw/574345
   Query 14 - 2025-04-02 09:21:29 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 15 - 2025-04-02 09:21:29 [9.64ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 16 - 2025-04-02 09:21:29 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 574345 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:31 [1.78ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:31 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:31 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:31 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:31 [0.33ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:31 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-04-02 09:21:31 [0.19ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-04-02 09:21:31 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-04-02 09:21:31 [0.14ms] */
select * from `tax_collection_points` where `region_id` = 7 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-04-02 09:21:31 [0.13ms] */
select * from `district` where `region_id` = 7 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-04-02 09:21:31 [0.14ms] */
select * from `branches` where `district_id` = 37 order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 17 - 2025-04-02 09:21:31 [1787.25ms] */
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 `transaction`.`parent_id` = 574345 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 18 - 2025-04-02 09:21:32 [1375.83ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 574345 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 19 - 2025-04-02 09:21:32 [2.08ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 20 - 2025-04-02 09:21:32 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 548882 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 21 - 2025-04-02 09:21:32 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 524550 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 22 - 2025-04-02 09:21:32 [0.33ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 23 - 2025-04-02 09:21:32 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 548884 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 24 - 2025-04-02 09:21:32 [1.23ms] */
select * from `invoice` where `invoice`.`id` = 524552 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 25 - 2025-04-02 09:21:32 [0.38ms] */
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/w/wkflw/574345
   Query 26 - 2025-04-02 09:21:32 [0.38ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 27 - 2025-04-02 09:21:32 [1.56ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 28 - 2025-04-02 09:21:33 [545.05ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 29 - 2025-04-02 09:21:33 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 30 - 2025-04-02 09:21:33 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 31 - 2025-04-02 09:21:33 [0.22ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 32 - 2025-04-02 09:21:33 [0.22ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 33 - 2025-04-02 09:21:33 [0.28ms] */
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/w/wkflw/574345
   Query 34 - 2025-04-02 09:21:33 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89112 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 35 - 2025-04-02 09:21:33 [0.23ms] */
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/w/wkflw/574345
   Query 36 - 2025-04-02 09:21:33 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 37 - 2025-04-02 09:21:33 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 38 - 2025-04-02 09:21:33 [0.32ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 39 - 2025-04-02 09:21:33 [0.57ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 40 - 2025-04-02 09:21:33 [0.43ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 41 - 2025-04-02 09:21:33 [0.5ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 42 - 2025-04-02 09:21:33 [0.44ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 43 - 2025-04-02 09:21:33 [0.41ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 44 - 2025-04-02 09:21:33 [0.32ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55716 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 45 - 2025-04-02 09:21:33 [1.22ms] */
select * from `address` where `address`.`id` = 58104 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 46 - 2025-04-02 09:21:33 [0.61ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 47 - 2025-04-02 09:21:33 [0.37ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 48 - 2025-04-02 09:21:33 [1.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 49 - 2025-04-02 09:21:33 [0.19ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 50 - 2025-04-02 09:21:33 [0.18ms] */
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/w/wkflw/574345
   Query 51 - 2025-04-02 09:21:33 [0.23ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 52 - 2025-04-02 09:21:33 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 53 - 2025-04-02 09:21:33 [0.16ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 54 - 2025-04-02 09:21:33 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 55 - 2025-04-02 09:21:33 [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/w/wkflw/574345
   Query 56 - 2025-04-02 09:21:33 [0.33ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 57 - 2025-04-02 09:21:33 [0.18ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 58 - 2025-04-02 09:21:33 [0.43ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 59 - 2025-04-02 09:21:33 [0.26ms] */
select * from `users` where `users`.`id` = 155 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 60 - 2025-04-02 09:21:33 [0.2ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 61 - 2025-04-02 09:21:33 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 62 - 2025-04-02 09:21:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 63 - 2025-04-02 09:21:33 [0.13ms] */
select * from `users` where `users`.`id` = 155 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 64 - 2025-04-02 09:21:33 [0.38ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 65 - 2025-04-02 09:21:33 [0.63ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 66 - 2025-04-02 09:21:33 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 67 - 2025-04-02 09:21:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 68 - 2025-04-02 09:21:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 69 - 2025-04-02 09:21:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 70 - 2025-04-02 09:21:33 [0.66ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 71 - 2025-04-02 09:21:33 [0.56ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 72 - 2025-04-02 09:21:33 [0.28ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 73 - 2025-04-02 09:21:33 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:38 [1.48ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:38 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:38 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:38 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:38 [0.31ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:38 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 1 - 2025-04-02 09:21:39 [1.53ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 2 - 2025-04-02 09:21:39 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 3 - 2025-04-02 09:21:39 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 4 - 2025-04-02 09:21:39 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 5 - 2025-04-02 09:21:39 [5.87ms] */
select * from `transaction` where `transaction`.`id` = 574345 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 6 - 2025-04-02 09:21:39 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 574345 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-04-02 09:21:39 [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 `transaction`.`parent_id` = 574345 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-04-02 09:21:39 [0.16ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 574345 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 9 - 2025-04-02 09:21:39 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 10 - 2025-04-02 09:21:39 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 548882 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 11 - 2025-04-02 09:21:39 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 524550 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 12 - 2025-04-02 09:21:39 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 13 - 2025-04-02 09:21:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 548884 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 14 - 2025-04-02 09:21:39 [0.13ms] */
select * from `invoice` where `invoice`.`id` = 524552 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 15 - 2025-04-02 09:21:39 [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/livewire/message/widgets.tax-workflow-widget
   Query 16 - 2025-04-02 09:21:39 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 1 - 2025-04-02 09:21:39 [1.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 2 - 2025-04-02 09:21:39 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 3 - 2025-04-02 09:21:39 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 4 - 2025-04-02 09:21:39 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 1 - 2025-04-02 09:21:43 [1.33ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 2 - 2025-04-02 09:21:43 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 3 - 2025-04-02 09:21:43 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 4 - 2025-04-02 09:21:43 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 1 - 2025-04-02 09:21:48 [1.61ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 2 - 2025-04-02 09:21:49 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 3 - 2025-04-02 09:21:49 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 4 - 2025-04-02 09:21:49 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 5 - 2025-04-02 09:21:49 [1.52ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 6 - 2025-04-02 09:21:49 [1.61ms] */
select * from `invoice` where `id` = 550012 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 7 - 2025-04-02 09:21:49 [1.47ms] */
select * from `transaction` where `transaction`.`id` in (574345) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 8 - 2025-04-02 09:21:49 [0.56ms] */
select * from `vehicle` where `vehicle`.`id` in (89112) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 9 - 2025-04-02 09:21:49 [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): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 10 - 2025-04-02 09:21:49 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 11 - 2025-04-02 09:21:49 [0.62ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 12 - 2025-04-02 09:21:49 [8.35ms] */
select * from `party` where `party`.`id` in (58104) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 13 - 2025-04-02 09:21:49 [0.43ms] */
select * from `address` where `address`.`id` in (58104) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 14 - 2025-04-02 09:21:49 [1.23ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574345 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 15 - 2025-04-02 09:21:49 [1.01ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574345 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 16 - 2025-04-02 09:21:49 [0.42ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 17 - 2025-04-02 09:21:49 [0.24ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 18 - 2025-04-02 09:21:49 [0.21ms] */
select * from `address` where `address`.`id` = 58104 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 19 - 2025-04-02 09:21:49 [0.46ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550012 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 20 - 2025-04-02 09:21:49 [2.64ms] */
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` = 550012 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 21 - 2025-04-02 09:21:49 [0.19ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 550012 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 22 - 2025-04-02 09:21:49 [0.19ms] */
select * from `Payment` where `Payment`.`id` = 177793 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 23 - 2025-04-02 09:21:49 [0.17ms] */
select * from `payment_method` where `payment_method`.`id` = 1 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 24 - 2025-04-02 09:21:49 [0.29ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550012
   Query 25 - 2025-04-02 09:21:49 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:54 [1.65ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:54 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:54 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:54 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:54 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:54 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:54 [1.4ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:54 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:54 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:54 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:54 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:54 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:54 [1.4ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:54 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:54 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:54 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:54 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:54 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:21:57 [1.88ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:21:57 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:21:57 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:21:57 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:21:57 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:21:57 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-04-02 09:21:57 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-04-02 09:21:57 [0.15ms] */
select * from `model` where `model`.`id` = 196 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-04-02 09:21:57 [0.14ms] */
select * from `make` where `make`.`id` = 10 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-04-02 09:21:57 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-04-02 09:21:57 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99510 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-04-02 09:21:57 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 8 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-04-02 09:21:57 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 14 - 2025-04-02 09:21:57 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 15 - 2025-04-02 09:21:57 [0.16ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 16 - 2025-04-02 09:21:57 [0.17ms] */
select * from `person` where `person`.`id` = 52184 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 17 - 2025-04-02 09:21:57 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 52184 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 18 - 2025-04-02 09:21:57 [0.15ms] */
select * from `address` where `address`.`id` = 52184 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 19 - 2025-04-02 09:21:57 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 20 - 2025-04-02 09:21:57 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 21 - 2025-04-02 09:21:57 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 22 - 2025-04-02 09:21:57 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 23 - 2025-04-02 09:21:57 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 24 - 2025-04-02 09:21:57 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 1 - 2025-04-02 09:21:58 [1.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 2 - 2025-04-02 09:21:58 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 3 - 2025-04-02 09:21:58 [0.51ms] */
select `region`.`name` from `district` inner join `region` on `region`.`id` = `district`.`region_id` where `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 4 - 2025-04-02 09:21:58 [0.23ms] */
select `name` from `classification_type` where `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 5 - 2025-04-02 09:21:58 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 6 - 2025-04-02 09:21:58 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 7 - 2025-04-02 09:21:58 [0.32ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 8 - 2025-04-02 09:21:58 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 1 - 2025-04-02 09:22:02 [7.11ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 2 - 2025-04-02 09:22:02 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 1 - 2025-04-02 09:22:12 [1.57ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 2 - 2025-04-02 09:22:12 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 1 - 2025-04-02 09:23:01 [1.47ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 2 - 2025-04-02 09:23:01 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 1 - 2025-04-02 09:23:12 [1.53ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 2 - 2025-04-02 09:23:12 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 1 - 2025-04-02 09:23:18 [1.45ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 2 - 2025-04-02 09:23:18 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:23:21 [1.53ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:23:21 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:23:21 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:23:21 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:23:21 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:23:21 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-04-02 09:23:21 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-04-02 09:23:21 [2.82ms] */
select * from `service_fee` where (`sub_category_id` = 6 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-04-02 09:23:21 [1.28ms] */
select * from `service_workflow` where `service_id` = 1 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-02 09:23:21 [2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-02 09:23:21 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-02 09:23:21 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-02 09:23:21 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-02 09:23:21 [1.63ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-02 09:23:21 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 1 - 2025-04-02 09:23:25 [1.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/FieldAppTaxCollectionReport
   Query 2 - 2025-04-02 09:23:25 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-02 09:23:29 [1.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-02 09:23:29 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-02 09:23:29 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-02 09:23:29 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-02 09:23:29 [0.36ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-04-02 09:23:29 [1.53ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-04-02 09:23:29 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-04-02 09:23:29 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-04-02 09:23:29 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-04-02 09:23:29 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-04-02 09:23:29 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-04-02 09:23:29 [0.32ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-04-02 09:23:29 [1.12ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-04-02 09:23:29 [1.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-04-02 09:23:29 [0.78ms] */
select * from `service_workflow` where ((`service_id` = 1)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-04-02 09:23:29 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-04-02 09:23:29 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-04-02 09:23:29 [3.76ms] */
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 (52184, 1, 99510, null, 1, 2, null, 37, 37, 'INPROGRESS', null, null, 5, 5, '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 14 - 2025-04-02 09:23:29 [1.82ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574346, 'INITIATED', '2025-04-02 09:23:29', 5, 5, 5, 5, '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 15 - 2025-04-02 09:23:29 [1.88ms] */
insert into `party_vehicle` (`party_id`, `vehicle_id`, `is_owner`, `classification_id`, `security_interest`, `transaction_id`, `title_number`, `registration_date`, `tax_payment_frequency`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (52184, 99510, 'Y', 2, 'N', 574346, 'G1A-574346-392', '2025-04-02 09:23:29', null, 'INPROGRESS', 5, 5, '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 16 - 2025-04-02 09:23:29 [0.21ms] */
select * from `party_vehicle` where `id` = 99871 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 17 - 2025-04-02 09:23:29 [0.89ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"party_id":52184,"tax_payment_frequency":null,"vehicle_id":99510,"is_owner":"Y","transaction_id":574346,"ownership_status":null,"classification_id":2,"security_interest":"N","title_number":"G1A-574346-392","issued_date":null,"registration_date":"2025-04-02","status":"INPROGRESS","sold_date":null,"provisional":"N"}}', 5, 'App\Models\User', 99871, 'Modules\Vehicle\Entities\PartyVehicle', 'created', '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 18 - 2025-04-02 09:23:29 [0.33ms] */
insert into `party_vehicle_purchase` (`buyer_party_id`, `vehicle_id`, `purchase_date`, `purchase_price`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (52184, 99510, '2025-04-02 09:23:29', 8878, 574346, 5, 5, '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 19 - 2025-04-02 09:23:29 [0.17ms] */
select * from `party_vehicle_purchase` where `id` = 99854 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 20 - 2025-04-02 09:23:29 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle_purchase', '{"attributes":{"buyer_party_id":52184,"vehicle_id":99510,"seller_party_id":null,"purchase_date":"2025-04-02 09:23:29","sale_date":null,"purchase_price":"8878.00","sale_price":null,"transaction_id":574346}}', 5, 'App\Models\User', 99854, 'Modules\Vehicle\Entities\PartyVehiclePurchase', 'created', '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 21 - 2025-04-02 09:23:29 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 22 - 2025-04-02 09:23:29 [0.86ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 23 - 2025-04-02 09:23:29 [0.18ms] */
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/service.title-registration-component
   Query 24 - 2025-04-02 09:23:29 [0.6ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 6 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 25 - 2025-04-02 09:23:29 [0.19ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 26 - 2025-04-02 09:23:29 [0.36ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574346, '2025-04-02 09:23:29', '2025-05-02 09:23:29', 'OPEN', 52184, 5, 5, '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 27 - 2025-04-02 09:23:29 [0.18ms] */
select * from `invoice` where `id` = 550013 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 28 - 2025-04-02 09:23:29 [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":{"transaction_id":574346,"party_id":52184,"invoice_amount":"0.00","invoice_date":"2025-04-02 09:23:29","due_date":"2025-05-02 09:23:29","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.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', 550013, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 29 - 2025-04-02 09:23:29 [0.29ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Private', 'Service Fee for Title Registration for Private', 1, 10.00, 10.00, 550013, 5, 5, '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 30 - 2025-04-02 09:23:29 [0.16ms] */
select * from `invoice_item` where `id` = 999240 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 31 - 2025-04-02 09:23:29 [0.24ms] */
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":"Service Fee for Private","description":"Service Fee for Title Registration for Private","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":550013}}', 5, 'App\Models\User', 999240, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 32 - 2025-04-02 09:23:29 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 33 - 2025-04-02 09:23:29 [0.3ms] */
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` = 550013 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 34 - 2025-04-02 09:23:29 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550013 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 35 - 2025-04-02 09:23:29 [0.23ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2025-04-02 09:23:29' where `id` = 550013;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 36 - 2025-04-02 09:23:29 [0.18ms] */
select * from `invoice` where `id` = 550013 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 37 - 2025-04-02 09:23:29 [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":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 550013, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 38 - 2025-04-02 09:23:29 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-817-550013506', `invoice`.`updated_at` = '2025-04-02 09:23:29' where `id` = 550013;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 39 - 2025-04-02 09:23:29 [0.18ms] */
select * from `invoice` where `id` = 550013 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 40 - 2025-04-02 09:23:29 [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":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-817-550013506","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 550013, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:23:29', '2025-04-02 09:23:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 41 - 2025-04-02 09:23:29 [0.19ms] */
update `transaction` set `party_vehicle_id` = 99871, `invoice_id` = 550013, `transaction`.`updated_at` = '2025-04-02 09:23:29' where `id` = 574346;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 42 - 2025-04-02 09:23:29 [0.25ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.title-registration-component
   Query 43 - 2025-04-02 09:23:29 [0.21ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 1 - 2025-04-02 09:23:29 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 2 - 2025-04-02 09:23:29 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 3 - 2025-04-02 09:23:29 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 4 - 2025-04-02 09:23:29 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 5 - 2025-04-02 09:23:30 [10.33ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 5 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 6 - 2025-04-02 09:23:30 [11.29ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 5 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 7 - 2025-04-02 09:23:30 [0.21ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 8 - 2025-04-02 09:23:30 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 9 - 2025-04-02 09:23:30 [0.35ms] */
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/mytrn
   Query 10 - 2025-04-02 09:23:30 [0.21ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 11 - 2025-04-02 09:23:30 [0.13ms] */
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/mytrn
   Query 12 - 2025-04-02 09:23:30 [0.31ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 13 - 2025-04-02 09:23:30 [0.16ms] */
select * from `person` where `person`.`id` = 52184 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 14 - 2025-04-02 09:23:30 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 15 - 2025-04-02 09:23:30 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 16 - 2025-04-02 09:23:30 [0.19ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 17 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 18 - 2025-04-02 09:23:30 [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/mytrn
   Query 19 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 20 - 2025-04-02 09:23:30 [0.14ms] */
select * from `party` where `party`.`id` = 57721 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 21 - 2025-04-02 09:23:30 [0.14ms] */
select * from `company` where `company`.`id` = 2008 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 22 - 2025-04-02 09:23:30 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 84960 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 23 - 2025-04-02 09:23:30 [0.22ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 24 - 2025-04-02 09:23:30 [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/mytrn
   Query 25 - 2025-04-02 09:23:30 [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/mytrn
   Query 26 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 27 - 2025-04-02 09:23:30 [0.28ms] */
select * from `party` where `party`.`id` = 33790 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 28 - 2025-04-02 09:23:30 [0.31ms] */
select * from `person` where `person`.`id` = 33790 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 29 - 2025-04-02 09:23:30 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 85485 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 30 - 2025-04-02 09:23:30 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 31 - 2025-04-02 09:23:30 [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/mytrn
   Query 32 - 2025-04-02 09:23:30 [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/mytrn
   Query 33 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 34 - 2025-04-02 09:23:30 [0.23ms] */
select * from `party` where `party`.`id` = 47331 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 35 - 2025-04-02 09:23:30 [0.25ms] */
select * from `person` where `person`.`id` = 47331 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 36 - 2025-04-02 09:23:30 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 75561 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 37 - 2025-04-02 09:23:30 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 38 - 2025-04-02 09:23:30 [0.2ms] */
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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 39 - 2025-04-02 09:23:30 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 40 - 2025-04-02 09:23:30 [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/mytrn
   Query 41 - 2025-04-02 09:23:30 [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/mytrn
   Query 42 - 2025-04-02 09:23:30 [0.12ms] */
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/mytrn
   Query 43 - 2025-04-02 09:23:30 [0.85ms] */
select * from `party` where `party`.`id` = 42935 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 44 - 2025-04-02 09:23:30 [0.25ms] */
select * from `person` where `person`.`id` = 42935 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 45 - 2025-04-02 09:23:30 [0.65ms] */
select * from `vehicle` where `vehicle`.`id` = 83009 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 46 - 2025-04-02 09:23:30 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 47 - 2025-04-02 09:23:30 [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/mytrn
   Query 48 - 2025-04-02 09:23:30 [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/mytrn
   Query 49 - 2025-04-02 09:23:30 [0.12ms] */
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/mytrn
   Query 50 - 2025-04-02 09:23:30 [0.13ms] */
select * from `party` where `party`.`id` = 42935 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 51 - 2025-04-02 09:23:30 [0.14ms] */
select * from `person` where `person`.`id` = 42935 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 52 - 2025-04-02 09:23:30 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 83009 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 53 - 2025-04-02 09:23:30 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 54 - 2025-04-02 09:23:30 [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/mytrn
   Query 55 - 2025-04-02 09:23:30 [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/mytrn
   Query 56 - 2025-04-02 09:23:30 [0.12ms] */
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/mytrn
   Query 57 - 2025-04-02 09:23:30 [0.15ms] */
select * from `party` where `party`.`id` = 42935 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 58 - 2025-04-02 09:23:30 [0.14ms] */
select * from `person` where `person`.`id` = 42935 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 59 - 2025-04-02 09:23:30 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 83009 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 60 - 2025-04-02 09:23:30 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 61 - 2025-04-02 09:23:30 [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/mytrn
   Query 62 - 2025-04-02 09:23:30 [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/mytrn
   Query 63 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 64 - 2025-04-02 09:23:30 [0.13ms] */
select * from `party` where `party`.`id` = 49825 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 65 - 2025-04-02 09:23:30 [0.14ms] */
select * from `person` where `person`.`id` = 49825 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 66 - 2025-04-02 09:23:30 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 76658 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 67 - 2025-04-02 09:23:30 [0.18ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 68 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 69 - 2025-04-02 09:23:30 [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/mytrn
   Query 70 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 71 - 2025-04-02 09:23:30 [0.14ms] */
select * from `party` where `party`.`id` = 57721 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 72 - 2025-04-02 09:23:30 [0.14ms] */
select * from `company` where `company`.`id` = 2008 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 73 - 2025-04-02 09:23:30 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 83524 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 74 - 2025-04-02 09:23:30 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 75 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 76 - 2025-04-02 09:23:30 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 77 - 2025-04-02 09:23:30 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 78 - 2025-04-02 09:23:30 [0.83ms] */
select * from `party` where `party`.`id` = 44341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 79 - 2025-04-02 09:23:30 [0.48ms] */
select * from `person` where `person`.`id` = 44341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 80 - 2025-04-02 09:23:30 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 80203 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 81 - 2025-04-02 09:23:30 [0.24ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 82 - 2025-04-02 09:23:30 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 83 - 2025-04-02 09:23:30 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-02 09:23:34 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-02 09:23:34 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-02 09:23:34 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-02 09:23:34 [0.16ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-02 09:23:34 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-02 09:23:34 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-02 09:23:34 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-02 09:23:34 [0.39ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439027) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-02 09:23:34 [0.23ms] */
select `parent_id` from `transaction` where `id` in (548886) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-02 09:23:34 [0.15ms] */
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-04-02 09:23:34 [0.22ms] */
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-04-02 09:23:34 [0.23ms] */
select * from `transaction` where `id` in (548886) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-02 09:23:34 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 524553 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-04-02 09:23:34 [15.67ms] */
update `invoice` set `updated_by` = 155, `invoice`.`updated_at` = '2025-04-02 09:23:34' where `id` = 524553;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-02 09:23:34 [0.46ms] */
select * from `invoice` where `id` = 524553 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-02 09:23:34 [6.46ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 155, 'App\Models\User', 524553, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-02 09:23:34 [0.22ms] */
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-04-02 09:23:34 [0.22ms] */
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-04-02 09:23:34 [3.13ms] */
update `transaction` set `updated_by` = 155, `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-02 09:23:34 [5.32ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-04-02 09:23:34' where `id` in (439027) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-04-02 09:23:34 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-04-02 09:23:34 [0.22ms] */
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 23 - 2025-04-02 09:23:34 [0.43ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89112 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-04-02 09:23:34 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 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 25 - 2025-04-02 09:23:34 [0.23ms] */
select * from `party` where `party`.`id` = 58104 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 26 - 2025-04-02 09:23:34 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 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 27 - 2025-04-02 09:23:34 [0.21ms] */
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 28 - 2025-04-02 09:23:34 [0.14ms] */
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 29 - 2025-04-02 09:23:34 [0.14ms] */
select * from `branches` where `branches`.`id` = 15 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-04-02 09:23:34 [0.51ms] */
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 (58104, 2, 89112, null, 2, 6, 15, 37, 37, 'OPEN', 38, null, 155, 155, '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-04-02 09:23:34 [0.57ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574347, 'INITIATED', '2025-04-02 09:23:34', 5, 155, 155, 155, '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-04-02 09:23:34 [0.19ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 88387, `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 574347;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-04-02 09:23:34 [0.23ms] */
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 (439027) 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 34 - 2025-04-02 09:23:34 [0.22ms] */
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 (439027) 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 35 - 2025-04-02 09:23:34 [0.23ms] */
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 (574347, 58104, '2025-04-02 09:23:34', '2025-04-02 09:23:34', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 155, 155, '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-04-02 09:23:34 [0.19ms] */
select * from `invoice` where `id` = 550014 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-02 09:23:34 [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":{"transaction_id":574347,"party_id":58104,"invoice_amount":"31.00","invoice_date":"2025-04-02 09:23:34","due_date":"2025-04-02 09:23:34","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 155, 'App\Models\User', 550014, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-04-02 09:23:34 [0.24ms] */
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 (439027) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-02 09:23:34 [0.17ms] */
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 Quarterly Tax Fees', 1, 31.00, 31, 550014, 155, 155, '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-04-02 09:23:34 [0.18ms] */
select * from `invoice_item` where `id` = 999241 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-04-02 09:23:34 [0.18ms] */
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 Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":550014}}', 155, 'App\Models\User', 999241, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-04-02 09:23:34 [0.47ms] */
update `invoice` set `invoice_number` = 'INV-757-550014261', `invoice`.`updated_at` = '2025-04-02 09:23:34' where `id` = 550014;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-04-02 09:23:34 [0.18ms] */
select * from `invoice` where `id` = 550014 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-04-02 09:23:34 [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":{"invoice_number":"INV-757-550014261"},"old":{"invoice_number":null}}', 155, 'App\Models\User', 550014, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-02 09:23:34 [0.25ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 439027 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-02 09:23:34 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 155, `vehicle_tax`.`updated_at` = '2025-04-02 09:23:34' where `id` = 439027;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-02 09:23:34 [0.18ms] */
select * from `vehicle_tax` where `id` = 439027 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-04-02 09:23:34 [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"}}', 155, 'App\Models\User', 439027, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-04-02 09:23:34 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 548886 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 50 - 2025-04-02 09:23:34 [0.9ms] */
update `transaction` set `tax_collection_point_id` = 38, `parent_id` = 574347, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-02 09:23:34 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 524553 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 52 - 2025-04-02 09:23:34 [0.64ms] */
update `invoice` set `parent_id` = 550014, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-02 09:23:34' where `id` = 524553;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-02 09:23:34 [0.19ms] */
select * from `invoice` where `id` = 524553 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-02 09:23:34 [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":{"parent_id":550014,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 155, 'App\Models\User', 524553, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-02 09:23:34 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-04-02 09:23:34 [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 57 - 2025-04-02 09:23:34 [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 58 - 2025-04-02 09:23:34 [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 59 - 2025-04-02 09:23:34 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-04-02 09:23:34 [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 61 - 2025-04-02 09:23:34 [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 (548886, 'APPROVED', '2025-04-02 09:23:34', 5, 155, null, 155, 155, '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-02 09:23:34 [0.21ms] */
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 63 - 2025-04-02 09:23:34 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-04-02 09:23:34 [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 65 - 2025-04-02 09:23:34 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 524553 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 66 - 2025-04-02 09:23:34 [0.18ms] */
update `transaction` set `invoice_id` = 550014, `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 574347;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-04-02 09:23:34 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-04-02 09:23:34 [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 69 - 2025-04-02 09:23:34 [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 70 - 2025-04-02 09:23:34 [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 71 - 2025-04-02 09:23:34 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574347, 'APPROVED', '2025-04-02 09:23:34', 5, 155, null, 155, 155, '2025-04-02 09:23:34', '2025-04-02 09:23:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-04-02 09:23:34 [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 73 - 2025-04-02 09:23:34 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 574347;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-04-02 09:23:34 [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 75 - 2025-04-02 09:23:34 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 550014 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 76 - 2025-04-02 09:23:34 [0.18ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439027) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-04-02 09:23:34 [0.6ms] */
select * from `invoice` where `transaction_id` = 548886 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-04-02 09:23:34 [0.69ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 524553 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 79 - 2025-04-02 09:23:34 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-04-02 09:23:34 [3.44ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-02 09:23:34' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-02 09:23:34 [0.21ms] */
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 82 - 2025-04-02 09:23:34 [0.21ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-04-02 09:23:34 [0.2ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-04-02 09:23:34 [0.23ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 1 - 2025-04-02 09:23:34 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 2 - 2025-04-02 09:23:34 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 3 - 2025-04-02 09:23:34 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 4 - 2025-04-02 09:23:34 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 5 - 2025-04-02 09:23:34 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 6 - 2025-04-02 09:23:34 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 7 - 2025-04-02 09:23:34 [0.33ms] */
select * from `transaction` where `id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 8 - 2025-04-02 09:23:34 [1.78ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 548886 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 9 - 2025-04-02 09:23:34 [0.6ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 548886 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 10 - 2025-04-02 09:23:34 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 524553 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 11 - 2025-04-02 09:23:34 [0.44ms] */
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` = 524553 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-02 09:23:35 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-02 09:23:35 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-02 09:23:35 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-02 09:23:35 [0.16ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-02 09:23:35 [0.12ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-02 09:23:35 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-02 09:23:35 [0.16ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-02 09:23:39 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-02 09:23:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-02 09:23:39 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-02 09:23:39 [0.16ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-02 09:23:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-02 09:23:39 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-02 09:23:39 [2.53ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-02 09:23:39 [2.59ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-04-02 09:23:42 [2.34ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-04-02 09:23:42 [0.36ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-04-02 09:23:42 [1.04ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-04-02 09:23:42 [6.09ms] */
update `userprofiles` set `last_ip` = '49.47.216.30', `login_count` = 121, `last_login` = '2025-04-02 09:23:42', `userprofiles`.`updated_at` = '2025-04-02 09:23:42' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-04-02 09:23:42 [0.4ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-04-02 09:23:42 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-04-02 09:23:42 [0.76ms] */
select `id`, `name`, `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` in (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-04-02 09:23:42 [0.17ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-04-02 09:23:42 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-04-02 09:23:42 [0.23ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-04-02 09:23:42 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-04-02 09:23:42 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-04-02 09:23:42 [4.88ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('5a6b7859134bd2098b1a155d6068ddb3b5ebf4dbe3908b5e2863b3490048d6420f50553641613f38', 5, 5, '[]', 0, '2025-04-02 09:23:42', '2025-04-02 09:23:42', '2026-04-02 09:23:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-04-02 09:23:42 [0.48ms] */
select * from `oauth_access_tokens` where `id` = '5a6b7859134bd2098b1a155d6068ddb3b5ebf4dbe3908b5e2863b3490048d6420f50553641613f38' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-04-02 09:23:42 [3.13ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '5a6b7859134bd2098b1a155d6068ddb3b5ebf4dbe3908b5e2863b3490048d6420f50553641613f38';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-02 09:23:50 [2.36ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-02 09:23:50 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-02 09:23:50 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-02 09:23:50 [0.19ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-02 09:23:50 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-02 09:23:50 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-02 09:23:50 [0.83ms] */
delete from `payment_documents` where `transaction_id` = 548886 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-02 09:23:50 [0.8ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2310202;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-02 09:23:50 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-02 09:23:52 [1430.26ms] */
select * from `transaction` where `parent_id` = 574347 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-02 09:23:52 [9.69ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (548886, 'GOV_RECEIPT_IMAGE', 2310202, 1, '2025-04-02 09:23:52', '2025-04-02 09:23:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-02 09:23:52 [3.86ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574347, 'GOV_RECEIPT_IMAGE', 2310202, 1, '2025-04-02 09:23:52', '2025-04-02 09:23:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-02 09:23:52 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-04-02 09:23:52 [3.68ms] */
update `transaction` set `paid_by` = 'john', `paid_by_mobile` = 96859, `transaction`.`updated_at` = '2025-04-02 09:23:52' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-04-02 09:23:52 [8.23ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-02 09:23:52' where `receipt_number` = 2310202 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-02 09:23:53 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-02 09:23:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-02 09:23:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-02 09:23:53 [0.17ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-02 09:23:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-02 09:23:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-02 09:23:53 [10.6ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-02 09:23:53 [1.52ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-02 09:23:55 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-02 09:23:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-02 09:23:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-02 09:23:55 [0.17ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-02 09:23:55 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-02 09:23:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-02 09:23:55 [4.14ms] */
delete from `payment_documents` where `transaction_id` = 548886 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-02 09:23:55 [0.86ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 2310302;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-02 09:23:55 [0.44ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-02 09:23:57 [2623.08ms] */
select * from `transaction` where `parent_id` = 574347 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-02 09:23:57 [11.87ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (548886, 'SERVICE_RECEIPT_IMAGE', 2310302, 1, '2025-04-02 09:23:57', '2025-04-02 09:23:57');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-02 09:23:57 [3.47ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574347, 'SERVICE_RECEIPT_IMAGE', 2310302, 1, '2025-04-02 09:23:57', '2025-04-02 09:23:57');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-02 09:23:58 [18.36ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-02 09:23:57' where `receipt_number` = 2310302 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-04-02 09:23:58 [4.94ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-04-02 09:23:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-04-02 09:23:58 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-04-02 09:23:58 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-04-02 09:23:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-04-02 09:23:58 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-04-02 09:23:58 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-04-02 09:23:58 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-04-02 09:23:58 [0.29ms] */
select * from `invoice_payment` where `invoice_id` = 550014 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-04-02 09:23:59 [1255.31ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574347 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-04-02 09:24:00 [1227.16ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574347 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-04-02 09:24:00 [0.66ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-04-02 09:24:00 [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/confirm_payment
   Query 14 - 2025-04-02 09:24:00 [0.14ms] */
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 15 - 2025-04-02 09:24:00 [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 16 - 2025-04-02 09:24:02 [1380.94ms] */
select sum(`invoice`.`invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 574347 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-04-02 09:24:02 [0.29ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-04-02 09:24:02 [0.52ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-04-02 09:24:02', 'Ref', 2310202, 1, 31.00, 'john', 96859, null, 37, 155, 155, 155, '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-04-02 09:24:02 [0.24ms] */
select * from `Payment` where `id` = 177794 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-04-02 09:24:02 [7.5ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"31.00","payment_date":"2025-04-02 09:24:02","external_payment_reference_no":"Ref","payment_receipt_number":"2310202","siinpay_payref_number":null,"paid_by":"john","paid_by_mobile":"96859","district_id":37,"migration_id":null,"payment_collected_by":155}}', 155, 'App\Models\User', 177794, 'Modules\Transaction\Entities\Payment', 'created', '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-04-02 09:24:02 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-04-02 09:24:02 [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 23 - 2025-04-02 09:24:02 [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 24 - 2025-04-02 09:24:02 [0.58ms] */
select * from `invoice` where `invoice`.`id` = 524553 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-04-02 09:24:02 [3.03ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-02 09:24:02', 524553, 177794, '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-04-02 09:24:02 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 524553 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-04-02 09:24:02 [0.31ms] */
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` = 524553 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-04-02 09:24:02 [0.8ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 524553 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 29 - 2025-04-02 09:24:02 [0.39ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-02 09:24:02' where `id` = 524553;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-04-02 09:24:02 [0.3ms] */
select * from `invoice` where `id` = 524553 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-04-02 09:24:02 [0.33ms] */
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":"31.00","status":"OPEN"}}', 155, 'App\Models\User', 524553, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-04-02 09:24:02 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-04-02 09:24:02 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-04-02 09:24:02 [0.21ms] */
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 35 - 2025-04-02 09:24:02 [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 36 - 2025-04-02 09:24:02 [0.16ms] */
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 37 - 2025-04-02 09:24:02 [0.74ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (548886, 'PAID', '2025-04-02 09:24:02', 7, 155, null, 155, 155, '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-04-02 09:24:02 [0.14ms] */
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 39 - 2025-04-02 09:24:02 [0.76ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-02 09:24:02' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-04-02 09:24:02 [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/confirm_payment
   Query 41 - 2025-04-02 09:24:02 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 524553 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 42 - 2025-04-02 09:24:02 [0.26ms] */
select * from `vehicle_tax` where `transaction_id` = 548886 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-04-02 09:24:02 [0.24ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-04-02 09:24:02' where `id` = 439027;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-04-02 09:24:02 [0.17ms] */
select * from `vehicle_tax` where `id` = 439027 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-04-02 09:24:02 [0.2ms] */
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"}}', 155, 'App\Models\User', 439027, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-04-02 09:24:02 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 550014 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 47 - 2025-04-02 09:24:02 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 550014 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-04-02 09:24:02 [0.16ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-02 09:24:02', 550014, 177794, '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-04-02 09:24:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 550014 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-04-02 09:24:02 [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` = 550014 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-04-02 09:24:02 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-02 09:24:02' where `id` = 550014;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-04-02 09:24:02 [0.18ms] */
select * from `invoice` where `id` = 550014 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-04-02 09:24:02 [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":"31.00","status":"OPEN"}}', 155, 'App\Models\User', 550014, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-04-02 09:24:02 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-04-02 09:24:02 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-04-02 09:24:02 [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 57 - 2025-04-02 09:24:02 [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 58 - 2025-04-02 09:24:02 [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 59 - 2025-04-02 09:24:02 [0.58ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574347, 'PAID', '2025-04-02 09:24:02', 7, 155, null, 155, 155, '2025-04-02 09:24:02', '2025-04-02 09:24:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-04-02 09:24:02 [0.23ms] */
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 61 - 2025-04-02 09:24:02 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-02 09:24:02' where `id` = 574347;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-04-02 09:24:02 [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 63 - 2025-04-02 09:24:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 550014 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 1 - 2025-04-02 09:24:07 [1.63ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-02 09:24:07 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-02 09:24:07 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-02 09:24:07 [0.17ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-02 09:24:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-02 09:24:07 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-02 09:24:07 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 2 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-02 09:24:07 [0.36ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439027) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-02 09:24:07 [3.68ms] */
select `parent_id` from `transaction` where `id` in (548886) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-02 09:24:09 [2331.82ms] */
select `id` from `transaction` where `parent_id` in (574347) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-02 09:24:09 [1.29ms] */
select * from `transaction` where `id` in (574347) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-02 09:24:09 [0.78ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439027) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-02 09:24:09 [5.99ms] */
select * from `invoice` where `transaction_id` = 548886 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-02 09:24:09 [4.94ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 524553 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 15 - 2025-04-02 09:24:09 [1.76ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-02 09:24:09 [7.55ms] */
update `transaction` set `payment_provider_id` = 2, `transaction`.`updated_at` = '2025-04-02 09:24:09' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-02 09:24:09 [0.23ms] */
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 18 - 2025-04-02 09:24:09 [0.3ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 2 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-02 09:24:09 [0.44ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-02 09:24:09 [0.56ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 4 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 1 - 2025-04-02 09:24:10 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 2 - 2025-04-02 09:24:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 3 - 2025-04-02 09:24:10 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 4 - 2025-04-02 09:24:10 [0.17ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 5 - 2025-04-02 09:24:10 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 6 - 2025-04-02 09:24:10 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 7 - 2025-04-02 09:24:10 [4.53ms] */
select * from `transaction` where `id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 8 - 2025-04-02 09:24:10 [2.53ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 548886 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 9 - 2025-04-02 09:24:10 [1.07ms] */
select * from `invoice` where `invoice`.`id` = 524553 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 10 - 2025-04-02 09:24:10 [6.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` = 524553 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 11 - 2025-04-02 09:24:10 [3.77ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 548886 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-02 09:24:13 [2.93ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-02 09:24:13 [0.12ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-02 09:24:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-04-02 09:24:13 [0.45ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-02 09:24:13 [0.4ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-02 09:24:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-04-02 09:24:13 [2.25ms] */
select * from `vehicle_tax` where `id` = 439027 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-02 09:24:13 [1.09ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 105 and `name` like '%2025-Q3%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-04-02 09:24:16 [17.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-04-02 09:24:16 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-04-02 09:24:16 [0.41ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-04-02 09:24:16 [1.03ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-04-02 09:24:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-04-02 09:24:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-04-02 09:24:16 [5.92ms] */
select * from `vehicle_tax` where `id` in (439027) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-04-02 09:24:16 [0.65ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-04-02 09:24:16 [1.43ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-04-02 09:24:16 [0.49ms] */
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/complete_transaction
   Query 11 - 2025-04-02 09:24:16 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-04-02 09:24:16 [1.73ms] */
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): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-04-02 09:24:16 [16.61ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (548886, 'APPROVED', '2025-04-02 09:24:16', 8, 155, null, 155, 155, '2025-04-02 09:24:16', '2025-04-02 09:24:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-04-02 09:24:16 [0.65ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-04-02 09:24:16 [0.93ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-02 09:24:16' where `id` = 548886;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-04-02 09:24:16 [1.06ms] */
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/complete_transaction
   Query 17 - 2025-04-02 09:24:16 [1.16ms] */
select * from `vehicle_tax` where `transaction_id` = 548886 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-04-02 09:24:16 [0.79ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-04-02 09:24:16' where `id` = 439027;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-04-02 09:24:16 [0.3ms] */
select * from `vehicle_tax` where `id` = 439027 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-04-02 09:24:16 [0.43ms] */
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":"ISSUED"},"old":{"status":"PAID"}}', 155, 'App\Models\User', 439027, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-02 09:24:16', '2025-04-02 09:24:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-04-02 09:24:16 [4.92ms] */
select * from `invoice` where `invoice`.`id` = 524553 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-04-02 09:24:16 [0.33ms] */
select * from `transaction` where `id` = 548886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-04-02 09:24:16 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 574347 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-04-02 09:24:16 [1.62ms] */
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/complete_transaction
   Query 25 - 2025-04-02 09:24:16 [2.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-04-02 09:24:16 [0.45ms] */
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): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-04-02 09:24:16 [0.76ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574347, 'APPROVED', '2025-04-02 09:24:16', 8, 155, null, 155, 155, '2025-04-02 09:24:16', '2025-04-02 09:24:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-04-02 09:24:16 [0.4ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-04-02 09:24:16 [0.32ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-02 09:24:16' where `id` = 574347;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-04-02 09:24:16 [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/complete_transaction
   Query 31 - 2025-04-02 09:24:16 [2.36ms] */
select * from `vehicle_tax` where `transaction_id` = 574347 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-04-02 09:24:16 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 550014 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-04-02 09:24:16 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-04-02 09:24:16 [0.74ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-04-02 09:24:16 [0.18ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-04-02 09:24:16 [0.16ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-04-02 09:24:16 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-04-02 09:24:16 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 524553 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-04-02 09:24:16 [0.87ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 524553 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-04-02 09:24:16 [2.96ms] */
select * from `Payment` where `Payment`.`id` = 177794 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-04-02 09:24:16 [0.48ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-02 09:24:24 [3.8ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-02 09:24:24 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-02 09:24:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-02 09:24:24 [0.57ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-02 09:24:24 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-02 09:24:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-02 09:24:24 [1.17ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_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_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` = 'KN522' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-02 09:24:24 [0.17ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-02 09:24:24 [0.16ms] */
select * from `vehicle` where `id` = 89112 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-02 09:24:24 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-02 09:24:25 [1.49ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-02 09:24:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-02 09:24:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-02 09:24:25 [0.16ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-02 09:24:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-02 09:24:25 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-02 09:24:25 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-02 09:24:25 [0.14ms] */
select * from `vehicle` where `id` = 89112 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-02 09:24:25 [0.52ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 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-04-02 09:24:25 [3.3ms] */
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` = 89112 and `vehicle_tax`.`exempt` = 'N' 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-04-02 09:24:25 [1.57ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-02 09:24:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-02 09:24:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-02 09:24:25 [0.29ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-02 09:24:25 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-02 09:24:25 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-02 09:24:25 [0.22ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-02 09:24:26 [1.77ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-02 09:24:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-02 09:24:26 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-02 09:24:26 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-02 09:24:26 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-02 09:24:26 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-02 09:24:26 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-02 09:24:27 [1.82ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-02 09:24:27 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-02 09:24:27 [1.85ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-02 09:24:27 [0.2ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-02 09:24:27 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-02 09:24:27 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-02 09:24:27 [3.68ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-02 09:24:27 [0.78ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439028) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-02 09:24:27 [1.32ms] */
select `parent_id` from `transaction` where `id` in (548887) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-02 09:24:27 [0.16ms] */
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-04-02 09:24:27 [0.26ms] */
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-04-02 09:24:27 [0.31ms] */
select * from `transaction` where `id` in (548887) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-02 09:24:27 [0.72ms] */
select * from `invoice` where `invoice`.`id` = 524556 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-04-02 09:24:27 [3.91ms] */
update `invoice` set `updated_by` = 155, `invoice`.`updated_at` = '2025-04-02 09:24:27' where `id` = 524556;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-02 09:24:27 [0.49ms] */
select * from `invoice` where `id` = 524556 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-02 09:24:27 [5.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 155, 'App\Models\User', 524556, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-02 09:24:27 [0.22ms] */
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-04-02 09:24:27 [0.62ms] */
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-04-02 09:24:27 [2.84ms] */
update `transaction` set `updated_by` = 155, `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-02 09:24:27 [2.83ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-04-02 09:24:27' where `id` in (439028) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-04-02 09:24:27 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-04-02 09:24:27 [0.15ms] */
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 23 - 2025-04-02 09:24:27 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89112 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-04-02 09:24:27 [0.13ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 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 25 - 2025-04-02 09:24:27 [0.14ms] */
select * from `party` where `party`.`id` = 58104 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 26 - 2025-04-02 09:24:27 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 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 27 - 2025-04-02 09:24:27 [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 28 - 2025-04-02 09:24:27 [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 29 - 2025-04-02 09:24:27 [0.15ms] */
select * from `branches` where `branches`.`id` = 15 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-04-02 09:24:27 [15.16ms] */
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 (58104, 2, 89112, null, 2, 6, 15, 37, 37, 'OPEN', 38, null, 155, 155, '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-04-02 09:24:27 [15.42ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574348, 'INITIATED', '2025-04-02 09:24:27', 5, 155, 155, 155, '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-04-02 09:24:27 [0.59ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 88387, `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 574348;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-04-02 09:24:27 [0.4ms] */
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 (439028) 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 34 - 2025-04-02 09:24:27 [0.53ms] */
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 (439028) 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 35 - 2025-04-02 09:24:27 [2.36ms] */
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 (574348, 58104, '2025-04-02 09:24:27', '2025-04-02 09:24:27', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 155, 155, '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-04-02 09:24:27 [1.07ms] */
select * from `invoice` where `id` = 550015 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-02 09:24:27 [1.59ms] */
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":574348,"party_id":58104,"invoice_amount":"31.00","invoice_date":"2025-04-02 09:24:27","due_date":"2025-04-02 09:24:27","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 155, 'App\Models\User', 550015, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-04-02 09:24:27 [0.58ms] */
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 (439028) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-02 09:24:27 [0.87ms] */
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 Quarterly Tax Fees', 1, 31.00, 31, 550015, 155, 155, '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-04-02 09:24:27 [0.17ms] */
select * from `invoice_item` where `id` = 999242 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-04-02 09:24:27 [0.5ms] */
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 Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":550015}}', 155, 'App\Models\User', 999242, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-04-02 09:24:27 [1.73ms] */
update `invoice` set `invoice_number` = 'INV-419-550015301', `invoice`.`updated_at` = '2025-04-02 09:24:27' where `id` = 550015;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-04-02 09:24:27 [0.48ms] */
select * from `invoice` where `id` = 550015 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-04-02 09:24:27 [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":{"invoice_number":"INV-419-550015301"},"old":{"invoice_number":null}}', 155, 'App\Models\User', 550015, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-02 09:24:27 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 439028 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-02 09:24:27 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 155, `vehicle_tax`.`updated_at` = '2025-04-02 09:24:27' where `id` = 439028;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-02 09:24:27 [0.16ms] */
select * from `vehicle_tax` where `id` = 439028 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-04-02 09:24:27 [2.57ms] */
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"}}', 155, 'App\Models\User', 439028, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-04-02 09:24:27 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 548887 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 50 - 2025-04-02 09:24:27 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 38, `parent_id` = 574348, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-02 09:24:27 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 524556 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 52 - 2025-04-02 09:24:27 [0.26ms] */
update `invoice` set `parent_id` = 550015, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-02 09:24:27' where `id` = 524556;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-02 09:24:27 [0.18ms] */
select * from `invoice` where `id` = 524556 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-02 09:24:27 [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":550015,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 155, 'App\Models\User', 524556, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-02 09:24:27 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-04-02 09:24:27 [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 57 - 2025-04-02 09:24:27 [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 58 - 2025-04-02 09:24:27 [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 59 - 2025-04-02 09:24:27 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-04-02 09:24:27 [0.81ms] */
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 61 - 2025-04-02 09:24:27 [0.93ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (548887, 'APPROVED', '2025-04-02 09:24:27', 5, 155, null, 155, 155, '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-02 09:24:27 [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 63 - 2025-04-02 09:24:27 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-04-02 09:24:27 [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/make_payment
   Query 65 - 2025-04-02 09:24:27 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 524556 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 66 - 2025-04-02 09:24:27 [0.22ms] */
update `transaction` set `invoice_id` = 550015, `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 574348;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-04-02 09:24:27 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-04-02 09:24:27 [0.23ms] */
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 69 - 2025-04-02 09:24:27 [0.22ms] */
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 70 - 2025-04-02 09:24:27 [0.23ms] */
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 71 - 2025-04-02 09:24:27 [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 (574348, 'APPROVED', '2025-04-02 09:24:27', 5, 155, null, 155, 155, '2025-04-02 09:24:27', '2025-04-02 09:24:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-04-02 09:24:27 [0.3ms] */
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 73 - 2025-04-02 09:24:27 [4.34ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 574348;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-04-02 09:24:27 [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 75 - 2025-04-02 09:24:27 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550015 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 76 - 2025-04-02 09:24:27 [0.31ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439028) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-04-02 09:24:27 [4.08ms] */
select * from `invoice` where `transaction_id` = 548887 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-04-02 09:24:27 [5.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 524556 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 79 - 2025-04-02 09:24:27 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-04-02 09:24:27 [5.23ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-02 09:24:27' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-02 09:24:27 [0.46ms] */
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 82 - 2025-04-02 09:24:27 [0.7ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-04-02 09:24:27 [0.21ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-04-02 09:24:27 [0.21ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 1 - 2025-04-02 09:24:28 [7.37ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 2 - 2025-04-02 09:24:28 [5.58ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 3 - 2025-04-02 09:24:28 [2.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 4 - 2025-04-02 09:24:28 [0.2ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 5 - 2025-04-02 09:24:28 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 6 - 2025-04-02 09:24:28 [3.87ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 7 - 2025-04-02 09:24:28 [3.69ms] */
select * from `transaction` where `id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 8 - 2025-04-02 09:24:28 [0.68ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 548887 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 9 - 2025-04-02 09:24:28 [0.55ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 548887 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 10 - 2025-04-02 09:24:28 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 524556 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 11 - 2025-04-02 09:24:28 [0.3ms] */
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` = 524556 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-02 09:24:28 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-02 09:24:28 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-02 09:24:28 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-02 09:24:28 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-02 09:24:28 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-02 09:24:28 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-02 09:24:28 [1.11ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-02 09:24:31 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-02 09:24:31 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-02 09:24:31 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-02 09:24:31 [0.19ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-02 09:24:31 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-02 09:24:31 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-02 09:24:31 [5.37ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-02 09:24:31 [1.73ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-02 09:24:41 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-02 09:24:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-02 09:24:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-02 09:24:41 [0.16ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-02 09:24:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-02 09:24:41 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-02 09:24:41 [1.48ms] */
delete from `payment_documents` where `transaction_id` = 548887 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-02 09:24:41 [0.82ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2310203;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-02 09:24:41 [7.41ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-02 09:24:43 [1548.78ms] */
select * from `transaction` where `parent_id` = 574348 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-02 09:24:43 [6.38ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (548887, 'GOV_RECEIPT_IMAGE', 2310203, 1, '2025-04-02 09:24:43', '2025-04-02 09:24:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-02 09:24:43 [2.86ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574348, 'GOV_RECEIPT_IMAGE', 2310203, 1, '2025-04-02 09:24:43', '2025-04-02 09:24:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-02 09:24:43 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-04-02 09:24:43 [3.04ms] */
update `transaction` set `paid_by` = 'john', `paid_by_mobile` = 6985, `transaction`.`updated_at` = '2025-04-02 09:24:43' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-04-02 09:24:43 [13.01ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-02 09:24:43' where `receipt_number` = 2310203 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-02 09:24:44 [1.45ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-02 09:24:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-02 09:24:44 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-02 09:24:44 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-02 09:24:44 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-02 09:24:44 [0.11ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-02 09:24:44 [9.81ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-02 09:24:44 [1.81ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-02 09:24:45 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-02 09:24:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-02 09:24:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-02 09:24:45 [0.16ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-02 09:24:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-02 09:24:45 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-02 09:24:45 [1.48ms] */
delete from `payment_documents` where `transaction_id` = 548887 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-02 09:24:45 [0.78ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 2310303;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-02 09:24:45 [0.68ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-02 09:24:46 [849.72ms] */
select * from `transaction` where `parent_id` = 574348 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-02 09:24:46 [6.45ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (548887, 'SERVICE_RECEIPT_IMAGE', 2310303, 1, '2025-04-02 09:24:46', '2025-04-02 09:24:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-02 09:24:46 [3.17ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574348, 'SERVICE_RECEIPT_IMAGE', 2310303, 1, '2025-04-02 09:24:46', '2025-04-02 09:24:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-02 09:24:46 [13.68ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-02 09:24:46' where `receipt_number` = 2310303 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-04-02 09:24:46 [1.7ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-04-02 09:24:46 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-04-02 09:24:46 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-04-02 09:24:46 [0.26ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-04-02 09:24:46 [0.33ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-04-02 09:24:46 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-04-02 09:24:46 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-04-02 09:24:46 [0.57ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-04-02 09:24:46 [0.49ms] */
select * from `invoice_payment` where `invoice_id` = 550015 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-04-02 09:24:46 [176.94ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574348 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-04-02 09:24:46 [192.96ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574348 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-04-02 09:24:46 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-04-02 09:24:46 [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/confirm_payment
   Query 14 - 2025-04-02 09:24:46 [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/confirm_payment
   Query 15 - 2025-04-02 09:24:46 [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/confirm_payment
   Query 16 - 2025-04-02 09:24:47 [158.13ms] */
select sum(`invoice`.`invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 574348 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-04-02 09:24:47 [0.3ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-04-02 09:24:47 [0.52ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-04-02 09:24:47', 'ref', 2310203, 1, 31.00, 'john', 6985, null, 37, 155, 155, 155, '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-04-02 09:24:47 [0.28ms] */
select * from `Payment` where `id` = 177795 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-04-02 09:24:47 [7.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"31.00","payment_date":"2025-04-02 09:24:47","external_payment_reference_no":"ref","payment_receipt_number":"2310203","siinpay_payref_number":null,"paid_by":"john","paid_by_mobile":"6985","district_id":37,"migration_id":null,"payment_collected_by":155}}', 155, 'App\Models\User', 177795, 'Modules\Transaction\Entities\Payment', 'created', '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-04-02 09:24:47 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-04-02 09:24:47 [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/confirm_payment
   Query 23 - 2025-04-02 09:24:47 [0.15ms] */
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 24 - 2025-04-02 09:24:47 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 524556 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-04-02 09:24:47 [0.43ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-02 09:24:47', 524556, 177795, '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-04-02 09:24:47 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 524556 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-04-02 09:24:47 [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` = 524556 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-04-02 09:24:47 [0.55ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 524556 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 29 - 2025-04-02 09:24:47 [0.27ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-02 09:24:47' where `id` = 524556;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-04-02 09:24:47 [0.26ms] */
select * from `invoice` where `id` = 524556 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-04-02 09:24:47 [0.29ms] */
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":"31.00","status":"OPEN"}}', 155, 'App\Models\User', 524556, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-04-02 09:24:47 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-04-02 09:24:47 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-04-02 09:24:47 [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/confirm_payment
   Query 35 - 2025-04-02 09:24:47 [0.14ms] */
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 36 - 2025-04-02 09:24:47 [0.17ms] */
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 37 - 2025-04-02 09:24:47 [0.45ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (548887, 'PAID', '2025-04-02 09:24:47', 7, 155, null, 155, 155, '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-04-02 09:24:47 [0.18ms] */
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 39 - 2025-04-02 09:24:47 [0.45ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-02 09:24:47' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-04-02 09:24:47 [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/confirm_payment
   Query 41 - 2025-04-02 09:24:47 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 524556 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 42 - 2025-04-02 09:24:47 [0.35ms] */
select * from `vehicle_tax` where `transaction_id` = 548887 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-04-02 09:24:47 [0.21ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-04-02 09:24:47' where `id` = 439028;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-04-02 09:24:47 [0.23ms] */
select * from `vehicle_tax` where `id` = 439028 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-04-02 09:24:47 [0.32ms] */
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"}}', 155, 'App\Models\User', 439028, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-04-02 09:24:47 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 550015 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 47 - 2025-04-02 09:24:47 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 550015 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-04-02 09:24:47 [0.19ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-02 09:24:47', 550015, 177795, '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-04-02 09:24:47 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 550015 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-04-02 09:24:47 [0.31ms] */
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` = 550015 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-04-02 09:24:47 [0.21ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-02 09:24:47' where `id` = 550015;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-04-02 09:24:47 [0.26ms] */
select * from `invoice` where `id` = 550015 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-04-02 09:24:47 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 155, 'App\Models\User', 550015, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-04-02 09:24:47 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-04-02 09:24:47 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-04-02 09:24:47 [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/confirm_payment
   Query 57 - 2025-04-02 09:24:47 [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/confirm_payment
   Query 58 - 2025-04-02 09:24:47 [0.26ms] */
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 59 - 2025-04-02 09:24:47 [0.24ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574348, 'PAID', '2025-04-02 09:24:47', 7, 155, null, 155, 155, '2025-04-02 09:24:47', '2025-04-02 09:24:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-04-02 09:24:47 [0.3ms] */
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 61 - 2025-04-02 09:24:47 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-02 09:24:47' where `id` = 574348;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-04-02 09:24:47 [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/confirm_payment
   Query 63 - 2025-04-02 09:24:47 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 550015 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-04-02 09:24:49 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-04-02 09:24:49 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-04-02 09:24:49 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-04-02 09:24:49 [0.2ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-04-02 09:24:49 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-04-02 09:24:49 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-04-02 09:24:49 [0.48ms] */
select * from `vehicle_tax` where `id` in (439028) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-04-02 09:24:49 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-04-02 09:24:49 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-04-02 09:24:49 [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/complete_transaction
   Query 11 - 2025-04-02 09:24:49 [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/complete_transaction
   Query 12 - 2025-04-02 09:24:49 [0.19ms] */
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): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-04-02 09:24:49 [0.66ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (548887, 'APPROVED', '2025-04-02 09:24:49', 8, 155, null, 155, 155, '2025-04-02 09:24:49', '2025-04-02 09:24:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-04-02 09:24:49 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-04-02 09:24:49 [0.42ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-02 09:24:49' where `id` = 548887;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-04-02 09:24:49 [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/complete_transaction
   Query 17 - 2025-04-02 09:24:49 [0.31ms] */
select * from `vehicle_tax` where `transaction_id` = 548887 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-04-02 09:24:49 [0.21ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-04-02 09:24:49' where `id` = 439028;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-04-02 09:24:49 [0.21ms] */
select * from `vehicle_tax` where `id` = 439028 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-04-02 09:24:49 [0.44ms] */
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":"ISSUED"},"old":{"status":"PAID"}}', 155, 'App\Models\User', 439028, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-02 09:24:49', '2025-04-02 09:24:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-04-02 09:24:49 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 524556 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-04-02 09:24:49 [0.55ms] */
select * from `transaction` where `id` = 548887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-04-02 09:24:49 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574348 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-04-02 09:24:49 [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/complete_transaction
   Query 25 - 2025-04-02 09:24:49 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-04-02 09:24:49 [0.2ms] */
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): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-04-02 09:24:49 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574348, 'APPROVED', '2025-04-02 09:24:49', 8, 155, null, 155, 155, '2025-04-02 09:24:49', '2025-04-02 09:24:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-04-02 09:24:49 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-04-02 09:24:49 [0.32ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-02 09:24:49' where `id` = 574348;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-04-02 09:24:49 [0.2ms] */
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/complete_transaction
   Query 31 - 2025-04-02 09:24:49 [0.31ms] */
select * from `vehicle_tax` where `transaction_id` = 574348 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-04-02 09:24:49 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 550015 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-04-02 09:24:49 [0.22ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-04-02 09:24:49 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-04-02 09:24:49 [0.22ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-04-02 09:24:49 [0.23ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-04-02 09:24:49 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-04-02 09:24:49 [0.56ms] */
select * from `invoice` where `invoice`.`id` = 524556 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-04-02 09:24:49 [0.74ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 524556 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-04-02 09:24:49 [0.7ms] */
select * from `Payment` where `Payment`.`id` = 177795 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-04-02 09:24:49 [0.24ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-02 09:24:56 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-02 09:24:56 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-02 09:24:56 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-02 09:24:56 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-02 09:24:56 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-02 09:24:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-02 09:24:56 [0.44ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_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_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` = 'KN522' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-02 09:24:56 [0.17ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-02 09:24:56 [0.18ms] */
select * from `vehicle` where `id` = 89112 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-02 09:24:56 [0.13ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-02 09:24:56 [2.3ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-02 09:24:56 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-02 09:24:56 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-02 09:24:56 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-02 09:24:56 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-02 09:24:56 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-02 09:24:56 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-02 09:24:56 [0.14ms] */
select * from `vehicle` where `id` = 89112 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-02 09:24:56 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 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-04-02 09:24:56 [0.94ms] */
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` = 89112 and `vehicle_tax`.`exempt` = 'N' 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-04-02 09:24:57 [2.78ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-02 09:24:57 [0.74ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-02 09:24:57 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-02 09:24:57 [0.18ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-02 09:24:57 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-02 09:24:57 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-02 09:24:57 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-02 09:24:57 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-02 09:24:57 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-02 09:24:57 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-02 09:24:57 [0.27ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-02 09:24:57 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '6aa85ec615810b0aa8b6011c9444a55ad83ecbc6c84c65d06e0145b05f154fec99d6bfa8c91cff6d' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-02 09:24:57 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-02 09:24:57 [0.21ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 1 - 2025-04-02 09:25:06 [1.41ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 2 - 2025-04-02 09:25:06 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 3 - 2025-04-02 09:25:06 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 4 - 2025-04-02 09:25:06 [0.59ms] */
select * from `permissions`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 5 - 2025-04-02 09:25:06 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 6 - 2025-04-02 09:25:06 [1.39ms] */
select `roles`.*, `role_has_permissions`.`permission_id` as `pivot_permission_id`, `role_has_permissions`.`role_id` as `pivot_role_id` from `roles` inner join `role_has_permissions` on `roles`.`id` = `role_has_permissions`.`role_id` where `role_has_permissions`.`permission_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 7 - 2025-04-02 09:25:06 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 8 - 2025-04-02 09:25:06 [0.65ms] */
select * from `transaction` where `transaction`.`id` = 574345 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 9 - 2025-04-02 09:25:06 [1.24ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 10 - 2025-04-02 09:25:06 [0.94ms] */
select * from `invoice` where `transaction_id` = 574345 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 11 - 2025-04-02 09:25:06 [0.84ms] */
select * from `invoice_payment` where `invoice_id` = 550012;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 12 - 2025-04-02 09:25:06 [1.54ms] */
select * from `payment_documents` where `transaction_id` = 574345;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 13 - 2025-04-02 09:25:06 [0.59ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574345 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 14 - 2025-04-02 09:25:06 [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): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 15 - 2025-04-02 09:25:06 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 16 - 2025-04-02 09:25:06 [0.18ms] */
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/w/wkflw/574345
   Query 17 - 2025-04-02 09:25:06 [0.17ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 18 - 2025-04-02 09:25:06 [0.23ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 19 - 2025-04-02 09:25:06 [0.67ms] */
select * from `transaction` where `transaction`.`id` = 574345 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 20 - 2025-04-02 09:25:07 [1152.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 `transaction`.`parent_id` = 574345 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 21 - 2025-04-02 09:25:08 [992.4ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 574345 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 22 - 2025-04-02 09:25:08 [0.31ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 23 - 2025-04-02 09:25:08 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 548882 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 24 - 2025-04-02 09:25:08 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 524550 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 25 - 2025-04-02 09:25:08 [3.06ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 26 - 2025-04-02 09:25:08 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 548884 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 27 - 2025-04-02 09:25:08 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 524552 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 28 - 2025-04-02 09:25:08 [1.06ms] */
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/w/wkflw/574345
   Query 29 - 2025-04-02 09:25: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/w/wkflw/574345
   Query 30 - 2025-04-02 09:25:08 [1.16ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 31 - 2025-04-02 09:25:08 [417.5ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 32 - 2025-04-02 09:25:08 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 33 - 2025-04-02 09:25:08 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 34 - 2025-04-02 09:25:08 [0.2ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 35 - 2025-04-02 09:25:08 [0.18ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 36 - 2025-04-02 09:25:08 [0.17ms] */
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/w/wkflw/574345
   Query 37 - 2025-04-02 09:25:08 [0.55ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89112 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 38 - 2025-04-02 09:25:08 [0.2ms] */
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/w/wkflw/574345
   Query 39 - 2025-04-02 09:25:08 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 40 - 2025-04-02 09:25:08 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 41 - 2025-04-02 09:25:08 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 42 - 2025-04-02 09:25:08 [3.6ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 43 - 2025-04-02 09:25:08 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 44 - 2025-04-02 09:25:08 [0.14ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 45 - 2025-04-02 09:25:08 [0.14ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 46 - 2025-04-02 09:25:08 [0.16ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 47 - 2025-04-02 09:25:08 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55716 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 48 - 2025-04-02 09:25:08 [0.16ms] */
select * from `address` where `address`.`id` = 58104 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 49 - 2025-04-02 09:25:08 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 50 - 2025-04-02 09:25:08 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 51 - 2025-04-02 09:25:08 [0.13ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 52 - 2025-04-02 09:25:08 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 53 - 2025-04-02 09:25:08 [0.23ms] */
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/w/wkflw/574345
   Query 54 - 2025-04-02 09:25:08 [0.22ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 55 - 2025-04-02 09:25:08 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 56 - 2025-04-02 09:25:08 [0.16ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 57 - 2025-04-02 09:25:08 [0.35ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 58 - 2025-04-02 09:25:08 [0.19ms] */
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/w/wkflw/574345
   Query 59 - 2025-04-02 09:25:08 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 60 - 2025-04-02 09:25:08 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 61 - 2025-04-02 09:25:08 [0.58ms] */
select * from `transaction_workflow` where `transaction_id` = 574345 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 62 - 2025-04-02 09:25:08 [0.22ms] */
select * from `users` where `users`.`id` = 155 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 63 - 2025-04-02 09:25:08 [0.18ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 64 - 2025-04-02 09:25:08 [0.18ms] */
select * from `users` where `users`.`id` = 155 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 65 - 2025-04-02 09:25:08 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 66 - 2025-04-02 09:25:08 [0.18ms] */
select * from `users` where `users`.`id` = 155 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 67 - 2025-04-02 09:25:08 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 68 - 2025-04-02 09:25:08 [0.18ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 69 - 2025-04-02 09:25:08 [0.91ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 70 - 2025-04-02 09:25:08 [3.05ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 71 - 2025-04-02 09:25:08 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 72 - 2025-04-02 09:25: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/w/wkflw/574345
   Query 73 - 2025-04-02 09:25:08 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 74 - 2025-04-02 09:25:08 [0.25ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 75 - 2025-04-02 09:25:09 [0.37ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574345
   Query 76 - 2025-04-02 09:25:09 [0.2ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 1 - 2025-04-02 09:25:10 [1.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 2 - 2025-04-02 09:25:10 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 3 - 2025-04-02 09:25:10 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 4 - 2025-04-02 09:25:10 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 5 - 2025-04-02 09:25:10 [0.23ms] */
select * from `vehicle` where `id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 6 - 2025-04-02 09:25:10 [1.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89112 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 7 - 2025-04-02 09:25:10 [0.35ms] */
select * from `vehicle` where `id` = 89112 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 8 - 2025-04-02 09:25:10 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89112 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 9 - 2025-04-02 09:25:10 [0.34ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 10 - 2025-04-02 09:25:10 [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/89112
   Query 11 - 2025-04-02 09:25:10 [0.24ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 12 - 2025-04-02 09:25:10 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 13 - 2025-04-02 09:25:10 [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/89112
   Query 14 - 2025-04-02 09:25:10 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89112 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 15 - 2025-04-02 09:25:10 [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/89112
   Query 16 - 2025-04-02 09:25:10 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 17 - 2025-04-02 09:25:10 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 18 - 2025-04-02 09:25:10 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 19 - 2025-04-02 09:25:10 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 89112 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 20 - 2025-04-02 09:25:10 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 21 - 2025-04-02 09:25:10 [0.14ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 22 - 2025-04-02 09:25:10 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 23 - 2025-04-02 09:25:10 [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/89112
   Query 24 - 2025-04-02 09:25:10 [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/89112
   Query 25 - 2025-04-02 09:25:10 [0.15ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 26 - 2025-04-02 09:25:10 [0.17ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 27 - 2025-04-02 09:25:10 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 118194 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 28 - 2025-04-02 09:25:10 [4.22ms] */
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` = 89112 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 29 - 2025-04-02 09:25:10 [0.16ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 30 - 2025-04-02 09:25:10 [0.14ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 444883 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 31 - 2025-04-02 09:25:10 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 32 - 2025-04-02 09:25:10 [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/89112
   Query 33 - 2025-04-02 09:25:10 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 34 - 2025-04-02 09:25:10 [0.3ms] */
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/89112
   Query 35 - 2025-04-02 09:25:10 [0.5ms] */
select * from `transaction` where `transaction`.`id` = 118197 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 36 - 2025-04-02 09:25:10 [0.26ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 37 - 2025-04-02 09:25:10 [0.28ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 38 - 2025-04-02 09:25:10 [0.3ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 39 - 2025-04-02 09:25:10 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 40 - 2025-04-02 09:25:10 [0.21ms] */
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/89112
   Query 41 - 2025-04-02 09:25:10 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 42 - 2025-04-02 09:25:10 [0.21ms] */
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/89112
   Query 43 - 2025-04-02 09:25:10 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 118198 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 44 - 2025-04-02 09:25:10 [0.22ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 45 - 2025-04-02 09:25:10 [0.24ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 46 - 2025-04-02 09:25:10 [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): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 47 - 2025-04-02 09:25:10 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 48 - 2025-04-02 09:25:10 [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/89112
   Query 49 - 2025-04-02 09:25:10 [0.2ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 50 - 2025-04-02 09:25:10 [0.23ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 51 - 2025-04-02 09:25:10 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 52 - 2025-04-02 09:25:10 [0.21ms] */
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/89112
   Query 53 - 2025-04-02 09:25:10 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 54 - 2025-04-02 09:25:10 [0.21ms] */
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/89112
   Query 55 - 2025-04-02 09:25:10 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 118199 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 56 - 2025-04-02 09:25:10 [0.27ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 57 - 2025-04-02 09:25:10 [0.2ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 58 - 2025-04-02 09:25:10 [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/89112
   Query 59 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 60 - 2025-04-02 09:25:10 [0.15ms] */
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/vehicle/89112
   Query 61 - 2025-04-02 09:25:10 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 62 - 2025-04-02 09:25:10 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 63 - 2025-04-02 09:25:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 64 - 2025-04-02 09:25:10 [0.15ms] */
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/89112
   Query 65 - 2025-04-02 09:25:10 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 66 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 67 - 2025-04-02 09:25:10 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 438479 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 68 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 69 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 70 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 71 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 72 - 2025-04-02 09:25:10 [0.12ms] */
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/vehicle/89112
   Query 73 - 2025-04-02 09:25:10 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 74 - 2025-04-02 09:25:10 [0.24ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 75 - 2025-04-02 09:25:10 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 76 - 2025-04-02 09:25:10 [0.23ms] */
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/89112
   Query 77 - 2025-04-02 09:25:10 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 78 - 2025-04-02 09:25:10 [0.24ms] */
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/89112
   Query 79 - 2025-04-02 09:25:10 [0.79ms] */
select * from `transaction` where `transaction`.`id` = 438480 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 80 - 2025-04-02 09:25:10 [0.29ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 81 - 2025-04-02 09:25:10 [0.3ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 82 - 2025-04-02 09:25:10 [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/89112
   Query 83 - 2025-04-02 09:25:10 [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/89112
   Query 84 - 2025-04-02 09:25:10 [0.3ms] */
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/vehicle/89112
   Query 85 - 2025-04-02 09:25:10 [0.26ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 86 - 2025-04-02 09:25:10 [0.28ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 87 - 2025-04-02 09:25:10 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 88 - 2025-04-02 09:25:10 [0.3ms] */
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/89112
   Query 89 - 2025-04-02 09:25:10 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 90 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 91 - 2025-04-02 09:25:10 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 438481 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 92 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 93 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 94 - 2025-04-02 09:25:10 [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/89112
   Query 95 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 96 - 2025-04-02 09:25:10 [0.13ms] */
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/vehicle/89112
   Query 97 - 2025-04-02 09:25:10 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 98 - 2025-04-02 09:25:10 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 99 - 2025-04-02 09:25:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 100 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 101 - 2025-04-02 09:25:10 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 102 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 103 - 2025-04-02 09:25:10 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 438482 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 104 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 105 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 106 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 107 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 108 - 2025-04-02 09:25:10 [0.13ms] */
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/vehicle/89112
   Query 109 - 2025-04-02 09:25:10 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 110 - 2025-04-02 09:25:10 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 111 - 2025-04-02 09:25:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 112 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 113 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 114 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 115 - 2025-04-02 09:25:10 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 548882 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 116 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 117 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 118 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 119 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 120 - 2025-04-02 09:25:10 [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/89112
   Query 121 - 2025-04-02 09:25:10 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 122 - 2025-04-02 09:25:10 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 123 - 2025-04-02 09:25:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 124 - 2025-04-02 09:25:10 [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/89112
   Query 125 - 2025-04-02 09:25:10 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 126 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 127 - 2025-04-02 09:25:10 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 548884 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 128 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 129 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 130 - 2025-04-02 09:25:10 [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/89112
   Query 131 - 2025-04-02 09:25:10 [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/vehicle/89112
   Query 132 - 2025-04-02 09:25:10 [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/89112
   Query 133 - 2025-04-02 09:25:10 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 134 - 2025-04-02 09:25:10 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 135 - 2025-04-02 09:25:10 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 136 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 137 - 2025-04-02 09:25:10 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 138 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 139 - 2025-04-02 09:25:10 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 548886 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 140 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 141 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 142 - 2025-04-02 09:25:10 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 143 - 2025-04-02 09:25:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89112 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 144 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 145 - 2025-04-02 09:25:10 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88387 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/89112
   Query 146 - 2025-04-02 09:25:10 [0.12ms] */
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/89112
   Query 147 - 2025-04-02 09:25:10 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 548887 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 148 - 2025-04-02 09:25:10 [0.13ms] */
select * from `party` where `party`.`id` = 58104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 149 - 2025-04-02 09:25:10 [0.14ms] */
select * from `person` where `person`.`id` = 55716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 150 - 2025-04-02 09:25:10 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 151 - 2025-04-02 09:25:10 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 152 - 2025-04-02 09:25:10 [0.27ms] */
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` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 153 - 2025-04-02 09:25:10 [1.84ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89112 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/vehicle/89112
   Query 154 - 2025-04-02 09:25:10 [0.62ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89112 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/vehicle/89112
   Query 155 - 2025-04-02 09:25:10 [0.23ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 156 - 2025-04-02 09:25:10 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89112
   Query 157 - 2025-04-02 09:25:10 [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/89112
   Query 158 - 2025-04-02 09:25:10 [0.14ms] */
