select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99825 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:54:59 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:54:59 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:54:59 [0.24ms] */
select * from `invoice` where `transaction_id` = 510483 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:54:59 [0.22ms] */
select * from `invoice_payment` where `invoice_id` = 486168;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:54:59 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 510483;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:54:59 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510483 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:54:59 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-03-07 20:54:59 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-03-07 20:54:59 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-03-07 20:54:59 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-03-07 20:54:59 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-03-07 20:54:59 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-03-07 20:54:59 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-03-07 20:54:59 [204.31ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-03-07 20:54:59 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-03-07 20:54:59 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-03-07 20:54:59 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-03-07 20:54:59 [0.1ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-03-07 20:54:59 [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): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-03-07 20:54:59 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-03-07 20:54:59 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-03-07 20:54:59 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-03-07 20:54:59 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 1 - 2025-03-07 20:55:00 [1.34ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-03-07 20:55:00 [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/widgets.title-workflow-widget
   Query 3 - 2025-03-07 20:55:00 [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/widgets.title-workflow-widget
   Query 4 - 2025-03-07 20:55:00 [0.36ms] */
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.title-workflow-widget
   Query 5 - 2025-03-07 20:55:00 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-03-07 20:55:00 [2ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-03-07 20:55:00 [0.7ms] */
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-history-component
   Query 3 - 2025-03-07 20:55:00 [0.48ms] */
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-history-component
   Query 4 - 2025-03-07 20:55:00 [0.52ms] */
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-history-component
   Query 5 - 2025-03-07 20:55:00 [0.36ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-03-07 20:55:00 [0.16ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-03-07 20:55:00 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-03-07 20:55:00 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2025-03-07 20:55:00 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2025-03-07 20:55:00 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-03-07 20:55:00 [2.57ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-03-07 20:55:00 [0.72ms] */
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.workflow-progress-widget
   Query 3 - 2025-03-07 20:55:00 [0.58ms] */
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.workflow-progress-widget
   Query 4 - 2025-03-07 20:55:00 [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.workflow-progress-widget
   Query 5 - 2025-03-07 20:55:00 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 510483 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-03-07 20:55:00 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-03-07 20:55:00 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-03-07 20:55:00 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-03-07 20:55:00 [0.15ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-03-07 20:55:00 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-03-07 20:55:00 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99842) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-03-07 20:55:00 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-03-07 20:55:00 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (90220) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-03-07 20:55:00 [0.15ms] */
select * from `party` where `party`.`id` in (21317) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-03-07 20:55:00 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-03-07 20:55:00 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-03-07 20:55:00 [0.13ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2025-03-07 20:55:00 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2025-03-07 20:55:00 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2025-03-07 20:55:00 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2025-03-07 20:55:00 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 25 - 2025-03-07 20:55:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 1 - 2025-03-07 20:55:03 [1.35ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 2 - 2025-03-07 20:55:03 [0.44ms] */
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/exit-impersonate
   Query 3 - 2025-03-07 20:55:03 [0.32ms] */
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/exit-impersonate
   Query 4 - 2025-03-07 20:55:03 [0.38ms] */
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/exit-impersonate
   Query 5 - 2025-03-07 20:55:03 [0.18ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-03-07 20:55:03 [1.34ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-03-07 20:55:03 [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
   Query 3 - 2025-03-07 20:55:03 [0.32ms] */
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
   Query 4 - 2025-03-07 20:55:03 [0.38ms] */
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
   Query 5 - 2025-03-07 20:55:03 [0.16ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-03-07 20:55:03 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-03-07' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-03-07 20:55:03 [0.12ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-03-07 20:55:03 [0.13ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-03-07' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-03-07 20:55:03 [42.88ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-03-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-03-07 20:55:03 [42.72ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-03-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-07 20:55:03 [226.9ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-03-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-07 20:55:04 [874.71ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-03-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 1 - 2025-03-07 20:55:08 [2.09ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 2 - 2025-03-07 20:55:08 [0.83ms] */
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/impersonate/8
   Query 3 - 2025-03-07 20:55:08 [0.71ms] */
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/impersonate/8
   Query 4 - 2025-03-07 20:55:08 [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/impersonate/8
   Query 5 - 2025-03-07 20:55:08 [0.19ms] */
select * from `users` where `users`.`id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 1 - 2025-03-07 20:55:08 [1.4ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2025-03-07 20:55:08 [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
   Query 3 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 4 - 2025-03-07 20:55:08 [0.38ms] */
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
   Query 5 - 2025-03-07 20:55:08 [0.18ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 7 - 2025-03-07 20:55:08 [0.17ms] */
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` = 8 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-03-07 20:55:08 [0.16ms] */
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` = 8 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 9 - 2025-03-07 20:55:08 [186.15ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 10 - 2025-03-07 20:55:08 [130.55ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 37 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/w/wkflw
   Query 11 - 2025-03-07 20:55:08 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2025-03-07 20:55:08 [0.16ms] */
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/w/wkflw
   Query 13 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2025-03-07 20:55:08 [0.12ms] */
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/w/wkflw
   Query 15 - 2025-03-07 20:55:08 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 16 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 17 - 2025-03-07 20:55:08 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 18 - 2025-03-07 20:55:08 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 19 - 2025-03-07 20:55:08 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 20 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 21 - 2025-03-07 20:55:08 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510484 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 22 - 2025-03-07 20:55:08 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 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
   Query 23 - 2025-03-07 20:55:08 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 24 - 2025-03-07 20:55:08 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 25 - 2025-03-07 20:55:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 26 - 2025-03-07 20:55:08 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 27 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 28 - 2025-03-07 20:55:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 29 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 30 - 2025-03-07 20:55:08 [0.17ms] */
select * from `person` where `person`.`id` = 21317 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 31 - 2025-03-07 20:55:08 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 32 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 33 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2025-03-07 20:55:08 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510483 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 35 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 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
   Query 36 - 2025-03-07 20:55: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
   Query 37 - 2025-03-07 20:55:08 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 38 - 2025-03-07 20:55:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 40 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 41 - 2025-03-07 20:55:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 59 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 42 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 36583 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 43 - 2025-03-07 20:55:08 [0.15ms] */
select * from `person` where `person`.`id` = 36583 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 44 - 2025-03-07 20:55:08 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 66316 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 45 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 47 - 2025-03-07 20:55:08 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2025-03-07 20:55:08 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510481 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 49 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 50 - 2025-03-07 20:55: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
   Query 51 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 510481 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 52 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 53 - 2025-03-07 20:55:08 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 54 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 55 - 2025-03-07 20:55:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 87936 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 56 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 58008 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 57 - 2025-03-07 20:55:08 [0.13ms] */
select * from `company` where `company`.`id` = 2295 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 58 - 2025-03-07 20:55:08 [0.47ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32297 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 59 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 60 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510467 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 62 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 63 - 2025-03-07 20:55: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
   Query 64 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 510467 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 65 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 66 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 67 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 68 - 2025-03-07 20:55:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90769 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 69 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 61268 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 70 - 2025-03-07 20:55:08 [0.14ms] */
select * from `person` where `person`.`id` = 58757 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 71 - 2025-03-07 20:55:08 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99841 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 72 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 73 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 74 - 2025-03-07 20:55:08 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 75 - 2025-03-07 20:55:08 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510466 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 76 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 77 - 2025-03-07 20:55: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
   Query 78 - 2025-03-07 20:55:08 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510466 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 79 - 2025-03-07 20:55:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 80 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 81 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 82 - 2025-03-07 20:55:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99484 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 83 - 2025-03-07 20:55:08 [0.13ms] */
select * from `party` where `party`.`id` = 60875 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 84 - 2025-03-07 20:55:08 [0.14ms] */
select * from `person` where `person`.`id` = 58371 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 85 - 2025-03-07 20:55:08 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99840 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 86 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 87 - 2025-03-07 20:55:08 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 88 - 2025-03-07 20:55:08 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 89 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510459 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 90 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 91 - 2025-03-07 20:55: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
   Query 92 - 2025-03-07 20:55:08 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510459 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 93 - 2025-03-07 20:55:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 94 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 95 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 96 - 2025-03-07 20:55:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 85537 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 97 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 26201 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 98 - 2025-03-07 20:55:08 [0.14ms] */
select * from `person` where `person`.`id` = 26201 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 99 - 2025-03-07 20:55:08 [0.43ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 22174 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 100 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 101 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 102 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510458 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 103 - 2025-03-07 20:55:08 [0.15ms] */
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
   Query 104 - 2025-03-07 20:55: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
   Query 105 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 510458 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 106 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 107 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 108 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 109 - 2025-03-07 20:55:08 [0.83ms] */
select * from `vehicle` where `vehicle`.`id` = 86819 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 110 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 50728 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 111 - 2025-03-07 20:55:08 [0.15ms] */
select * from `person` where `person`.`id` = 50728 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 112 - 2025-03-07 20:55:08 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32057 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 113 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 114 - 2025-03-07 20:55:08 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 115 - 2025-03-07 20:55:08 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510452 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 116 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 117 - 2025-03-07 20:55: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
   Query 118 - 2025-03-07 20:55:08 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510452 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 119 - 2025-03-07 20:55:08 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 120 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 121 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 122 - 2025-03-07 20:55:08 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 87853 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 123 - 2025-03-07 20:55:08 [0.14ms] */
select * from `party` where `party`.`id` = 58008 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 124 - 2025-03-07 20:55:08 [0.13ms] */
select * from `company` where `company`.`id` = 2295 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 125 - 2025-03-07 20:55:08 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32281 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 126 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 127 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 128 - 2025-03-07 20:55:08 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510451 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 129 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 130 - 2025-03-07 20:55: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
   Query 131 - 2025-03-07 20:55:08 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 510451 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 132 - 2025-03-07 20:55:08 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 133 - 2025-03-07 20:55:08 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 134 - 2025-03-07 20:55:08 [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/w/wkflw
   Query 135 - 2025-03-07 20:55:08 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 86603 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 136 - 2025-03-07 20:55:08 [0.59ms] */
select * from `party` where `party`.`id` = 29424 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 137 - 2025-03-07 20:55:08 [0.15ms] */
select * from `person` where `person`.`id` = 29424 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 138 - 2025-03-07 20:55:08 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32031 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 139 - 2025-03-07 20:55:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 140 - 2025-03-07 20:55:08 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 141 - 2025-03-07 20:55:08 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510450 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 142 - 2025-03-07 20:55:08 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 143 - 2025-03-07 20:55: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
   Query 144 - 2025-03-07 20:55:08 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 510450 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 145 - 2025-03-07 20:55:09 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 146 - 2025-03-07 20:55:09 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 1 - 2025-03-07 20:55:11 [1.37ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 2 - 2025-03-07 20:55:11 [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/510484
   Query 3 - 2025-03-07 20:55:11 [0.32ms] */
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/510484
   Query 4 - 2025-03-07 20:55:11 [0.4ms] */
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/510484
   Query 5 - 2025-03-07 20:55:11 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 6 - 2025-03-07 20:55:11 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 7 - 2025-03-07 20:55:11 [0.25ms] */
select * from `invoice` where `transaction_id` = 510484 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 8 - 2025-03-07 20:55:11 [0.2ms] */
select * from `invoice_payment` where `invoice_id` = 486169;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 9 - 2025-03-07 20:55:11 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 510484;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 10 - 2025-03-07 20:55:11 [0.15ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510484 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 11 - 2025-03-07 20:55:11 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 12 - 2025-03-07 20:55:11 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 13 - 2025-03-07 20:55:11 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 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/510484
   Query 14 - 2025-03-07 20:55:11 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 15 - 2025-03-07 20:55:11 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 16 - 2025-03-07 20:55:11 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 17 - 2025-03-07 20:55:11 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 18 - 2025-03-07 20:55:11 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 19 - 2025-03-07 20:55:11 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 20 - 2025-03-07 20:55:11 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 21 - 2025-03-07 20:55:11 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 22 - 2025-03-07 20:55:11 [0.14ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 23 - 2025-03-07 20:55:11 [0.15ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 24 - 2025-03-07 20:55:11 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 25 - 2025-03-07 20:55:11 [0.78ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 26 - 2025-03-07 20:55:11 [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/510484
   Query 27 - 2025-03-07 20:55:11 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 28 - 2025-03-07 20:55:11 [0.15ms] */
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/510484
   Query 29 - 2025-03-07 20:55:11 [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/510484
   Query 30 - 2025-03-07 20:55:11 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 31 - 2025-03-07 20:55:11 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 32 - 2025-03-07 20:55:11 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 33 - 2025-03-07 20:55:11 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 34 - 2025-03-07 20:55:11 [0.15ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 35 - 2025-03-07 20:55:11 [0.15ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 36 - 2025-03-07 20:55:11 [0.16ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 37 - 2025-03-07 20:55:11 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 38 - 2025-03-07 20:55:11 [0.15ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 39 - 2025-03-07 20:55:11 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 40 - 2025-03-07 20:55:11 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 41 - 2025-03-07 20:55:11 [0.13ms] */
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/510484
   Query 42 - 2025-03-07 20:55:11 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 43 - 2025-03-07 20:55:11 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 44 - 2025-03-07 20:55:11 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 45 - 2025-03-07 20:55:11 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 46 - 2025-03-07 20:55:11 [0.14ms] */
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/510484
   Query 47 - 2025-03-07 20:55:11 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 48 - 2025-03-07 20:55:11 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 49 - 2025-03-07 20:55:11 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 50 - 2025-03-07 20:55:11 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 51 - 2025-03-07 20:55:11 [0.16ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 52 - 2025-03-07 20:55:11 [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/510484
   Query 53 - 2025-03-07 20:55:11 [0.2ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 54 - 2025-03-07 20:55:11 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 55 - 2025-03-07 20:55:11 [0.17ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 56 - 2025-03-07 20:55:11 [0.23ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 57 - 2025-03-07 20:55:11 [0.32ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 58 - 2025-03-07 20:55:11 [0.25ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 59 - 2025-03-07 20:55:11 [0.28ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 60 - 2025-03-07 20:55:11 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 61 - 2025-03-07 20:55:11 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 62 - 2025-03-07 20:55:11 [0.26ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 63 - 2025-03-07 20:55:11 [0.25ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 64 - 2025-03-07 20:55:11 [0.25ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 65 - 2025-03-07 20:55:11 [0.25ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 66 - 2025-03-07 20:55:11 [0.17ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 67 - 2025-03-07 20:55:11 [0.45ms] */
(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/510484
   Query 68 - 2025-03-07 20:55:11 [0.43ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 69 - 2025-03-07 20:55:11 [0.24ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 70 - 2025-03-07 20:55:11 [0.21ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 1 - 2025-03-07 20:55:12 [2.3ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 2 - 2025-03-07 20:55: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): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 3 - 2025-03-07 20:55:12 [0.48ms] */
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/510483
   Query 4 - 2025-03-07 20:55:12 [0.39ms] */
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/510483
   Query 5 - 2025-03-07 20:55:12 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 6 - 2025-03-07 20:55:12 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 7 - 2025-03-07 20:55:12 [0.16ms] */
select * from `invoice` where `transaction_id` = 510483 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 8 - 2025-03-07 20:55:12 [0.13ms] */
select * from `invoice_payment` where `invoice_id` = 486168;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 9 - 2025-03-07 20:55:12 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 510483;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 10 - 2025-03-07 20:55:12 [0.15ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510483 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 11 - 2025-03-07 20:55:12 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 12 - 2025-03-07 20:55:12 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 13 - 2025-03-07 20:55:12 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 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/510483
   Query 14 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 15 - 2025-03-07 20:55:12 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 16 - 2025-03-07 20:55:12 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 17 - 2025-03-07 20:55:12 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 18 - 2025-03-07 20:55:12 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 19 - 2025-03-07 20:55:12 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 20 - 2025-03-07 20:55:12 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 21 - 2025-03-07 20:55:12 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 22 - 2025-03-07 20:55:12 [0.14ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 23 - 2025-03-07 20:55:12 [0.15ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 24 - 2025-03-07 20:55:12 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 25 - 2025-03-07 20:55:12 [0.52ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90220 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 26 - 2025-03-07 20:55:12 [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/510483
   Query 27 - 2025-03-07 20:55:12 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 28 - 2025-03-07 20:55:12 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 37 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 29 - 2025-03-07 20:55:12 [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/510483
   Query 30 - 2025-03-07 20:55:12 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 31 - 2025-03-07 20:55:12 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 32 - 2025-03-07 20:55:12 [0.15ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 33 - 2025-03-07 20:55:12 [0.15ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 34 - 2025-03-07 20:55:12 [0.16ms] */
select * from `person` where `person`.`id` = 21317 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 35 - 2025-03-07 20:55:12 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 21317 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 36 - 2025-03-07 20:55:12 [0.15ms] */
select * from `address` where `address`.`id` = 21317 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 37 - 2025-03-07 20:55:12 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 38 - 2025-03-07 20:55:12 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 39 - 2025-03-07 20:55:12 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 40 - 2025-03-07 20:55:12 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 41 - 2025-03-07 20:55:12 [0.12ms] */
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/510483
   Query 42 - 2025-03-07 20:55:12 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 43 - 2025-03-07 20:55:12 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 44 - 2025-03-07 20:55:12 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 45 - 2025-03-07 20:55:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 46 - 2025-03-07 20:55:12 [0.14ms] */
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/510483
   Query 47 - 2025-03-07 20:55:12 [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/510483
   Query 48 - 2025-03-07 20:55:12 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 49 - 2025-03-07 20:55:12 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 50 - 2025-03-07 20:55:12 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 51 - 2025-03-07 20:55:12 [0.17ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 52 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 53 - 2025-03-07 20:55:12 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 54 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 55 - 2025-03-07 20:55:12 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 56 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 57 - 2025-03-07 20:55:12 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 58 - 2025-03-07 20:55:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 59 - 2025-03-07 20:55:12 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 60 - 2025-03-07 20:55:12 [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/510483
   Query 61 - 2025-03-07 20:55:12 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 62 - 2025-03-07 20:55:12 [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/510483
   Query 63 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 64 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 65 - 2025-03-07 20:55:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 66 - 2025-03-07 20:55:12 [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/510483
   Query 67 - 2025-03-07 20:55:12 [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/510483
   Query 68 - 2025-03-07 20:55:12 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 69 - 2025-03-07 20:55:12 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 70 - 2025-03-07 20:55:12 [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/workflow.view-workflow-transaction-component
   Query 1 - 2025-03-07 20:55:16 [2.06ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-03-07 20:55:16 [0.75ms] */
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.view-workflow-transaction-component
   Query 3 - 2025-03-07 20:55:16 [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.view-workflow-transaction-component
   Query 4 - 2025-03-07 20:55:16 [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/workflow.view-workflow-transaction-component
   Query 5 - 2025-03-07 20:55:16 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 510484 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-03-07 20:55:16 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-03-07 20:55:16 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-03-07 20:55:16 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-03-07 20:55:16 [0.14ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-03-07 20:55:16 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-03-07 20:55:16 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-03-07 20:55:16 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99843) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-03-07 20:55:16 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-03-07 20:55:16 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (93251) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-03-07 20:55:16 [0.15ms] */
select * from `party` where `party`.`id` in (57799) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-03-07 20:55:16 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-03-07 20:55:16 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-03-07 20:55:16 [0.12ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:55:16 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:55:16 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99826 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:55:16 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:55:16 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:55:16 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:55:16 [0.92ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510484, 'CLAIMED', '2025-03-07 20:55:16', 8, 8, 8, 8, '2025-03-07 20:55:16', '2025-03-07 20:55:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:55:16 [0.71ms] */
update `transaction` set `assigned_to` = 8, `updated_by` = 8, `transaction`.`updated_at` = '2025-03-07 20:55:16' where `id` = 510484;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 1 - 2025-03-07 20:55:16 [1.79ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 2 - 2025-03-07 20:55:16 [0.84ms] */
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/510484
   Query 3 - 2025-03-07 20:55:16 [0.66ms] */
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/510484
   Query 4 - 2025-03-07 20:55:16 [0.54ms] */
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/510484
   Query 5 - 2025-03-07 20:55:16 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 6 - 2025-03-07 20:55:16 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 7 - 2025-03-07 20:55:16 [0.16ms] */
select * from `invoice` where `transaction_id` = 510484 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 8 - 2025-03-07 20:55:16 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 486169;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 9 - 2025-03-07 20:55:16 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 510484;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 10 - 2025-03-07 20:55:16 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510484 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 11 - 2025-03-07 20:55:16 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 12 - 2025-03-07 20:55:16 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 13 - 2025-03-07 20:55:16 [0.16ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 14 - 2025-03-07 20:55:16 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 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/510484
   Query 15 - 2025-03-07 20:55:16 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 16 - 2025-03-07 20:55:16 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 17 - 2025-03-07 20:55:16 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 18 - 2025-03-07 20:55:16 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 19 - 2025-03-07 20:55:16 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 20 - 2025-03-07 20:55:17 [257.52ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 21 - 2025-03-07 20:55:17 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 22 - 2025-03-07 20:55:17 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 23 - 2025-03-07 20:55:17 [0.21ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 24 - 2025-03-07 20:55:17 [0.23ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 25 - 2025-03-07 20:55:17 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 26 - 2025-03-07 20:55:17 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 27 - 2025-03-07 20:55:17 [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/510484
   Query 28 - 2025-03-07 20:55:17 [0.37ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 29 - 2025-03-07 20:55:17 [0.38ms] */
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/510484
   Query 30 - 2025-03-07 20:55:17 [0.31ms] */
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/510484
   Query 31 - 2025-03-07 20:55:17 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 32 - 2025-03-07 20:55:17 [0.17ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 33 - 2025-03-07 20:55:17 [0.21ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 34 - 2025-03-07 20:55:17 [0.19ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 35 - 2025-03-07 20:55:17 [0.2ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 36 - 2025-03-07 20:55:17 [0.21ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 37 - 2025-03-07 20:55:17 [0.23ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 38 - 2025-03-07 20:55:17 [0.19ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 39 - 2025-03-07 20:55:17 [0.22ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 40 - 2025-03-07 20:55:17 [0.2ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 41 - 2025-03-07 20:55:17 [0.18ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 42 - 2025-03-07 20:55:17 [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/510484
   Query 43 - 2025-03-07 20:55:17 [0.18ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 44 - 2025-03-07 20:55:17 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 45 - 2025-03-07 20:55:17 [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/510484
   Query 46 - 2025-03-07 20:55:17 [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/510484
   Query 47 - 2025-03-07 20:55:17 [0.21ms] */
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/510484
   Query 48 - 2025-03-07 20:55:17 [0.2ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 49 - 2025-03-07 20:55:17 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 50 - 2025-03-07 20:55:17 [0.19ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 51 - 2025-03-07 20:55:17 [0.6ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 52 - 2025-03-07 20:55:17 [0.17ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 53 - 2025-03-07 20:55:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 54 - 2025-03-07 20:55:17 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 55 - 2025-03-07 20:55:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 56 - 2025-03-07 20:55:17 [0.14ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 57 - 2025-03-07 20:55:17 [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/510484
   Query 58 - 2025-03-07 20:55:17 [0.15ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 59 - 2025-03-07 20:55:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 60 - 2025-03-07 20:55:17 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 61 - 2025-03-07 20:55:17 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 62 - 2025-03-07 20:55:17 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 63 - 2025-03-07 20:55:17 [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/510484
   Query 64 - 2025-03-07 20:55:17 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 65 - 2025-03-07 20:55:17 [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/510484
   Query 66 - 2025-03-07 20:55:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 67 - 2025-03-07 20:55:17 [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/510484
   Query 68 - 2025-03-07 20:55:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 69 - 2025-03-07 20:55:17 [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/510484
   Query 70 - 2025-03-07 20:55:17 [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/510484
   Query 71 - 2025-03-07 20:55:17 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 72 - 2025-03-07 20:55:17 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 73 - 2025-03-07 20:55:17 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-03-07 20:55:19 [2.33ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-03-07 20:55:19 [0.77ms] */
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.view-workflow-transaction-component
   Query 3 - 2025-03-07 20:55:19 [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/workflow.view-workflow-transaction-component
   Query 4 - 2025-03-07 20:55:19 [0.43ms] */
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.view-workflow-transaction-component
   Query 5 - 2025-03-07 20:55:19 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 510484 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-03-07 20:55:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-03-07 20:55:19 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-03-07 20:55:19 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-03-07 20:55:19 [0.15ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-03-07 20:55:19 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-03-07 20:55:19 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-03-07 20:55:19 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99843) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-03-07 20:55:19 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-03-07 20:55:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (93251) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-03-07 20:55:19 [0.14ms] */
select * from `party` where `party`.`id` in (57799) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-03-07 20:55:19 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-03-07 20:55:19 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-03-07 20:55:19 [0.13ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:55:19 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:55:19 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99826 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:55:19 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:55:19 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:55:19 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:55:19 [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): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:55:19 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-03-07 20:55:19 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-03-07 20:55:19 [0.15ms] */
select * from `invoice` where `transaction_id` = 510484 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-03-07 20:55:19 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 486169;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-03-07 20:55:19 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 510484;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-03-07 20:55:19 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510484 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-03-07 20:55:19 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-03-07 20:55:19 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-03-07 20:55:19 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-03-07 20:55:19 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-03-07 20:55:19 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-03-07 20:55:19 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-03-07 20:55:19 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-03-07 20:55:19 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-03-07 20:55:19 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-03-07 20:55:19 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-03-07 20:55:19 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-03-07 20:55:19 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-03-07 20:55:19 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-03-07 20:55:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-03-07 20:55:19 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-03-07 20:55:19 [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/workflow.view-workflow-transaction-component
   Query 47 - 2025-03-07 20:55:19 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2025-03-07 20:55:19 [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/workflow.workflow-checklist-component
   Query 1 - 2025-03-07 20:55:19 [2.03ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-03-07 20:55:19 [0.63ms] */
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-03-07 20:55:19 [0.48ms] */
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-03-07 20:55:19 [0.54ms] */
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-03-07 20:55:19 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 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` = 8 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-03-07 20:55:19 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 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` = 8 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 1 - 2025-03-07 20:55:23 [1.31ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-03-07 20:55:23 [0.47ms] */
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-03-07 20:55:23 [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-03-07 20:55:23 [0.36ms] */
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-03-07 20:55:23 [0.29ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 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` = 8 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.view-workflow-transaction-component
   Query 1 - 2025-03-07 20:55:23 [1.38ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-03-07 20:55:23 [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.view-workflow-transaction-component
   Query 3 - 2025-03-07 20:55:23 [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.view-workflow-transaction-component
   Query 4 - 2025-03-07 20:55:23 [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/workflow.view-workflow-transaction-component
   Query 5 - 2025-03-07 20:55:23 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 510484 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-03-07 20:55:23 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-03-07 20:55:23 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-03-07 20:55:23 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-03-07 20:55:23 [0.15ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-03-07 20:55:23 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-03-07 20:55:23 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-03-07 20:55:23 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99843) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-03-07 20:55:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-03-07 20:55:23 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-03-07 20:55:23 [0.14ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-03-07 20:55:23 [0.13ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-03-07 20:55:23 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-03-07 20:55:23 [0.15ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99826 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:55:23 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:55:23 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:55:23 [0.19ms] */
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/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:55:23 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:55:23 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:55:23 [0.24ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:55:23 [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 (510484, 'APPROVED', '2025-03-07 20:55:23', 8, 8, null, 8, 8, '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-03-07 20:55:23 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-03-07 20:55:23 [0.51ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 5, `status` = 'END', `transaction`.`updated_at` = '2025-03-07 20:55:23' where `id` = 510484;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-03-07 20:55:23 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-03-07 20:55:23 [0.43ms] */
select * from `party_vehicle` where `transaction_id` = 510484 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-03-07 20:55:23 [0.49ms] */
update `party_vehicle` set `status` = 'REGISTERED', `issued_date` = '2025-03-07 20:55:23', `updated_by` = 8, `party_vehicle`.`updated_at` = '2025-03-07 20:55:23' where `id` = 99843;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-03-07 20:55:23 [0.39ms] */
select * from `party_vehicle` where `id` = 99843 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-03-07 20:55:23 [0.7ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"issued_date":"2025-03-07","status":"REGISTERED"},"old":{"issued_date":null,"status":"PAID"}}', 8, 'App\Models\User', 99843, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-03-07 20:55:23 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-03-07 20:55:23 [0.46ms] */
update `vehicle` set `updated_by` = 8, `vehicle`.`updated_at` = '2025-03-07 20:55:23' where `id` = 93251;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-03-07 20:55:23 [0.32ms] */
select * from `vehicle` where `id` = 93251 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-03-07 20:55:23 [0.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 93251, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-03-07 20:55:23 [0.43ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":46}', '{"updated_by":8}', 'updated', 93251, 'Modules\Vehicle\Entities\Vehicle', 8, 'App\Models\User', null, '103.197.112.71', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-03-07 20:55:23 [0.24ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-03-07 20:55:23 [0.53ms] */
update `party` set `updated_by` = 8, `party`.`updated_at` = '2025-03-07 20:55:23' where `id` = 57799;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-03-07 20:55:23 [0.29ms] */
select * from `party` where `id` = 57799 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-03-07 20:55:23 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 57799, 'Modules\Party\Entities\Party', 'updated', '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-03-07 20:55:23 [0.28ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":1}', '{"updated_by":8}', 'updated', 57799, 'Modules\Party\Entities\Party', 8, 'App\Models\User', null, '103.197.112.71', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-03-07 20:55:23 [0.36ms] */
update `company` set `company`.`updated_at` = '2025-03-07 20:55:23' where `company`.`id` = 2086;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-03-07 20:55:23 [0.3ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-03-07 20:55:23 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-03-07 20:55:23 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-03-07 20:55:23 [0.28ms] */
insert into `vehicle_title` (`party_id`, `vehicle_id`, `title_number`, `issued_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (57799, 93251, 'VYG-510484-394', '2025-03-07 20:55:23', 8, 8, '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2025-03-07 20:55:23 [0.16ms] */
select * from `vehicle_title` where `id` = 99516 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2025-03-07 20:55:23 [7.61ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_title', '{"attributes":{"title_number":"VYG-510484-394","party_id":57799,"vehicle_id":93251,"issued_date":"2025-03-07 20:55:23"}}', 8, 'App\Models\User', 99516, 'Modules\Vehicle\Entities\VehicleTitle', 'created', '2025-03-07 20:55:23', '2025-03-07 20:55:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2025-03-07 20:55:23 [0.42ms] */
select * from `invoice` where `transaction_id` = 510484 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-03-07 20:55:23 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-03-07 20:55:23 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2025-03-07 20:55:23 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2025-03-07 20:55:23 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-03-07 20:55:23 [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): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-03-07 20:55:23 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-03-07 20:55:23 [0.21ms] */
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/workflow.view-workflow-transaction-component
   Query 58 - 2025-03-07 20:55:23 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2025-03-07 20:55:23 [0.22ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2025-03-07 20:55:23 [0.22ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2025-03-07 20:55:23 [0.42ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2025-03-07 20:55:23 [0.29ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-03-07 20:55:23 [0.27ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-03-07 20:55:23 [0.37ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-03-07 20:55:24 [0.39ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-03-07 20:55:24 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510484, 'TITLE_GENERATED', '2025-03-07 20:55:24', 9, 8, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-03-07 20:55:24 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-03-07 20:55:24 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 93251 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-03-07 20:55:24 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 93251 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-03-07 20:55:24 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-03-07 20:55:24 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2025-03-07 20:55:24 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-03-07 20:55:24 [0.19ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2025-03-07 20:55:24 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-03-07 20:55:24 [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/workflow.view-workflow-transaction-component
   Query 76 - 2025-03-07 20:55:24 [3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 93251 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2025-03-07 20:55:24 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-03-07 20:55:24 [0.23ms] */
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/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-03-07 20:55:24 [0.43ms] */
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 (57799, 2, 93251, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2025-03-07 20:55:24 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510485, 'INITIATED', '2025-03-07 20:55:24', 5, 8, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2025-03-07 20:55:24 [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/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2025-03-07 20:55:24 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2025-03-07 20:55:24 [0.14ms] */
select * from `term` where `year` = 2025 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2025-03-07 20:55:24 [0.39ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '23A-510484-829', 93251, 103, 57799, 99843, 510485, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2025-03-07 20:55:24 [0.18ms] */
select * from `vehicle_tax` where `id` = 400878 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2025-03-07 20:55:24 [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":"OPEN","tax_number":"23A-510484-829","tax_sticker_id":null,"vehicle_id":93251,"term_id":103,"party_id":57799,"transaction_id":510485,"party_vehicle_id":99843,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400878, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-03-07 20:55:24 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-03-07 20:55:24 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2025-03-07 20:55:24 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2025-03-07 20:55:24 [0.19ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2025-03-07 20:55:24 [0.28ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510485, '2025-03-07 00:00:00', '2024-12-01 00:00:00', 'OPEN', 57799, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice` where `id` = 486170 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-03-07 20:55:24 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":510485,"party_id":57799,"invoice_amount":"0.00","invoice_date":"2025-03-07 00:00:00","due_date":"2024-12-01 00:00:00","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}}', 8, 'App\Models\User', 486170, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2025-03-07 20:55:24 [0.25ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('First Time Tax Fee for Bajaaj Auto', 'Bajaaj Auto', 1, 92.00, 92.00, 486170, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice_item` where `id` = 871916 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-03-07 20:55:24 [0.2ms] */
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":"First Time Tax Fee for Bajaaj Auto","description":"Bajaaj Auto","unit_price":"92.00","quantity":1,"total_price":"92.00","invoice_id":486170}}', 8, 'App\Models\User', 871916, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-03-07 20:55:24 [0.16ms] */
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 First Time Tax', 'Service Fee for First Time Tax', 1, 8.00, 8.00, 486170, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-03-07 20:55:24 [0.17ms] */
select * from `invoice_item` where `id` = 871917 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-03-07 20:55:24 [0.17ms] */
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 First Time Tax","description":"Service Fee for First Time Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":486170}}', 8, 'App\Models\User', 871917, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486170 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-03-07 20:55:24 [0.28ms] */
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` = 486170 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2025-03-07 20:55:24 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486170 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-03-07 20:55:24 [0.19ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 100, `discounts` = 0, `total_invoice_amount` = 100, `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486170;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486170 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-03-07 20:55:24 [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":"100.00","outstanding_balance":"100.00","discounts":"0.00","total_invoice_amount":"100.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 486170, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2025-03-07 20:55:24 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-458-486170669', `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486170;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486170 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-03-07 20:55:24 [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":"100.00","outstanding_balance":"100.00","discounts":"0.00","total_invoice_amount":"100.00","invoice_number":"INV-458-486170669","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 486170, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-03-07 20:55:24 [0.2ms] */
update `transaction` set `party_vehicle_id` = 99843, `vehicle_tax_id` = 400878, `invoice_id` = 486170, `transaction`.`updated_at` = '2025-03-07 20:55:24' where `id` = 510485;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-03-07 20:55:24 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 93251 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-03-07 20:55:24 [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/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2025-03-07 20:55:24 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2025-03-07 20:55:24 [0.23ms] */
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 (57799, 2, 93251, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2025-03-07 20:55:24 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510486, 'INITIATED', '2025-03-07 20:55:24', 5, 8, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2025-03-07 20:55:24 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2025-03-07 20:55:24 [0.22ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'XY1-510484-229', 93251, 104, 57799, 99843, 510486, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2025-03-07 20:55:24 [0.17ms] */
select * from `vehicle_tax` where `id` = 400879 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-03-07 20:55:24 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"XY1-510484-229","tax_sticker_id":null,"vehicle_id":93251,"term_id":104,"party_id":57799,"transaction_id":510486,"party_vehicle_id":99843,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400879, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2025-03-07 20:55:24 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-03-07 20:55:24 [0.17ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2025-03-07 20:55:24 [0.2ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2025-03-07 20:55:24 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510486, '2025-03-07 00:00:00', '2025-03-01 00:00:00', 'OPEN', 57799, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486171 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2025-03-07 20:55:24 [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":{"transaction_id":510486,"party_id":57799,"invoice_amount":"0.00","invoice_date":"2025-03-07 00:00:00","due_date":"2025-03-01 00:00:00","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}}', 8, 'App\Models\User', 486171, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-03-07 20:55:24 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly Tax Fee for Bajaaj Auto', 'Bajaaj Auto Fee', 1, 9.00, 9.00, 486171, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2025-03-07 20:55:24 [0.16ms] */
select * from `invoice_item` where `id` = 871918 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-03-07 20:55:24 [0.17ms] */
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":"Quarterly Tax Fee for Bajaaj Auto","description":"Bajaaj Auto Fee","unit_price":"9.00","quantity":1,"total_price":"9.00","invoice_id":486171}}', 8, 'App\Models\User', 871918, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-03-07 20:55:24 [0.15ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 486171, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-03-07 20:55:24 [0.16ms] */
select * from `invoice_item` where `id` = 871919 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-03-07 20:55:24 [0.17ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":486171}}', 8, 'App\Models\User', 871919, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486171 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-03-07 20:55:24 [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` = 486171 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-03-07 20:55:24 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486171 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-03-07 20:55:24 [0.18ms] */
update `invoice` set `invoice_amount` = 17, `outstanding_balance` = 17, `discounts` = 0, `total_invoice_amount` = 17, `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486171;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486171 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2025-03-07 20:55:24 [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":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 486171, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-03-07 20:55:24 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-396-486171364', `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486171;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice` where `id` = 486171 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-03-07 20:55:24 [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":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00","invoice_number":"INV-396-486171364","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 486171, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-03-07 20:55:24 [0.19ms] */
update `transaction` set `party_vehicle_id` = 99843, `vehicle_tax_id` = 400879, `invoice_id` = 486171, `transaction`.`updated_at` = '2025-03-07 20:55:24' where `id` = 510486;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-03-07 20:55:24 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 93251 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-03-07 20:55:24 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-03-07 20:55:24 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2025-03-07 20:55:24 [0.23ms] */
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 (57799, 2, 93251, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2025-03-07 20:55:24 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510487, 'INITIATED', '2025-03-07 20:55:24', 5, 8, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2025-03-07 20:55:24 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2025-03-07 20:55:24 [0.28ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'O6K-510484-946', 93251, 105, 57799, 99843, 510487, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2025-03-07 20:55:24 [0.17ms] */
select * from `vehicle_tax` where `id` = 400880 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2025-03-07 20:55:24 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"O6K-510484-946","tax_sticker_id":null,"vehicle_id":93251,"term_id":105,"party_id":57799,"transaction_id":510487,"party_vehicle_id":99843,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400880, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2025-03-07 20:55:24 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2025-03-07 20:55:24 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2025-03-07 20:55:24 [0.38ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2025-03-07 20:55:24 [0.5ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510487, '2025-06-01 00:00:00', '2025-06-01 00:00:00', 'OPEN', 57799, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2025-03-07 20:55:24 [0.41ms] */
select * from `invoice` where `id` = 486172 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2025-03-07 20:55:24 [0.38ms] */
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":510487,"party_id":57799,"invoice_amount":"0.00","invoice_date":"2025-06-01 00:00:00","due_date":"2025-06-01 00:00:00","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}}', 8, 'App\Models\User', 486172, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2025-03-07 20:55:24 [0.31ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly Tax Fee for Bajaaj Auto', 'Bajaaj Auto Fee', 1, 9.00, 9.00, 486172, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2025-03-07 20:55:24 [0.33ms] */
select * from `invoice_item` where `id` = 871920 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-03-07 20:55:24 [0.36ms] */
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":"Quarterly Tax Fee for Bajaaj Auto","description":"Bajaaj Auto Fee","unit_price":"9.00","quantity":1,"total_price":"9.00","invoice_id":486172}}', 8, 'App\Models\User', 871920, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2025-03-07 20:55:24 [0.3ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 486172, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-03-07 20:55:24 [0.33ms] */
select * from `invoice_item` where `id` = 871921 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-03-07 20:55:24 [0.35ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":486172}}', 8, 'App\Models\User', 871921, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2025-03-07 20:55:24 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 486172 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2025-03-07 20:55:24 [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` = 486172 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2025-03-07 20:55:24 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486172 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2025-03-07 20:55:24 [0.19ms] */
update `invoice` set `invoice_amount` = 17, `outstanding_balance` = 17, `discounts` = 0, `total_invoice_amount` = 17, `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486172;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice` where `id` = 486172 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2025-03-07 20:55:24 [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":{"invoice_amount":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 486172, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2025-03-07 20:55:24 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-423-486172938', `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486172;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486172 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2025-03-07 20:55:24 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00","invoice_number":"INV-423-486172938","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 486172, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2025-03-07 20:55:24 [0.23ms] */
update `transaction` set `party_vehicle_id` = 99843, `vehicle_tax_id` = 400880, `invoice_id` = 486172, `transaction`.`updated_at` = '2025-03-07 20:55:24' where `id` = 510487;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2025-03-07 20:55:24 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 93251 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2025-03-07 20:55:24 [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/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2025-03-07 20:55:24 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2025-03-07 20:55:24 [0.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (57799, 2, 93251, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2025-03-07 20:55:24 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510488, 'INITIATED', '2025-03-07 20:55:24', 5, 8, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2025-03-07 20:55:24 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2025-03-07 20:55:24 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'Q3H-510484-935', 93251, 106, 57799, 99843, 510488, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2025-03-07 20:55:24 [0.17ms] */
select * from `vehicle_tax` where `id` = 400881 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2025-03-07 20:55:24 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"Q3H-510484-935","tax_sticker_id":null,"vehicle_id":93251,"term_id":106,"party_id":57799,"transaction_id":510488,"party_vehicle_id":99843,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400881, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2025-03-07 20:55:24 [0.25ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2025-03-07 20:55:24 [0.18ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2025-03-07 20:55:24 [0.19ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2025-03-07 20:55:24 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510488, '2025-09-01 00:00:00', '2025-09-01 00:00:00', 'OPEN', 57799, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486173 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2025-03-07 20:55:24 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":510488,"party_id":57799,"invoice_amount":"0.00","invoice_date":"2025-09-01 00:00:00","due_date":"2025-09-01 00:00:00","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}}', 8, 'App\Models\User', 486173, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2025-03-07 20:55:24 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly Tax Fee for Bajaaj Auto', 'Bajaaj Auto Fee', 1, 9.00, 9.00, 486173, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2025-03-07 20:55:24 [0.16ms] */
select * from `invoice_item` where `id` = 871922 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2025-03-07 20:55:24 [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":"Quarterly Tax Fee for Bajaaj Auto","description":"Bajaaj Auto Fee","unit_price":"9.00","quantity":1,"total_price":"9.00","invoice_id":486173}}', 8, 'App\Models\User', 871922, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2025-03-07 20:55:24 [0.22ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 486173, 8, 8, '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2025-03-07 20:55:24 [0.16ms] */
select * from `invoice_item` where `id` = 871923 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2025-03-07 20:55:24 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":486173}}', 8, 'App\Models\User', 871923, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2025-03-07 20:55:24 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486173 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2025-03-07 20:55:24 [0.23ms] */
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` = 486173 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2025-03-07 20:55:24 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486173 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 196 - 2025-03-07 20:55:24 [0.18ms] */
update `invoice` set `invoice_amount` = 17, `outstanding_balance` = 17, `discounts` = 0, `total_invoice_amount` = 17, `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486173;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 197 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486173 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 198 - 2025-03-07 20:55:24 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 486173, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 199 - 2025-03-07 20:55:24 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-333-486173585', `invoice`.`updated_at` = '2025-03-07 20:55:24' where `id` = 486173;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 200 - 2025-03-07 20:55:24 [0.18ms] */
select * from `invoice` where `id` = 486173 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 201 - 2025-03-07 20:55:24 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00","invoice_number":"INV-333-486173585","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 486173, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:24', '2025-03-07 20:55:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 202 - 2025-03-07 20:55:24 [0.19ms] */
update `transaction` set `party_vehicle_id` = 99843, `vehicle_tax_id` = 400881, `invoice_id` = 486173, `transaction`.`updated_at` = '2025-03-07 20:55:24' where `id` = 510488;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 203 - 2025-03-07 20:55:24 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 486169 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 204 - 2025-03-07 20:55:24 [0.5ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 205 - 2025-03-07 20:55:24 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 206 - 2025-03-07 20:55:24 [0.55ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 207 - 2025-03-07 20:55:24 [0.46ms] */
select * from `invoice` where `transaction_id` = 510484 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 208 - 2025-03-07 20:55:24 [0.23ms] */
select * from `invoice_payment` where `invoice_id` = 486169;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 209 - 2025-03-07 20:55:24 [0.26ms] */
select * from `payment_documents` where `transaction_id` = 510484;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 210 - 2025-03-07 20:55:24 [0.36ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510484 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 211 - 2025-03-07 20:55:24 [0.27ms] */
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/workflow.view-workflow-transaction-component
   Query 212 - 2025-03-07 20:55:24 [0.25ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 213 - 2025-03-07 20:55:24 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 214 - 2025-03-07 20:55:24 [0.41ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2025-03-07 20:55:24 [212.53ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 216 - 2025-03-07 20:55:24 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 217 - 2025-03-07 20:55:24 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 218 - 2025-03-07 20:55:24 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 219 - 2025-03-07 20:55:24 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 220 - 2025-03-07 20:55:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 221 - 2025-03-07 20:55:24 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 222 - 2025-03-07 20:55:24 [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/workflow.view-workflow-transaction-component
   Query 223 - 2025-03-07 20:55:24 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 224 - 2025-03-07 20:55:24 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 1 - 2025-03-07 20:55:24 [2.05ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-03-07 20:55:24 [0.79ms] */
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.title-workflow-widget
   Query 3 - 2025-03-07 20:55:24 [0.56ms] */
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.title-workflow-widget
   Query 4 - 2025-03-07 20:55:24 [0.36ms] */
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.title-workflow-widget
   Query 5 - 2025-03-07 20:55:24 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-03-07 20:55:24 [1.31ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-03-07 20:55:24 [0.41ms] */
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-history-component
   Query 3 - 2025-03-07 20:55:24 [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/workflow.workflow-history-component
   Query 4 - 2025-03-07 20:55:25 [0.81ms] */
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-history-component
   Query 5 - 2025-03-07 20:55:25 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 510484 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-03-07 20:55:25 [0.17ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-03-07 20:55:25 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2025-03-07 20:55:25 [0.16ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 16 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 17 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 18 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 19 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 20 - 2025-03-07 20:55:25 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 21 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-03-07 20:55:25 [1.35ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-03-07 20:55: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/widgets.workflow-progress-widget
   Query 3 - 2025-03-07 20:55:25 [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/widgets.workflow-progress-widget
   Query 4 - 2025-03-07 20:55:25 [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/widgets.workflow-progress-widget
   Query 5 - 2025-03-07 20:55:25 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 510484 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-03-07 20:55:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-03-07 20:55:25 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-03-07 20:55:25 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-03-07 20:55:25 [0.15ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-03-07 20:55:25 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (5) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` in (9);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-03-07 20:55:25 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99843) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-03-07 20:55:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-03-07 20:55:25 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` in (93251) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-03-07 20:55:25 [0.24ms] */
select * from `party` where `party`.`id` in (57799) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-03-07 20:55:25 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-03-07 20:55:25 [0.17ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-03-07 20:55:25 [0.13ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2025-03-07 20:55:25 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2025-03-07 20:55:25 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2025-03-07 20:55:25 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 25 - 2025-03-07 20:55:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-03-07 20:55:26 [1.3ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-03-07 20:55:26 [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.view-workflow-transaction-component
   Query 3 - 2025-03-07 20:55:26 [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/workflow.view-workflow-transaction-component
   Query 4 - 2025-03-07 20:55:26 [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.view-workflow-transaction-component
   Query 5 - 2025-03-07 20:55:27 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 510483 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-03-07 20:55:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-03-07 20:55:27 [0.15ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-03-07 20:55:27 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-03-07 20:55:27 [0.14ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-03-07 20:55:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-03-07 20:55:27 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-03-07 20:55:27 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99842) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-03-07 20:55:27 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-03-07 20:55:27 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` in (90220) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-03-07 20:55:27 [0.28ms] */
select * from `party` where `party`.`id` in (21317) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-03-07 20:55:27 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-03-07 20:55:27 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-03-07 20:55:27 [0.13ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:55:27 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:55:27 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99825 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:55:27 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:55:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:55:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:55:27 [0.3ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510483, 'CLAIMED', '2025-03-07 20:55:27', 8, 8, 8, 8, '2025-03-07 20:55:27', '2025-03-07 20:55:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:55:27 [0.31ms] */
update `transaction` set `assigned_to` = 8, `updated_by` = 8, `transaction`.`updated_at` = '2025-03-07 20:55:27' where `id` = 510483;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 1 - 2025-03-07 20:55:27 [1.6ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 2 - 2025-03-07 20:55:27 [0.67ms] */
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/510483
   Query 3 - 2025-03-07 20:55:27 [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/w/wkflw/510483
   Query 4 - 2025-03-07 20:55:27 [0.59ms] */
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/510483
   Query 5 - 2025-03-07 20:55:27 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 6 - 2025-03-07 20:55:27 [0.48ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 7 - 2025-03-07 20:55:27 [0.5ms] */
select * from `invoice` where `transaction_id` = 510483 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 8 - 2025-03-07 20:55:27 [0.24ms] */
select * from `invoice_payment` where `invoice_id` = 486168;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 9 - 2025-03-07 20:55:27 [0.26ms] */
select * from `payment_documents` where `transaction_id` = 510483;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 10 - 2025-03-07 20:55:27 [0.27ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510483 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 11 - 2025-03-07 20:55:27 [0.29ms] */
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/w/wkflw/510483
   Query 12 - 2025-03-07 20:55:27 [0.26ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 13 - 2025-03-07 20:55:27 [0.28ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 14 - 2025-03-07 20:55:27 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 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/510483
   Query 15 - 2025-03-07 20:55:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 16 - 2025-03-07 20:55:27 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 17 - 2025-03-07 20:55:27 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 18 - 2025-03-07 20:55:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 19 - 2025-03-07 20:55:27 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 20 - 2025-03-07 20:55:27 [205.61ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 21 - 2025-03-07 20:55:27 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 22 - 2025-03-07 20:55:27 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 23 - 2025-03-07 20:55:27 [0.14ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 24 - 2025-03-07 20:55:27 [0.13ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 25 - 2025-03-07 20:55:27 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 26 - 2025-03-07 20:55:27 [0.52ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90220 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 27 - 2025-03-07 20:55:27 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 28 - 2025-03-07 20:55:27 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 29 - 2025-03-07 20:55:27 [0.27ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 37 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 30 - 2025-03-07 20:55:27 [0.27ms] */
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/510483
   Query 31 - 2025-03-07 20:55:27 [0.33ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 32 - 2025-03-07 20:55:27 [0.26ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 33 - 2025-03-07 20:55:27 [0.36ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 34 - 2025-03-07 20:55:27 [0.21ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 35 - 2025-03-07 20:55:27 [0.34ms] */
select * from `person` where `person`.`id` = 21317 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 36 - 2025-03-07 20:55:27 [17.34ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 21317 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 37 - 2025-03-07 20:55:27 [0.19ms] */
select * from `address` where `address`.`id` = 21317 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 38 - 2025-03-07 20:55:27 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 39 - 2025-03-07 20:55:27 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 40 - 2025-03-07 20:55:27 [0.13ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 41 - 2025-03-07 20:55:27 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 42 - 2025-03-07 20:55:27 [0.11ms] */
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/510483
   Query 43 - 2025-03-07 20:55:27 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 44 - 2025-03-07 20:55:27 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 45 - 2025-03-07 20:55:27 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 46 - 2025-03-07 20:55:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 47 - 2025-03-07 20:55:27 [0.14ms] */
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/510483
   Query 48 - 2025-03-07 20:55:27 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 49 - 2025-03-07 20:55:27 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 50 - 2025-03-07 20:55:27 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 51 - 2025-03-07 20:55:27 [0.46ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 52 - 2025-03-07 20:55:27 [0.16ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 53 - 2025-03-07 20:55:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 54 - 2025-03-07 20:55:27 [0.14ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 55 - 2025-03-07 20:55:27 [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/510483
   Query 56 - 2025-03-07 20:55:27 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 57 - 2025-03-07 20:55:27 [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/510483
   Query 58 - 2025-03-07 20:55:27 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 59 - 2025-03-07 20:55:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 60 - 2025-03-07 20:55:27 [0.14ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 61 - 2025-03-07 20:55:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 62 - 2025-03-07 20:55:27 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 63 - 2025-03-07 20:55:27 [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/510483
   Query 64 - 2025-03-07 20:55:27 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 65 - 2025-03-07 20:55:27 [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/510483
   Query 66 - 2025-03-07 20:55:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 67 - 2025-03-07 20:55:27 [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/510483
   Query 68 - 2025-03-07 20:55:27 [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/510483
   Query 69 - 2025-03-07 20:55:27 [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/510483
   Query 70 - 2025-03-07 20:55:27 [0.21ms] */
(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/510483
   Query 71 - 2025-03-07 20:55:27 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 72 - 2025-03-07 20:55:27 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/510483
   Query 73 - 2025-03-07 20:55:27 [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/workflow.view-workflow-transaction-component
   Query 1 - 2025-03-07 20:55:29 [2.01ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-03-07 20:55:29 [1.04ms] */
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.view-workflow-transaction-component
   Query 3 - 2025-03-07 20:55:29 [0.55ms] */
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.view-workflow-transaction-component
   Query 4 - 2025-03-07 20:55:29 [0.78ms] */
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.view-workflow-transaction-component
   Query 5 - 2025-03-07 20:55:29 [1.22ms] */
select * from `transaction` where `transaction`.`id` = 510483 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-03-07 20:55:29 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-03-07 20:55:29 [0.22ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-03-07 20:55:29 [0.22ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-03-07 20:55:29 [0.24ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-03-07 20:55:29 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-03-07 20:55:29 [0.21ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-03-07 20:55:29 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99842) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-03-07 20:55:29 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-03-07 20:55:29 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` in (90220) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-03-07 20:55:29 [0.25ms] */
select * from `party` where `party`.`id` in (21317) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-03-07 20:55:29 [0.24ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-03-07 20:55:29 [0.21ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-03-07 20:55:29 [0.2ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:55:29 [0.19ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:55:29 [0.22ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99825 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:55:29 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:55:29 [0.2ms] */
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/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:55:29 [0.28ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:55:29 [0.19ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:55:29 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-03-07 20:55:29 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-03-07 20:55:29 [0.23ms] */
select * from `invoice` where `transaction_id` = 510483 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-03-07 20:55:29 [0.14ms] */
select * from `invoice_payment` where `invoice_id` = 486168;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-03-07 20:55:29 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 510483;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-03-07 20:55:29 [0.15ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 510483 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-03-07 20:55:29 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-03-07 20:55:29 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-03-07 20:55:29 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-03-07 20:55:29 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-03-07 20:55:29 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-03-07 20:55:29 [0.25ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-03-07 20:55:29 [0.71ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-03-07 20:55:29 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-03-07 20:55:29 [0.19ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-03-07 20:55:29 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-03-07 20:55:29 [0.19ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-03-07 20:55:29 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510483 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-03-07 20:55:29 [0.19ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-03-07 20:55:29 [0.22ms] */
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/workflow.view-workflow-transaction-component
   Query 45 - 2025-03-07 20:55:29 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-03-07 20:55:29 [0.24ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-03-07 20:55:29 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2025-03-07 20:55:29 [0.22ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-03-07 20:55:30 [1.49ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-03-07 20:55:30 [0.59ms] */
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-03-07 20:55:30 [0.47ms] */
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-03-07 20:55:30 [0.48ms] */
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-03-07 20:55:30 [0.33ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 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` = 8 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-03-07 20:55:30 [0.24ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 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` = 8 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 1 - 2025-03-07 20:55:34 [1.39ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-03-07 20:55:34 [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/workflow.workflow-checklist-component
   Query 3 - 2025-03-07 20:55:34 [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/workflow.workflow-checklist-component
   Query 4 - 2025-03-07 20:55:34 [0.36ms] */
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-03-07 20:55:34 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 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` = 8 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.view-workflow-transaction-component
   Query 1 - 2025-03-07 20:55:34 [1.33ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-03-07 20:55:34 [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/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-03-07 20:55:34 [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/workflow.view-workflow-transaction-component
   Query 4 - 2025-03-07 20:55:34 [0.36ms] */
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.view-workflow-transaction-component
   Query 5 - 2025-03-07 20:55:34 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 510483 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-03-07 20:55:34 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-03-07 20:55:34 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-03-07 20:55:34 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-03-07 20:55:34 [0.15ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-03-07 20:55:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-03-07 20:55:34 [0.14ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-03-07 20:55:34 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99842) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-03-07 20:55:34 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-03-07 20:55:34 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-03-07 20:55:34 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-03-07 20:55:34 [0.12ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-03-07 20:55:34 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-03-07 20:55:34 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99825 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-03-07 20:55:34 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-03-07 20:55:34 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-03-07 20:55:34 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-03-07 20:55:34 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-03-07 20:55:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-03-07 20:55:34 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-03-07 20:55:34 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510483, 'APPROVED', '2025-03-07 20:55:34', 8, 8, null, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-03-07 20:55:34 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-03-07 20:55:34 [0.32ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 5, `status` = 'END', `transaction`.`updated_at` = '2025-03-07 20:55:34' where `id` = 510483;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-03-07 20:55:34 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-03-07 20:55:34 [0.26ms] */
select * from `party_vehicle` where `transaction_id` = 510483 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-03-07 20:55:34 [0.31ms] */
update `party_vehicle` set `status` = 'REGISTERED', `issued_date` = '2025-03-07 20:55:34', `updated_by` = 8, `party_vehicle`.`updated_at` = '2025-03-07 20:55:34' where `id` = 99842;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-03-07 20:55:34 [0.19ms] */
select * from `party_vehicle` where `id` = 99842 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-03-07 20:55:34 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"issued_date":"2025-03-07","status":"REGISTERED"},"old":{"issued_date":null,"status":"PAID"}}', 8, 'App\Models\User', 99842, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-03-07 20:55:34 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-03-07 20:55:34 [0.21ms] */
update `vehicle` set `updated_by` = 8, `vehicle`.`updated_at` = '2025-03-07 20:55:34' where `id` = 90220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-03-07 20:55:34 [0.18ms] */
select * from `vehicle` where `id` = 90220 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-03-07 20:55:34 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 90220, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-03-07 20:55:34 [0.26ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":98}', '{"updated_by":8}', 'updated', 90220, 'Modules\Vehicle\Entities\Vehicle', 8, 'App\Models\User', null, '103.197.112.71', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-03-07 20:55:34 [0.21ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-03-07 20:55:34 [0.22ms] */
update `party` set `party`.`updated_at` = '2025-03-07 20:55:34' where `id` = 21317;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-03-07 20:55:34 [0.17ms] */
select * from `party` where `id` = 21317 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-03-07 20:55:34 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 21317, 'Modules\Party\Entities\Party', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-03-07 20:55:34 [0.18ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('[]', '[]', 'updated', 21317, 'Modules\Party\Entities\Party', 8, 'App\Models\User', null, '103.197.112.71', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-03-07 20:55:34 [0.43ms] */
update `person` set `person`.`updated_at` = '2025-03-07 20:55:34' where `person`.`id` = 21317;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-03-07 20:55:34 [0.19ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-03-07 20:55:34 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-03-07 20:55:34 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-03-07 20:55:34 [0.25ms] */
insert into `vehicle_title` (`party_id`, `vehicle_id`, `title_number`, `issued_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (21317, 90220, 'M4V-510483-194', '2025-03-07 20:55:34', 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2025-03-07 20:55:34 [0.47ms] */
select * from `vehicle_title` where `id` = 99517 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2025-03-07 20:55:34 [0.47ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_title', '{"attributes":{"title_number":"M4V-510483-194","party_id":21317,"vehicle_id":90220,"issued_date":"2025-03-07 20:55:34"}}', 8, 'App\Models\User', 99517, 'Modules\Vehicle\Entities\VehicleTitle', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2025-03-07 20:55:34 [0.53ms] */
select * from `invoice` where `transaction_id` = 510483 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-03-07 20:55:34 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-03-07 20:55:34 [0.37ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99842 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2025-03-07 20:55:34 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2025-03-07 20:55:34 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-03-07 20:55:34 [0.31ms] */
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/workflow.view-workflow-transaction-component
   Query 56 - 2025-03-07 20:55:34 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-03-07 20:55:34 [0.28ms] */
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/workflow.view-workflow-transaction-component
   Query 58 - 2025-03-07 20:55:34 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2025-03-07 20:55:34 [0.15ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2025-03-07 20:55:34 [0.14ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2025-03-07 20:55:34 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 37 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2025-03-07 20:55:34 [0.19ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-03-07 20:55:34 [0.21ms] */
select * from `person` where `person`.`id` = 21317 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-03-07 20:55:34 [0.27ms] */
select * from `address` where `address`.`id` = 21317 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-03-07 20:55:34 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-03-07 20:55:34 [0.44ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-03-07 20:55:34 [0.25ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510483, 'TITLE_GENERATED', '2025-03-07 20:55:34', 9, 8, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-03-07 20:55:34 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 90220 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-03-07 20:55:34 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90220 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-03-07 20:55:34 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 90220 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-03-07 20:55:34 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 510483 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2025-03-07 20:55:34 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-03-07 20:55:34 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2025-03-07 20:55:34 [0.2ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-03-07 20:55:34 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 90220 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2025-03-07 20:55:34 [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/workflow.view-workflow-transaction-component
   Query 77 - 2025-03-07 20:55:34 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 90220 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-03-07 20:55:34 [0.15ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-03-07 20:55: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/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2025-03-07 20:55:34 [0.36ms] */
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 (21317, 2, 90220, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2025-03-07 20:55:34 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510489, 'INITIATED', '2025-03-07 20:55:34', 5, 8, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2025-03-07 20:55:34 [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/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2025-03-07 20:55: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/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2025-03-07 20:55:34 [0.14ms] */
select * from `term` where `year` = 2025 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2025-03-07 20:55:34 [0.27ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '8F6-510483-957', 90220, 103, 21317, 99842, 510489, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2025-03-07 20:55:34 [0.18ms] */
select * from `vehicle_tax` where `id` = 400882 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-03-07 20:55: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":"OPEN","tax_number":"8F6-510483-957","tax_sticker_id":null,"vehicle_id":90220,"term_id":103,"party_id":21317,"transaction_id":510489,"party_vehicle_id":99842,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400882, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-03-07 20:55:34 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2025-03-07 20:55:34 [0.25ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2025-03-07 20:55:34 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2025-03-07 20:55:34 [0.21ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2025-03-07 20:55:34 [0.26ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510489, '2025-03-07 00:00:00', '2024-12-01 00:00:00', 'OPEN', 21317, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-03-07 20:55:34 [0.19ms] */
select * from `invoice` where `id` = 486174 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2025-03-07 20:55:34 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":510489,"party_id":21317,"invoice_amount":"0.00","invoice_date":"2025-03-07 00:00:00","due_date":"2024-12-01 00:00:00","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}}', 8, 'App\Models\User', 486174, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-03-07 20:55:34 [0.18ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('First Time Tax Fee for Bajaaj Auto', 'Bajaaj Auto', 1, 92.00, 92.00, 486174, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-03-07 20:55:34 [0.17ms] */
select * from `invoice_item` where `id` = 871924 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-03-07 20:55:34 [0.2ms] */
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":"First Time Tax Fee for Bajaaj Auto","description":"Bajaaj Auto","unit_price":"92.00","quantity":1,"total_price":"92.00","invoice_id":486174}}', 8, 'App\Models\User', 871924, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-03-07 20:55:34 [0.15ms] */
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 First Time Tax', 'Service Fee for First Time Tax', 1, 8.00, 8.00, 486174, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-03-07 20:55:34 [0.16ms] */
select * from `invoice_item` where `id` = 871925 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-03-07 20:55: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_item', '{"attributes":{"item":"Service Fee for First Time Tax","description":"Service Fee for First Time Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":486174}}', 8, 'App\Models\User', 871925, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-03-07 20:55:34 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486174 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2025-03-07 20:55:34 [0.27ms] */
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` = 486174 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-03-07 20:55:34 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486174 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2025-03-07 20:55:34 [0.19ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 100, `discounts` = 0, `total_invoice_amount` = 100, `invoice`.`updated_at` = '2025-03-07 20:55:34' where `id` = 486174;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-03-07 20:55:34 [0.2ms] */
select * from `invoice` where `id` = 486174 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2025-03-07 20:55: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":{"invoice_amount":"100.00","outstanding_balance":"100.00","discounts":"0.00","total_invoice_amount":"100.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 486174, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-03-07 20:55:34 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-909-486174985', `invoice`.`updated_at` = '2025-03-07 20:55:34' where `id` = 486174;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-03-07 20:55:34 [0.19ms] */
select * from `invoice` where `id` = 486174 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-03-07 20:55: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":{"invoice_amount":"100.00","outstanding_balance":"100.00","discounts":"0.00","total_invoice_amount":"100.00","invoice_number":"INV-909-486174985","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 486174, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-03-07 20:55:34 [0.2ms] */
update `transaction` set `party_vehicle_id` = 99842, `vehicle_tax_id` = 400882, `invoice_id` = 486174, `transaction`.`updated_at` = '2025-03-07 20:55:34' where `id` = 510489;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-03-07 20:55:34 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 90220 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2025-03-07 20:55: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/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2025-03-07 20:55:34 [0.68ms] */
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/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2025-03-07 20:55:34 [0.5ms] */
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 (21317, 2, 90220, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2025-03-07 20:55:34 [0.37ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510490, 'INITIATED', '2025-03-07 20:55:34', 5, 8, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2025-03-07 20:55:34 [0.41ms] */
select * from `term` where `year` = 2025 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2025-03-07 20:55:34 [0.36ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'OG8-510483-749', 90220, 104, 21317, 99842, 510490, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-03-07 20:55:34 [0.35ms] */
select * from `vehicle_tax` where `id` = 400883 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2025-03-07 20:55:34 [0.34ms] */
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":"OPEN","tax_number":"OG8-510483-749","tax_sticker_id":null,"vehicle_id":90220,"term_id":104,"party_id":21317,"transaction_id":510490,"party_vehicle_id":99842,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400883, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-03-07 20:55:34 [0.46ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2025-03-07 20:55:34 [0.34ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2025-03-07 20:55:34 [0.38ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2025-03-07 20:55:34 [0.36ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510490, '2025-03-07 00:00:00', '2025-03-01 00:00:00', 'OPEN', 21317, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2025-03-07 20:55:34 [0.35ms] */
select * from `invoice` where `id` = 486175 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-03-07 20:55:34 [0.5ms] */
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":510490,"party_id":21317,"invoice_amount":"0.00","invoice_date":"2025-03-07 00:00:00","due_date":"2025-03-01 00:00:00","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}}', 8, 'App\Models\User', 486175, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2025-03-07 20:55:34 [0.33ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly Tax Fee for Bajaaj Auto', 'Bajaaj Auto Fee', 1, 9.00, 9.00, 486175, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-03-07 20:55:34 [0.33ms] */
select * from `invoice_item` where `id` = 871926 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-03-07 20:55: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_item', '{"attributes":{"item":"Quarterly Tax Fee for Bajaaj Auto","description":"Bajaaj Auto Fee","unit_price":"9.00","quantity":1,"total_price":"9.00","invoice_id":486175}}', 8, 'App\Models\User', 871926, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-03-07 20:55:34 [0.15ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 486175, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-03-07 20:55:34 [0.17ms] */
select * from `invoice_item` where `id` = 871927 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-03-07 20:55: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_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":486175}}', 8, 'App\Models\User', 871927, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-03-07 20:55:34 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 486175 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-03-07 20:55:34 [0.27ms] */
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` = 486175 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-03-07 20:55:34 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486175 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-03-07 20:55:34 [0.18ms] */
update `invoice` set `invoice_amount` = 17, `outstanding_balance` = 17, `discounts` = 0, `total_invoice_amount` = 17, `invoice`.`updated_at` = '2025-03-07 20:55:34' where `id` = 486175;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2025-03-07 20:55:34 [0.19ms] */
select * from `invoice` where `id` = 486175 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-03-07 20:55: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":{"invoice_amount":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 486175, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2025-03-07 20:55:34 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-710-486175592', `invoice`.`updated_at` = '2025-03-07 20:55:34' where `id` = 486175;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-03-07 20:55:34 [0.19ms] */
select * from `invoice` where `id` = 486175 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-03-07 20:55: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":{"invoice_amount":"17.00","outstanding_balance":"17.00","discounts":"0.00","total_invoice_amount":"17.00","invoice_number":"INV-710-486175592","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 486175, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-03-07 20:55:34 [0.19ms] */
update `transaction` set `party_vehicle_id` = 99842, `vehicle_tax_id` = 400883, `invoice_id` = 486175, `transaction`.`updated_at` = '2025-03-07 20:55:34' where `id` = 510490;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-03-07 20:55:34 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 90220 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-03-07 20:55:34 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2025-03-07 20:55:34 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2025-03-07 20:55:34 [0.22ms] */
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 (21317, 2, 90220, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2025-03-07 20:55:34 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510491, 'INITIATED', '2025-03-07 20:55:34', 5, 8, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2025-03-07 20:55:34 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2025-03-07 20:55:34 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'J95-510483-436', 90220, 105, 21317, 99842, 510491, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2025-03-07 20:55:34 [0.18ms] */
select * from `vehicle_tax` where `id` = 400884 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2025-03-07 20:55:34 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"J95-510483-436","tax_sticker_id":null,"vehicle_id":90220,"term_id":105,"party_id":21317,"transaction_id":510491,"party_vehicle_id":99842,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 400884, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2025-03-07 20:55:34 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 3 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 3 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2025-03-07 20:55:34 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2025-03-07 20:55:34 [0.18ms] */
select * from `party` where `party`.`id` = 21317 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2025-03-07 20:55:34 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510491, '2025-06-01 00:00:00', '2025-06-01 00:00:00', 'OPEN', 21317, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2025-03-07 20:55:34 [0.18ms] */
select * from `invoice` where `id` = 486176 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2025-03-07 20:55:34 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":510491,"party_id":21317,"invoice_amount":"0.00","invoice_date":"2025-06-01 00:00:00","due_date":"2025-06-01 00:00:00","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}}', 8, 'App\Models\User', 486176, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2025-03-07 20:55:34 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly Tax Fee for Bajaaj Auto', 'Bajaaj Auto Fee', 1, 9.00, 9.00, 486176, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-03-07 20:55:34 [0.17ms] */
select * from `invoice_item` where `id` = 871928 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2025-03-07 20:55: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":"Quarterly Tax Fee for Bajaaj Auto","description":"Bajaaj Auto Fee","unit_price":"9.00","quantity":1,"total_price":"9.00","invoice_id":486176}}', 8, 'App\Models\User', 871928, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-03-07 20:55:34 [0.15ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 486176, 8, 8, '2025-03-07 20:55:34', '2025-03-07 20:55:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-03-07 20:55:34 [0.17ms] */
