select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99865 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-25 08:04:02 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574495 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-04-25 08:04:02 [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-04-25 08:04:02 [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 24 - 2025-04-25 08:04:02 [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-04-25 08:04:02 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574495 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-04-25 08:04:02 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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-04-25 08:04:02 [0.15ms] */
select * from `invoice` where `transaction_id` = 574495 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-04-25 08:04:02 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 550155;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-04-25 08:04:02 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 574495;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-04-25 08:04:02 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574495 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-04-25 08:04:02 [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-04-25 08:04:02 [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-04-25 08:04:02 [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.view-workflow-transaction-component
   Query 34 - 2025-04-25 08:04:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-04-25 08:04:02 [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.view-workflow-transaction-component
   Query 36 - 2025-04-25 08:04:02 [0.15ms] */
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-04-25 08:04:02 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 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-04-25 08:04:02 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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-04-25 08:04:02 [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-04-25 08:04:02 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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-04-25 08:04:02 [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-04-25 08:04:02 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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-04-25 08:04:02 [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-04-25 08:04:02 [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-04-25 08:04:02 [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-04-25 08:04:02 [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-04-25 08:04:02 [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-04-25 08:04:02 [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-04-25 08:04:02 [2.19ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:02 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:02 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:02 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:02 [0.68ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 6 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-25 08:04:02 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 6 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` = 6 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-04-25 08:04:04 [2.3ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:04 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:04 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:04 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:04 [0.25ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 6 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` = 6 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-04-25 08:04:05 [2.3ms] */
select * from `users` where `id` = 6 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-04-25 08:04:05 [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/workflow.view-workflow-transaction-component
   Query 3 - 2025-04-25 08:04:05 [0.64ms] */
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-04-25 08:04:05 [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-04-25 08:04:05 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 574495 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:05 [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-04-25 08:04:05 [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-04-25 08:04:05 [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-04-25 08:04:05 [0.15ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (2) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:05 [0.16ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99882) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:05 [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-04-25 08:04:05 [0.15ms] */
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-04-25 08:04:05 [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-04-25 08:04:05 [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-04-25 08:04:05 [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-04-25 08:04:05 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 99865 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-04-25 08:04:05 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 574495 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-04-25 08:04:05 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 574495 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-04-25 08:04:05 [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 22 - 2025-04-25 08:04:05 [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 23 - 2025-04-25 08:04:05 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-04-25 08:04:05 [0.14ms] */
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.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:05 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574495, 'APPROVED', '2025-04-25 08:04:05', 6, 6, null, 6, 6, '2025-04-25 08:04:05', '2025-04-25 08:04:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-25 08:04:05 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 3 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-04-25 08:04:05 [0.33ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 3, `transaction`.`updated_at` = '2025-04-25 08:04:05' where `id` = 574495;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-04-25 08:04:05 [0.25ms] */
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-04-25 08:04:05 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 550155 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 30 - 2025-04-25 08:04:05 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-04-25 08:04:05 [0.73ms] */
select * from `transaction` where `transaction`.`id` = 574495 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-04-25 08:04:05 [0.77ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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 33 - 2025-04-25 08:04:05 [0.3ms] */
select * from `invoice` where `transaction_id` = 574495 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-04-25 08:04:05 [0.23ms] */
select * from `invoice_payment` where `invoice_id` = 550155;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-04-25 08:04:05 [1.63ms] */
select * from `payment_documents` where `transaction_id` = 574495;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-04-25 08:04:05 [0.7ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574495 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 37 - 2025-04-25 08:04:05 [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 38 - 2025-04-25 08:04:05 [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 39 - 2025-04-25 08:04:05 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 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 40 - 2025-04-25 08:04:05 [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.view-workflow-transaction-component
   Query 41 - 2025-04-25 08:04:05 [0.17ms] */
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 42 - 2025-04-25 08:04:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-04-25 08:04:05 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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 44 - 2025-04-25 08:04:05 [252.83ms] */
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 45 - 2025-04-25 08:04:05 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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 46 - 2025-04-25 08:04:05 [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 47 - 2025-04-25 08:04:05 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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 48 - 2025-04-25 08:04:05 [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 49 - 2025-04-25 08:04:05 [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 50 - 2025-04-25 08:04:05 [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 51 - 2025-04-25 08:04:05 [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 52 - 2025-04-25 08:04:05 [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 53 - 2025-04-25 08:04:05 [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-04-25 08:04:05 [2.03ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-04-25 08:04:05 [0.57ms] */
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-04-25 08:04:05 [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-04-25 08:04:05 [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-04-25 08:04:05 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 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-04-25 08:04:06 [1.98ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-04-25 08:04:06 [0.67ms] */
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-04-25 08:04:06 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2025-04-25 08:04:06 [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.workflow-history-component
   Query 5 - 2025-04-25 08:04:06 [0.2ms] */
select * from `transaction_workflow` where `transaction_id` = 574495 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-04-25 08:04:06 [0.16ms] */
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 7 - 2025-04-25 08:04:06 [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 8 - 2025-04-25 08:04:06 [0.16ms] */
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 9 - 2025-04-25 08:04:06 [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 10 - 2025-04-25 08:04:06 [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): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-04-25 08:04:06 [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-04-25 08:04:06 [1.49ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-04-25 08:04:06 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2025-04-25 08:04:06 [0.5ms] */
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-04-25 08:04:06 [0.5ms] */
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-04-25 08:04:06 [0.55ms] */
select * from `transaction` where `transaction`.`id` = 574495 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-04-25 08:04:06 [0.2ms] */
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-04-25 08:04:06 [0.18ms] */
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-04-25 08:04:06 [0.29ms] */
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-04-25 08:04:06 [0.4ms] */
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-04-25 08:04:06 [0.39ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (3) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-04-25 08:04:06 [0.36ms] */
select * from `roles` where `roles`.`id` in (7);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-04-25 08:04:06 [0.31ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (99882) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-04-25 08:04:06 [0.26ms] */
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-04-25 08:04:06 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` in (99519) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-04-25 08:04:06 [0.28ms] */
select * from `party` where `party`.`id` in (64958) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-04-25 08:04:06 [0.3ms] */
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-04-25 08:04:06 [0.26ms] */
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-04-25 08:04:06 [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-04-25 08:04:06 [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-04-25 08:04:06 [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-04-25 08:04:06 [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 22 - 2025-04-25 08:04:06 [0.12ms] */
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-04-25 08:04:06 [0.12ms] */
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-04-25 08:04:06 [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-04-25 08:04:06 [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
   Query 1 - 2025-04-25 08:04:15 [2.14ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2025-04-25 08:04:15 [0.82ms] */
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-04-25 08:04:15 [0.69ms] */
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-04-25 08:04:15 [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-04-25 08:04:15 [0.25ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2025-04-25 08:04:15 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 7 - 2025-04-25 08:04:15 [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` = 6 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-04-25 08:04:15 [0.15ms] */
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` = 6 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-04-25 08:04:15 [6.31ms] */
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 (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 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-04-25 08:04:15 [6ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 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-04-25 08:04:15 [0.18ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2025-04-25 08:04:15 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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-04-25 08:04:15 [0.14ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2025-04-25 08:04:15 [0.15ms] */
select * from `service` where `service`.`id` = 9 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-04-25 08:04:15 [0.15ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 16 - 2025-04-25 08:04:15 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 17 - 2025-04-25 08:04:15 [0.5ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574498 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 18 - 2025-04-25 08:04:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 19 - 2025-04-25 08:04:15 [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
   Query 20 - 2025-04-25 08:04:15 [0.49ms] */
select * from `transaction_workflow` where `transaction_id` = 574498 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 21 - 2025-04-25 08:04:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 22 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 23 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 24 - 2025-04-25 08:04:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 25 - 2025-04-25 08:04:15 [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 26 - 2025-04-25 08:04:15 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574497 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 27 - 2025-04-25 08:04:15 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 28 - 2025-04-25 08:04:15 [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
   Query 29 - 2025-04-25 08:04:15 [0.39ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 30 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 31 - 2025-04-25 08:04:15 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 32 - 2025-04-25 08:04:15 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 33 - 2025-04-25 08:04:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 19 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2025-04-25 08:04:15 [0.15ms] */
select * from `party` where `party`.`id` = 36545 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 35 - 2025-04-25 08:04:15 [0.14ms] */
select * from `person` where `person`.`id` = 36545 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 36 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 52623 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 37 - 2025-04-25 08:04:15 [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 38 - 2025-04-25 08:04:15 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2025-04-25 08:04:15 [0.41ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574496 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 40 - 2025-04-25 08:04:15 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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 41 - 2025-04-25 08:04:15 [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
   Query 42 - 2025-04-25 08:04:15 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 43 - 2025-04-25 08:04:15 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 44 - 2025-04-25 08:04:15 [0.27ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 45 - 2025-04-25 08:04:15 [0.24ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2025-04-25 08:04:15 [0.25ms] */
select * from `party` where `party`.`id` = 47918 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 47 - 2025-04-25 08:04:15 [0.28ms] */
select * from `person` where `person`.`id` = 47918 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2025-04-25 08:04:15 [0.45ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574466 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-04-25 08:04:15 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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-04-25 08:04:15 [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
   Query 51 - 2025-04-25 08:04:15 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 574466 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-04-25 08:04:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 54 - 2025-04-25 08:04:15 [0.12ms] */
select * from `service` where `service`.`id` = 8 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-04-25 08:04:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 50215 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-04-25 08:04:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 57 - 2025-04-25 08:04:15 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574465 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 58 - 2025-04-25 08:04:15 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 59 - 2025-04-25 08:04:15 [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
   Query 60 - 2025-04-25 08:04:15 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 574465 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2025-04-25 08:04:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 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 62 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 63 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 4 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 64 - 2025-04-25 08:04:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 46188 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 65 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 66 - 2025-04-25 08:04:15 [0.15ms] */
select * from `person` where `person`.`id` = 37100 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 67 - 2025-04-25 08:04:15 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 19 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 68 - 2025-04-25 08:04:15 [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 69 - 2025-04-25 08:04:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 70 - 2025-04-25 08:04:15 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574463 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 71 - 2025-04-25 08:04:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 16 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 72 - 2025-04-25 08:04:15 [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
   Query 73 - 2025-04-25 08:04:15 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 574463 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 74 - 2025-04-25 08:04:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 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 75 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 76 - 2025-04-25 08:04:15 [0.14ms] */
select * from `service` where `service`.`id` = 11 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 77 - 2025-04-25 08:04:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 3 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 78 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party` where `party`.`id` = 36530 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 79 - 2025-04-25 08:04:15 [0.15ms] */
select * from `person` where `person`.`id` = 36530 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 80 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 74740 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 81 - 2025-04-25 08:04:15 [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 82 - 2025-04-25 08:04:15 [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 83 - 2025-04-25 08:04:15 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574461 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 84 - 2025-04-25 08:04:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 44 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 85 - 2025-04-25 08:04:15 [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
   Query 86 - 2025-04-25 08:04:15 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 574461 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 87 - 2025-04-25 08:04:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 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 88 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 89 - 2025-04-25 08:04:15 [0.13ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 90 - 2025-04-25 08:04:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 74074 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 91 - 2025-04-25 08:04:15 [0.13ms] */
select * from `party` where `party`.`id` = 58472 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 92 - 2025-04-25 08:04:15 [0.14ms] */
select * from `person` where `person`.`id` = 56062 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 93 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 94 - 2025-04-25 08:04:15 [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 95 - 2025-04-25 08:04:15 [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 96 - 2025-04-25 08:04:15 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574460 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 97 - 2025-04-25 08:04:15 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 11 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 98 - 2025-04-25 08:04:15 [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
   Query 99 - 2025-04-25 08:04:15 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 574460 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 100 - 2025-04-25 08:04:15 [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 101 - 2025-04-25 08:04:15 [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 102 - 2025-04-25 08:04:15 [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 103 - 2025-04-25 08:04:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 104 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 105 - 2025-04-25 08:04:15 [0.14ms] */
select * from `person` where `person`.`id` = 52184 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 106 - 2025-04-25 08:04:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99871 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 107 - 2025-04-25 08:04:15 [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 108 - 2025-04-25 08:04:15 [0.13ms] */
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 109 - 2025-04-25 08:04:15 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574346 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 110 - 2025-04-25 08:04:15 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 111 - 2025-04-25 08:04:15 [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
   Query 112 - 2025-04-25 08:04:15 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 574346 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 113 - 2025-04-25 08:04:15 [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 114 - 2025-04-25 08:04:15 [0.12ms] */
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 115 - 2025-04-25 08:04:15 [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 116 - 2025-04-25 08:04:15 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 99501 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 117 - 2025-04-25 08:04:15 [0.26ms] */
select * from `party` where `party`.`id` = 9325 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 118 - 2025-04-25 08:04:15 [0.28ms] */
select * from `person` where `person`.`id` = 9325 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 119 - 2025-04-25 08:04:15 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99863 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 120 - 2025-04-25 08:04:15 [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 121 - 2025-04-25 08:04:15 [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 122 - 2025-04-25 08:04:15 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510842 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 123 - 2025-04-25 08:04:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 124 - 2025-04-25 08:04:15 [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
   Query 125 - 2025-04-25 08:04:15 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 510842 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 126 - 2025-04-25 08:04:15 [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 127 - 2025-04-25 08:04:15 [0.14ms] */
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.list-workflow-queue-component
   Query 1 - 2025-04-25 08:04:17 [2.01ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2025-04-25 08:04:17 [0.71ms] */
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.list-workflow-queue-component
   Query 3 - 2025-04-25 08:04:17 [0.62ms] */
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.list-workflow-queue-component
   Query 4 - 2025-04-25 08:04:17 [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.list-workflow-queue-component
   Query 5 - 2025-04-25 08:04:17 [0.28ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2025-04-25 08:04:17 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2025-04-25 08:04:17 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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.list-workflow-queue-component
   Query 8 - 2025-04-25 08:04:17 [0.14ms] */
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.list-workflow-queue-component
   Query 9 - 2025-04-25 08:04:17 [0.41ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574498, 'CLAIMED', '2025-04-25 08:04:17', 6, 6, 6, 6, '2025-04-25 08:04:17', '2025-04-25 08:04:17');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-04-25 08:04:17 [0.34ms] */
update `transaction` set `assigned_to` = 6, `updated_by` = 6, `transaction`.`updated_at` = '2025-04-25 08:04:17' where `id` = 574498;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 1 - 2025-04-25 08:04:18 [1.3ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 2 - 2025-04-25 08:04:18 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 3 - 2025-04-25 08:04:18 [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/574498
   Query 4 - 2025-04-25 08:04:18 [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/574498
   Query 5 - 2025-04-25 08:04:18 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 6 - 2025-04-25 08:04:18 [0.34ms] */
select * from `transaction_workflow` where `transaction_id` = 574498 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 7 - 2025-04-25 08:04:18 [0.28ms] */
select * from `invoice` where `transaction_id` = 574498 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 8 - 2025-04-25 08:04:18 [0.79ms] */
select * from `payment_documents` where `transaction_id` = 574498;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 9 - 2025-04-25 08:04:18 [0.5ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574498 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 10 - 2025-04-25 08:04:18 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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/574498
   Query 11 - 2025-04-25 08:04:18 [0.26ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 12 - 2025-04-25 08:04:18 [0.31ms] */
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/574498
   Query 13 - 2025-04-25 08:04:18 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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/574498
   Query 14 - 2025-04-25 08:04:18 [0.28ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 15 - 2025-04-25 08:04:18 [0.29ms] */
select * from `workflow` where `workflow`.`id` = 9 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 16 - 2025-04-25 08:04:18 [0.15ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 17 - 2025-04-25 08:04:18 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 18 - 2025-04-25 08:04:18 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 19 - 2025-04-25 08:04:18 [0.15ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 64958 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 20 - 2025-04-25 08:04:18 [0.14ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 62332 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 21 - 2025-04-25 08:04:18 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62332 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 22 - 2025-04-25 08:04:18 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 574498 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 23 - 2025-04-25 08:04:18 [0.16ms] */
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/574498
   Query 24 - 2025-04-25 08:04:18 [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/574498
   Query 25 - 2025-04-25 08:04:18 [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/574498
   Query 26 - 2025-04-25 08:04:18 [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/574498
   Query 27 - 2025-04-25 08:04:18 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 9 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 28 - 2025-04-25 08:04:18 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 29 - 2025-04-25 08:04:18 [0.19ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 30 - 2025-04-25 08:04:18 [0.16ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 31 - 2025-04-25 08:04:18 [0.24ms] */
(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/574498
   Query 32 - 2025-04-25 08:04:18 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 33 - 2025-04-25 08:04:18 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574498
   Query 34 - 2025-04-25 08:04:18 [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-04-25 08:04:20 [2.12ms] */
select * from `users` where `id` = 6 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-04-25 08:04:20 [0.84ms] */
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-04-25 08:04:20 [0.72ms] */
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-04-25 08:04:20 [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/workflow.view-workflow-transaction-component
   Query 5 - 2025-04-25 08:04:20 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 574498 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:20 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` in (9) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-25 08:04:20 [0.19ms] */
select * from `service` where `service`.`id` in (9) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-25 08:04:20 [0.24ms] */
select * from `workflow` where `workflow`.`id` in (9) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-25 08:04:20 [0.15ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:20 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (36) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:20 [0.13ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:20 [0.14ms] */
select * from `party` where `party`.`id` in (64958) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:20 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-25 08:04:20 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 15 - 2025-04-25 08:04:20 [0.13ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-25 08:04:20 [0.13ms] */
select * from `service` where `service`.`id` = 9 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 17 - 2025-04-25 08:04:20 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-04-25 08:04:20 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574498 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 19 - 2025-04-25 08:04:20 [0.15ms] */
select * from `invoice` where `transaction_id` = 574498 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-25 08:04:20 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 574498;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-25 08:04:20 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574498 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 22 - 2025-04-25 08:04:20 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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-04-25 08:04:20 [0.13ms] */
select * from `service` where `service`.`id` = 9 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-04-25 08:04:20 [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.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:20 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 26 - 2025-04-25 08:04:20 [0.12ms] */
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.view-workflow-transaction-component
   Query 27 - 2025-04-25 08:04:20 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 9 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-25 08:04:20 [2.02ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:20 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:20 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:20 [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/workflow.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:20 [0.74ms] */
(select * from `workflow_checklist` where `workflow_id` = 9 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 9 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-25 08:04:20 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` = 9 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 9 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` = 6 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-04-25 08:04:22 [1.99ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:22 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:22 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:22 [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.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:22 [0.4ms] */
(select * from `workflow_checklist` where `workflow_id` = 9 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 9 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` = 6 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-04-25 08:04:22 [1.32ms] */
select * from `users` where `id` = 6 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-04-25 08:04:22 [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.view-workflow-transaction-component
   Query 3 - 2025-04-25 08:04:22 [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-04-25 08:04:22 [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-04-25 08:04:22 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 574498 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:22 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (9) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-25 08:04:22 [0.13ms] */
select * from `service` where `service`.`id` in (9) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-25 08:04:22 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (9) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-25 08:04:22 [0.15ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:22 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (36) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:22 [0.12ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:22 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:22 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-25 08:04:22 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 15 - 2025-04-25 08:04:22 [0.22ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-25 08:04:22 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 17 - 2025-04-25 08:04:22 [0.14ms] */
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.view-workflow-transaction-component
   Query 18 - 2025-04-25 08:04:22 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574498, 'APPROVED', '2025-04-25 08:04:22', 6, 6, null, 6, 6, '2025-04-25 08:04:22', '2025-04-25 08:04:22');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-04-25 08:04:22 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 9 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-25 08:04:22 [0.32ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 37, `status` = 'END', `transaction`.`updated_at` = '2025-04-25 08:04:22' where `id` = 574498;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-25 08:04:22 [0.17ms] */
select * from `service` where `service`.`id` = 9 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 22 - 2025-04-25 08:04:22 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 574498 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-04-25 08:04:22 [0.53ms] */
select * from `transaction_workflow` where `transaction_id` = 574498 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 24 - 2025-04-25 08:04:22 [0.3ms] */
select * from `invoice` where `transaction_id` = 574498 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:22 [1.19ms] */
select * from `payment_documents` where `transaction_id` = 574498;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-25 08:04:22 [0.45ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574498 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 27 - 2025-04-25 08:04:22 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 28 - 2025-04-25 08:04:22 [0.13ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-04-25 08:04:23 [2.32ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-04-25 08:04:23 [1.09ms] */
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-04-25 08:04:23 [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-history-component
   Query 4 - 2025-04-25 08:04:23 [0.91ms] */
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-04-25 08:04:23 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 574498 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-04-25 08:04:23 [0.27ms] */
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 7 - 2025-04-25 08:04:23 [0.24ms] */
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 8 - 2025-04-25 08:04:23 [0.25ms] */
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 9 - 2025-04-25 08:04:23 [0.23ms] */
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 10 - 2025-04-25 08:04:23 [0.25ms] */
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 11 - 2025-04-25 08:04:23 [0.23ms] */
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-04-25 08:04:23 [2.03ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-04-25 08:04:23 [0.81ms] */
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-04-25 08:04:23 [0.7ms] */
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-04-25 08:04:23 [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-04-25 08:04:23 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 574498 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-04-25 08:04:23 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (9) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-04-25 08:04:23 [0.16ms] */
select * from `service` where `service`.`id` in (9) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-04-25 08:04:23 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (9) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-04-25 08:04:23 [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/widgets.workflow-progress-widget
   Query 10 - 2025-04-25 08:04:23 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (37) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-04-25 08:04:23 [0.23ms] */
select * from `roles` where `roles`.`id` in (9);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-04-25 08:04:23 [0.15ms] */
select * from `party` where `party`.`id` in (64958) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-04-25 08:04:23 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 9 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-04-25 08:04:23 [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 15 - 2025-04-25 08:04:23 [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 16 - 2025-04-25 08:04:23 [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
   Query 1 - 2025-04-25 08:04:27 [2.1ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2025-04-25 08:04:27 [0.68ms] */
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-04-25 08:04:27 [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
   Query 4 - 2025-04-25 08:04:27 [0.44ms] */
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-04-25 08:04:27 [0.27ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2025-04-25 08:04:27 [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/w/wkflw
   Query 7 - 2025-04-25 08:04:27 [0.18ms] */
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` = 6 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-04-25 08:04:27 [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` = 6 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-04-25 08:04:27 [3.78ms] */
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 (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 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-04-25 08:04:27 [5.06ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 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-04-25 08:04:27 [0.32ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2025-04-25 08:04:27 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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-04-25 08:04:27 [0.14ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 8 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-04-25 08:04:27 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 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-04-25 08:04:27 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 17 - 2025-04-25 08:04:27 [0.32ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574497 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 18 - 2025-04-25 08:04:27 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 19 - 2025-04-25 08:04:27 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 20 - 2025-04-25 08:04:27 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 21 - 2025-04-25 08:04:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 22 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 23 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 24 - 2025-04-25 08:04:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 19 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 25 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 36545 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 26 - 2025-04-25 08:04:27 [0.16ms] */
select * from `person` where `person`.`id` = 36545 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 27 - 2025-04-25 08:04:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 52623 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 28 - 2025-04-25 08:04:27 [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 29 - 2025-04-25 08:04:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 30 - 2025-04-25 08:04:27 [0.34ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574496 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 31 - 2025-04-25 08:04:27 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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 32 - 2025-04-25 08:04: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
   Query 33 - 2025-04-25 08:04:27 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2025-04-25 08:04:27 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 35 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 36 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 37 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 47918 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 38 - 2025-04-25 08:04:27 [0.15ms] */
select * from `person` where `person`.`id` = 47918 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2025-04-25 08:04:27 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574466 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 40 - 2025-04-25 08:04:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 41 - 2025-04-25 08:04: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
   Query 42 - 2025-04-25 08:04:27 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 574466 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 43 - 2025-04-25 08:04:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 44 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 45 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2025-04-25 08:04:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 50215 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 47 - 2025-04-25 08:04:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2025-04-25 08:04:27 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574465 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-04-25 08:04:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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-04-25 08:04:27 [0.15ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 51 - 2025-04-25 08:04:27 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 574465 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-04-25 08:04:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 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-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 54 - 2025-04-25 08:04:27 [0.14ms] */
select * from `service` where `service`.`id` = 4 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-04-25 08:04:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 46188 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-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 37100 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-04-25 08:04:27 [0.15ms] */
select * from `person` where `person`.`id` = 37100 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 58 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 19 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 59 - 2025-04-25 08:04: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
   Query 60 - 2025-04-25 08:04:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2025-04-25 08:04:27 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574463 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-04-25 08:04:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 16 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-04-25 08:04: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
   Query 64 - 2025-04-25 08:04:27 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 574463 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-04-25 08:04:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 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-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 67 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 11 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-04-25 08:04:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 3 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-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 36530 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-04-25 08:04:27 [0.15ms] */
select * from `person` where `person`.`id` = 36530 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 71 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 74740 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 72 - 2025-04-25 08:04: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
   Query 73 - 2025-04-25 08:04:27 [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 74 - 2025-04-25 08:04:27 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574461 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 75 - 2025-04-25 08:04:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 44 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 76 - 2025-04-25 08:04: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
   Query 77 - 2025-04-25 08:04:27 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 574461 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 78 - 2025-04-25 08:04:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 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 79 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 80 - 2025-04-25 08:04:27 [0.13ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 81 - 2025-04-25 08:04:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 74074 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 82 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 58472 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 83 - 2025-04-25 08:04:27 [0.15ms] */
select * from `person` where `person`.`id` = 56062 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 84 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 85 - 2025-04-25 08:04:27 [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 86 - 2025-04-25 08:04:27 [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 87 - 2025-04-25 08:04:27 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574460 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 88 - 2025-04-25 08:04:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 11 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 89 - 2025-04-25 08:04: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
   Query 90 - 2025-04-25 08:04:27 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 574460 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 91 - 2025-04-25 08:04:27 [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 92 - 2025-04-25 08:04:27 [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 93 - 2025-04-25 08:04:27 [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 94 - 2025-04-25 08:04:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 95 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 96 - 2025-04-25 08:04:27 [0.15ms] */
select * from `person` where `person`.`id` = 52184 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 97 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99871 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 98 - 2025-04-25 08:04: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
   Query 99 - 2025-04-25 08:04:27 [0.13ms] */
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 100 - 2025-04-25 08:04:27 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574346 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 101 - 2025-04-25 08:04:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 102 - 2025-04-25 08:04: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
   Query 103 - 2025-04-25 08:04:27 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 574346 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 104 - 2025-04-25 08:04:27 [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 105 - 2025-04-25 08:04:27 [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 106 - 2025-04-25 08:04:27 [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 107 - 2025-04-25 08:04:27 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99501 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 108 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party` where `party`.`id` = 9325 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 109 - 2025-04-25 08:04:27 [0.15ms] */
select * from `person` where `person`.`id` = 9325 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 110 - 2025-04-25 08:04:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99863 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 111 - 2025-04-25 08:04: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
   Query 112 - 2025-04-25 08:04:27 [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 113 - 2025-04-25 08:04:27 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510842 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 114 - 2025-04-25 08:04:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 115 - 2025-04-25 08:04: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
   Query 116 - 2025-04-25 08:04:27 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510842 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 117 - 2025-04-25 08:04:27 [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 118 - 2025-04-25 08:04:27 [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 119 - 2025-04-25 08:04:27 [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 120 - 2025-04-25 08:04:27 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 99500 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 121 - 2025-04-25 08:04:27 [0.25ms] */
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 122 - 2025-04-25 08:04:27 [0.24ms] */
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 123 - 2025-04-25 08:04:27 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99862 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 124 - 2025-04-25 08:04: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
   Query 125 - 2025-04-25 08:04:27 [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 126 - 2025-04-25 08:04:27 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510841 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 127 - 2025-04-25 08:04:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 128 - 2025-04-25 08:04: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
   Query 129 - 2025-04-25 08:04:27 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510841 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 130 - 2025-04-25 08:04:27 [0.18ms] */
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 131 - 2025-04-25 08:04:27 [0.14ms] */
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.list-workflow-queue-component
   Query 1 - 2025-04-25 08:04:30 [1.97ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2025-04-25 08:04:30 [0.82ms] */
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.list-workflow-queue-component
   Query 3 - 2025-04-25 08:04:30 [0.6ms] */
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.list-workflow-queue-component
   Query 4 - 2025-04-25 08:04:30 [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.list-workflow-queue-component
   Query 5 - 2025-04-25 08:04:30 [0.21ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2025-04-25 08:04:30 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2025-04-25 08:04:30 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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.list-workflow-queue-component
   Query 8 - 2025-04-25 08:04:30 [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.list-workflow-queue-component
   Query 9 - 2025-04-25 08:04:30 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574497, 'CLAIMED', '2025-04-25 08:04:30', 6, 6, 6, 6, '2025-04-25 08:04:30', '2025-04-25 08:04:30');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-04-25 08:04:30 [0.25ms] */
update `transaction` set `assigned_to` = 6, `updated_by` = 6, `transaction`.`updated_at` = '2025-04-25 08:04:30' where `id` = 574497;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 1 - 2025-04-25 08:04:30 [2.03ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 2 - 2025-04-25 08:04:30 [0.88ms] */
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/574497
   Query 3 - 2025-04-25 08:04:30 [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/574497
   Query 4 - 2025-04-25 08:04:30 [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/574497
   Query 5 - 2025-04-25 08:04:30 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 6 - 2025-04-25 08:04:30 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 7 - 2025-04-25 08:04:30 [0.24ms] */
select * from `invoice` where `transaction_id` = 574497 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 8 - 2025-04-25 08:04:30 [0.66ms] */
select * from `payment_documents` where `transaction_id` = 574497;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 9 - 2025-04-25 08:04:30 [0.24ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574497 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 10 - 2025-04-25 08:04:30 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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/574497
   Query 11 - 2025-04-25 08:04:30 [0.15ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 12 - 2025-04-25 08:04:30 [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/574497
   Query 13 - 2025-04-25 08:04:30 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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/574497
   Query 14 - 2025-04-25 08:04:30 [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/574497
   Query 15 - 2025-04-25 08:04:30 [0.25ms] */
select * from `workflow` where `workflow`.`id` = 8 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 16 - 2025-04-25 08:04:30 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 17 - 2025-04-25 08:04:30 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 18 - 2025-04-25 08:04:30 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 99476 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 19 - 2025-04-25 08:04:30 [0.68ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 99476 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 20 - 2025-04-25 08:04:30 [0.47ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 99828 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 21 - 2025-04-25 08:04:30 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 22 - 2025-04-25 08:04:30 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 99476 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 23 - 2025-04-25 08:04:30 [0.15ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 99476 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 24 - 2025-04-25 08:04:30 [0.13ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 99828 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 25 - 2025-04-25 08:04:30 [0.14ms] */
select * from `model` where `model`.`id` = 319 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 26 - 2025-04-25 08:04:30 [0.13ms] */
select * from `make` where `make`.`id` = 11 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 27 - 2025-04-25 08:04:30 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 28 - 2025-04-25 08:04:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 29 - 2025-04-25 08:04:30 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 9 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 30 - 2025-04-25 08:04:30 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 31 - 2025-04-25 08:04:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 32 - 2025-04-25 08:04:30 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99476 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 33 - 2025-04-25 08:04:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 34 - 2025-04-25 08:04:30 [0.35ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 35 - 2025-04-25 08:04:30 [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/574497
   Query 36 - 2025-04-25 08:04:30 [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/574497
   Query 37 - 2025-04-25 08:04:30 [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/574497
   Query 38 - 2025-04-25 08:04:30 [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/574497
   Query 39 - 2025-04-25 08:04:30 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 40 - 2025-04-25 08:04:30 [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/574497
   Query 41 - 2025-04-25 08:04:30 [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/574497
   Query 42 - 2025-04-25 08:04:30 [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/574497
   Query 43 - 2025-04-25 08:04:30 [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/574497
   Query 44 - 2025-04-25 08:04:30 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574497
   Query 45 - 2025-04-25 08:04:30 [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/574497
   Query 46 - 2025-04-25 08:04:30 [0.27ms] */
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-04-25 08:04:32 [2.1ms] */
select * from `users` where `id` = 6 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-04-25 08:04:32 [0.76ms] */
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-04-25 08:04:32 [0.6ms] */
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-04-25 08:04:32 [0.41ms] */
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-04-25 08:04:32 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 574497 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:32 [0.32ms] */
select * from `service_workflow` where `service_workflow`.`id` in (8) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-25 08:04:32 [0.22ms] */
select * from `service` where `service`.`id` in (8) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-25 08:04:32 [0.21ms] */
select * from `workflow` where `workflow`.`id` in (8) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-25 08:04:32 [0.17ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:32 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (33) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:32 [0.13ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:32 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` in (99476) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:32 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-25 08:04:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 15 - 2025-04-25 08:04:32 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-25 08:04:32 [0.14ms] */
select * from `service` where `service`.`id` = 8 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 17 - 2025-04-25 08:04:32 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-04-25 08:04:32 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 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 19 - 2025-04-25 08:04:32 [0.15ms] */
select * from `invoice` where `transaction_id` = 574497 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-25 08:04:32 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 574497;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-25 08:04:32 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574497 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 22 - 2025-04-25 08:04:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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-04-25 08:04:32 [0.13ms] */
select * from `service` where `service`.`id` = 8 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-04-25 08:04:32 [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.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:32 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 26 - 2025-04-25 08:04:32 [0.14ms] */
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.view-workflow-transaction-component
   Query 27 - 2025-04-25 08:04:32 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 8 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-25 08:04:32 [2.08ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:32 [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/workflow.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:32 [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/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:32 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:33 [0.5ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-25 08:04:33 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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` = 6 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-04-25 08:04:35 [1.31ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:35 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:35 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:35 [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.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:35 [0.27ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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` = 6 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-04-25 08:04:35 [2.24ms] */
select * from `users` where `id` = 6 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-04-25 08:04:35 [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-04-25 08:04:35 [0.62ms] */
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-04-25 08:04:35 [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-04-25 08:04:35 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 574497 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:35 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (8) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-25 08:04:35 [0.13ms] */
select * from `service` where `service`.`id` in (8) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-25 08:04:35 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (8) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-25 08:04:35 [0.16ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:35 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (33) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:35 [0.13ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:35 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:35 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-25 08:04:35 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 15 - 2025-04-25 08:04:35 [0.19ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-25 08:04:35 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 17 - 2025-04-25 08:04:35 [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.view-workflow-transaction-component
   Query 18 - 2025-04-25 08:04:35 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574497, 'APPROVED', '2025-04-25 08:04:35', 6, 6, null, 6, 6, '2025-04-25 08:04:35', '2025-04-25 08:04:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-04-25 08:04:35 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-25 08:04:35 [0.27ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 34, `status` = 'END', `transaction`.`updated_at` = '2025-04-25 08:04:35' where `id` = 574497;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-25 08:04:35 [0.23ms] */
select * from `service` where `service`.`id` = 8 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 22 - 2025-04-25 08:04:35 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 99476 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-04-25 08:04:35 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-04-25 08:04:35 [0.44ms] */
update `party_vehicle` set `classification_id` = 3, `updated_by` = 6, `party_vehicle`.`updated_at` = '2025-04-25 08:04:35' where `id` = 99828;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:35 [0.2ms] */
select * from `party_vehicle` where `id` = 99828 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-25 08:04:35 [0.23ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"classification_id":3},"old":{"classification_id":2}}', 6, 'App\Models\User', 99828, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-04-25 08:04:35', '2025-04-25 08:04:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-04-25 08:04:35 [0.3ms] */
update `vehicle` set `updated_by` = 6, `vehicle`.`updated_at` = '2025-04-25 08:04:35' where `id` = 99476;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-04-25 08:04:35 [0.19ms] */
select * from `vehicle` where `id` = 99476 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-04-25 08:04:35 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 6, 'App\Models\User', 99476, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-25 08:04:35', '2025-04-25 08:04:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-04-25 08:04:35 [0.41ms] */
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":5}', '{"updated_by":6}', 'updated', 99476, 'Modules\Vehicle\Entities\Vehicle', 6, 'App\Models\User', null, '49.47.219.201', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-04-25 08:04:35', '2025-04-25 08:04:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-04-25 08:04:35 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 99476 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-04-25 08:04:35 [0.43ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99476 and `party_vehicle`.`vehicle_id` is not null 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 33 - 2025-04-25 08:04:35 [3.35ms] */
update `vehicle` set `track_classification` = null, `vehicle`.`updated_at` = '2025-04-25 08:04:35' where `id` = 99476;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-04-25 08:04:35 [0.36ms] */
select * from `vehicle` where `id` = 99476 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-04-25 08:04:35 [3.73ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 6, 'App\Models\User', 99476, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-25 08:04:35', '2025-04-25 08:04:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-04-25 08:04:35 [3.21ms] */
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 ('{"track_classification":"3"}', '{"track_classification":null}', 'updated', 99476, 'Modules\Vehicle\Entities\Vehicle', 6, 'App\Models\User', null, '49.47.219.201', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-04-25 08:04:35', '2025-04-25 08:04:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-04-25 08:04:35 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 574497 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-04-25 08:04:35 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 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 39 - 2025-04-25 08:04:35 [0.24ms] */
select * from `invoice` where `transaction_id` = 574497 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-04-25 08:04:35 [0.95ms] */
select * from `payment_documents` where `transaction_id` = 574497;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-04-25 08:04:35 [0.36ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574497 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 42 - 2025-04-25 08:04:35 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 43 - 2025-04-25 08:04:35 [0.2ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-04-25 08:04:36 [1.3ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-04-25 08:04:36 [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-history-component
   Query 3 - 2025-04-25 08:04:36 [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-history-component
   Query 4 - 2025-04-25 08:04:36 [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-history-component
   Query 5 - 2025-04-25 08:04:36 [0.19ms] */
select * from `transaction_workflow` where `transaction_id` = 574497 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-04-25 08:04:36 [0.16ms] */
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 7 - 2025-04-25 08:04:36 [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 8 - 2025-04-25 08:04:36 [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 9 - 2025-04-25 08:04:36 [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 10 - 2025-04-25 08:04:36 [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): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-04-25 08:04:36 [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-04-25 08:04:36 [2.06ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-04-25 08:04:36 [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.workflow-progress-widget
   Query 3 - 2025-04-25 08:04:36 [0.6ms] */
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-04-25 08:04:36 [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-04-25 08:04:36 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 574497 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-04-25 08:04:36 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (8) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-04-25 08:04:36 [0.13ms] */
select * from `service` where `service`.`id` in (8) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-04-25 08:04:36 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (8) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-04-25 08:04:36 [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/widgets.workflow-progress-widget
   Query 10 - 2025-04-25 08:04:36 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (34) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-04-25 08:04:36 [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-04-25 08:04:36 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` in (99476) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-04-25 08:04:36 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-04-25 08:04:36 [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 15 - 2025-04-25 08:04:36 [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 16 - 2025-04-25 08:04:36 [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
   Query 1 - 2025-04-25 08:04:37 [2.03ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2025-04-25 08:04:37 [0.68ms] */
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-04-25 08:04:37 [0.64ms] */
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-04-25 08:04:37 [0.35ms] */
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-04-25 08:04:37 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2025-04-25 08:04:37 [0.39ms] */
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-04-25 08:04:37 [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` = 6 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-04-25 08:04:37 [0.15ms] */
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` = 6 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-04-25 08:04:37 [3.97ms] */
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 (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 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-04-25 08:04:37 [7.82ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 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-04-25 08:04:37 [0.35ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2025-04-25 08:04:37 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 13 - 2025-04-25 08:04:37 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 15 - 2025-04-25 08:04:37 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 19 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-04-25 08:04:37 [0.15ms] */
select * from `party` where `party`.`id` = 36545 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-04-25 08:04:37 [0.17ms] */
select * from `person` where `person`.`id` = 36545 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 18 - 2025-04-25 08:04:37 [23.45ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 52623 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 19 - 2025-04-25 08:04:37 [0.29ms] */
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-04-25 08:04:37 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 21 - 2025-04-25 08:04:37 [0.47ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574496 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-04-25 08:04:37 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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-04-25 08:04:37 [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
   Query 24 - 2025-04-25 08:04:37 [0.36ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 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-04-25 08:04:37 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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-04-25 08:04:37 [0.13ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 27 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 9 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-04-25 08:04:37 [0.13ms] */
select * from `party` where `party`.`id` = 47918 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 29 - 2025-04-25 08:04:37 [0.15ms] */
select * from `person` where `person`.`id` = 47918 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 30 - 2025-04-25 08:04:37 [0.44ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574466 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 31 - 2025-04-25 08:04:37 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 32 - 2025-04-25 08:04:37 [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
   Query 33 - 2025-04-25 08:04:37 [0.43ms] */
select * from `transaction_workflow` where `transaction_id` = 574466 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2025-04-25 08:04:37 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 35 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 36 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 37 - 2025-04-25 08:04:37 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 50215 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 38 - 2025-04-25 08:04:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2025-04-25 08:04:37 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574465 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 40 - 2025-04-25 08:04:37 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 41 - 2025-04-25 08:04:37 [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
   Query 42 - 2025-04-25 08:04:37 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 574465 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 43 - 2025-04-25 08:04:37 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 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 44 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 45 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service` where `service`.`id` = 4 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2025-04-25 08:04:37 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 46188 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 47 - 2025-04-25 08:04:37 [0.14ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2025-04-25 08:04:37 [0.15ms] */
select * from `person` where `person`.`id` = 37100 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 49 - 2025-04-25 08:04:37 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 19 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 50 - 2025-04-25 08:04:37 [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 51 - 2025-04-25 08:04:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 52 - 2025-04-25 08:04:37 [0.86ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574463 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 53 - 2025-04-25 08:04:37 [0.32ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 16 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 54 - 2025-04-25 08:04:37 [0.28ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 55 - 2025-04-25 08:04:37 [0.47ms] */
select * from `transaction_workflow` where `transaction_id` = 574463 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 56 - 2025-04-25 08:04:37 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 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 57 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 58 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 11 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 59 - 2025-04-25 08:04:37 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 3 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 60 - 2025-04-25 08:04:37 [0.15ms] */
select * from `party` where `party`.`id` = 36530 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2025-04-25 08:04:37 [0.15ms] */
select * from `person` where `person`.`id` = 36530 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 62 - 2025-04-25 08:04:37 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 74740 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 63 - 2025-04-25 08:04:37 [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 64 - 2025-04-25 08:04:37 [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 65 - 2025-04-25 08:04:37 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574461 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 66 - 2025-04-25 08:04:37 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 44 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 67 - 2025-04-25 08:04:37 [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
   Query 68 - 2025-04-25 08:04:37 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 574461 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 69 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 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 70 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 71 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 72 - 2025-04-25 08:04:37 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 74074 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 73 - 2025-04-25 08:04:37 [0.14ms] */
select * from `party` where `party`.`id` = 58472 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 74 - 2025-04-25 08:04:37 [0.15ms] */
select * from `person` where `person`.`id` = 56062 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 75 - 2025-04-25 08:04:37 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 76 - 2025-04-25 08:04:37 [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 77 - 2025-04-25 08:04:37 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 78 - 2025-04-25 08:04:37 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574460 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 79 - 2025-04-25 08:04:37 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 11 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 80 - 2025-04-25 08:04:37 [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
   Query 81 - 2025-04-25 08:04:37 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 574460 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 82 - 2025-04-25 08:04:37 [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 83 - 2025-04-25 08:04:37 [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 84 - 2025-04-25 08:04:37 [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 85 - 2025-04-25 08:04:37 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 99510 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 86 - 2025-04-25 08:04:37 [0.13ms] */
select * from `party` where `party`.`id` = 52184 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 87 - 2025-04-25 08:04:37 [0.14ms] */
select * from `person` where `person`.`id` = 52184 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 88 - 2025-04-25 08:04:37 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99871 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 89 - 2025-04-25 08:04:37 [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 90 - 2025-04-25 08:04:37 [0.12ms] */
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 91 - 2025-04-25 08:04:37 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574346 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 92 - 2025-04-25 08:04:37 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 93 - 2025-04-25 08:04:37 [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
   Query 94 - 2025-04-25 08:04:37 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 574346 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 95 - 2025-04-25 08:04:37 [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 96 - 2025-04-25 08:04:37 [0.12ms] */
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 97 - 2025-04-25 08:04:37 [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 98 - 2025-04-25 08:04:37 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 99501 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 99 - 2025-04-25 08:04:37 [0.13ms] */
select * from `party` where `party`.`id` = 9325 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 100 - 2025-04-25 08:04:37 [0.14ms] */
select * from `person` where `person`.`id` = 9325 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 101 - 2025-04-25 08:04:37 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99863 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 102 - 2025-04-25 08:04:37 [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 103 - 2025-04-25 08:04:37 [0.12ms] */
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 104 - 2025-04-25 08:04:37 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510842 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 105 - 2025-04-25 08:04:37 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 106 - 2025-04-25 08:04:37 [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
   Query 107 - 2025-04-25 08:04:37 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 510842 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 108 - 2025-04-25 08:04:37 [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 109 - 2025-04-25 08:04:37 [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 110 - 2025-04-25 08:04:37 [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 111 - 2025-04-25 08:04:37 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 99500 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 112 - 2025-04-25 08:04:37 [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 113 - 2025-04-25 08:04:37 [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 114 - 2025-04-25 08:04:37 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99862 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 115 - 2025-04-25 08:04:37 [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 116 - 2025-04-25 08:04:37 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 117 - 2025-04-25 08:04:37 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510841 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 118 - 2025-04-25 08:04:37 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 119 - 2025-04-25 08:04:37 [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
   Query 120 - 2025-04-25 08:04:37 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 510841 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 121 - 2025-04-25 08:04:37 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 122 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 123 - 2025-04-25 08:04:37 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 124 - 2025-04-25 08:04:37 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 50971 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 125 - 2025-04-25 08:04:37 [0.26ms] */
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 126 - 2025-04-25 08:04:37 [0.66ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510389 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 127 - 2025-04-25 08:04:37 [0.31ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 128 - 2025-04-25 08:04:37 [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
   Query 129 - 2025-04-25 08:04:37 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 510389 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 130 - 2025-04-25 08:04:37 [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 131 - 2025-04-25 08:04:37 [0.14ms] */
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.list-workflow-queue-component
   Query 1 - 2025-04-25 08:04:39 [2.37ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2025-04-25 08:04:39 [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.list-workflow-queue-component
   Query 3 - 2025-04-25 08:04:39 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2025-04-25 08:04:39 [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.list-workflow-queue-component
   Query 5 - 2025-04-25 08:04:39 [0.21ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2025-04-25 08:04:39 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 574496 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2025-04-25 08:04:39 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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.list-workflow-queue-component
   Query 8 - 2025-04-25 08:04:39 [0.14ms] */
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.list-workflow-queue-component
   Query 9 - 2025-04-25 08:04:39 [0.33ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574496, 'CLAIMED', '2025-04-25 08:04:39', 6, 6, 6, 6, '2025-04-25 08:04:39', '2025-04-25 08:04:39');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-04-25 08:04:39 [0.25ms] */
update `transaction` set `assigned_to` = 6, `updated_by` = 6, `transaction`.`updated_at` = '2025-04-25 08:04:39' where `id` = 574496;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 1 - 2025-04-25 08:04:39 [1.32ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 2 - 2025-04-25 08:04:39 [0.46ms] */
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/574496
   Query 3 - 2025-04-25 08:04:39 [0.33ms] */
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/574496
   Query 4 - 2025-04-25 08:04:39 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 5 - 2025-04-25 08:04:39 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 574496 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 6 - 2025-04-25 08:04:39 [0.52ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 7 - 2025-04-25 08:04:39 [0.25ms] */
select * from `invoice` where `transaction_id` = 574496 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 8 - 2025-04-25 08:04:39 [0.64ms] */
select * from `payment_documents` where `transaction_id` = 574496;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 9 - 2025-04-25 08:04:39 [0.24ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574496 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 10 - 2025-04-25 08:04:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 11 - 2025-04-25 08:04:39 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 12 - 2025-04-25 08:04:39 [0.16ms] */
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/574496
   Query 13 - 2025-04-25 08:04:39 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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/574496
   Query 14 - 2025-04-25 08:04:39 [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/574496
   Query 15 - 2025-04-25 08:04:39 [0.26ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 16 - 2025-04-25 08:04:39 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 17 - 2025-04-25 08:04:40 [240.3ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 18 - 2025-04-25 08:04:40 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 19 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 19 - 2025-04-25 08:04:40 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 19 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 20 - 2025-04-25 08:04:40 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 19 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 21 - 2025-04-25 08:04:40 [0.88ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 19 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 22 - 2025-04-25 08:04:40 [0.56ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 52623 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 23 - 2025-04-25 08:04:40 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 24 - 2025-04-25 08:04:40 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 25 - 2025-04-25 08:04:40 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 19 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 26 - 2025-04-25 08:04:40 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 19 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 27 - 2025-04-25 08:04:40 [0.19ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 19 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 28 - 2025-04-25 08:04:40 [0.18ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 52623 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 29 - 2025-04-25 08:04:40 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 30 - 2025-04-25 08:04:40 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 31 - 2025-04-25 08:04:40 [0.18ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 32 - 2025-04-25 08:04:40 [0.17ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 33 - 2025-04-25 08:04:40 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 34 - 2025-04-25 08:04:40 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 35 - 2025-04-25 08:04:40 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 36 - 2025-04-25 08:04:40 [0.17ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 37 - 2025-04-25 08:04:40 [0.35ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 19 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 38 - 2025-04-25 08:04:40 [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/574496
   Query 39 - 2025-04-25 08:04:40 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 40 - 2025-04-25 08:04:40 [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/574496
   Query 41 - 2025-04-25 08:04:40 [0.19ms] */
select * from `party` where `party`.`id` = 36545 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 42 - 2025-04-25 08:04:40 [0.27ms] */
select * from `party` where `party`.`id` = 36545 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 43 - 2025-04-25 08:04:40 [0.22ms] */
select * from `person` where `person`.`id` = 36545 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 44 - 2025-04-25 08:04:40 [0.56ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 36545 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 45 - 2025-04-25 08:04:40 [0.51ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 36545 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 46 - 2025-04-25 08:04:40 [20.97ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 36545 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 47 - 2025-04-25 08:04:40 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 48 - 2025-04-25 08:04:40 [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/574496
   Query 49 - 2025-04-25 08:04:40 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 52623 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 50 - 2025-04-25 08:04:40 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 52623 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 51 - 2025-04-25 08:04:40 [0.26ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 52623 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 52 - 2025-04-25 08:04:40 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 53 - 2025-04-25 08:04:40 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 54 - 2025-04-25 08:04:40 [0.39ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 55 - 2025-04-25 08:04:40 [0.22ms] */
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/574496
   Query 56 - 2025-04-25 08:04:40 [0.16ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 57 - 2025-04-25 08:04:40 [0.17ms] */
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/574496
   Query 58 - 2025-04-25 08:04:40 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 59 - 2025-04-25 08:04:40 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 60 - 2025-04-25 08:04:40 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 61 - 2025-04-25 08:04:40 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 62 - 2025-04-25 08:04:40 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 63 - 2025-04-25 08:04:40 [0.23ms] */
(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/574496
   Query 64 - 2025-04-25 08:04:40 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 65 - 2025-04-25 08:04:40 [0.23ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574496
   Query 66 - 2025-04-25 08:04:40 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-04-25 08:04:42 [2.12ms] */
select * from `users` where `id` = 6 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-04-25 08:04:42 [0.71ms] */
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-04-25 08:04:42 [0.61ms] */
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-04-25 08:04:42 [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/workflow.view-workflow-transaction-component
   Query 5 - 2025-04-25 08:04:42 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 574496 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:42 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` in (7) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-25 08:04:42 [0.2ms] */
select * from `service` where `service`.`id` in (7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-25 08:04:42 [0.19ms] */
select * from `workflow` where `workflow`.`id` in (7) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-25 08:04:42 [0.15ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:42 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (30) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:42 [0.12ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:42 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` in (19) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:42 [0.21ms] */
select * from `party` where `party`.`id` in (36545) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-25 08:04:42 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (52623) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-04-25 08:04:42 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574496 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-25 08:04:42 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-04-25 08:04:42 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-04-25 08:04:42 [0.13ms] */
select * from `service` where `service`.`id` = 7 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 19 - 2025-04-25 08:04:42 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574496 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-04-25 08:04:42 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 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-04-25 08:04:42 [0.14ms] */
select * from `invoice` where `transaction_id` = 574496 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-04-25 08:04:42 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 574496;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-04-25 08:04:42 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574496 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 24 - 2025-04-25 08:04:42 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:42 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-25 08:04:42 [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.view-workflow-transaction-component
   Query 27 - 2025-04-25 08:04:42 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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-04-25 08:04:42 [0.14ms] */
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.view-workflow-transaction-component
   Query 29 - 2025-04-25 08:04:42 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 7 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-04-25 08:04:42 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 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 31 - 2025-04-25 08:04:42 [0.13ms] */
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 32 - 2025-04-25 08:04:42 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 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 33 - 2025-04-25 08:04:42 [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 34 - 2025-04-25 08:04:42 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 574496 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 35 - 2025-04-25 08:04:42 [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.workflow-checklist-component
   Query 1 - 2025-04-25 08:04:42 [2ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:42 [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-checklist-component
   Query 3 - 2025-04-25 08:04:42 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:42 [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.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:42 [0.52ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-25 08:04:42 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 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` = 6 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-04-25 08:04:45 [1.99ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-25 08:04:45 [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.workflow-checklist-component
   Query 3 - 2025-04-25 08:04:45 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-25 08:04:45 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-25 08:04:45 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 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` = 6 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-04-25 08:04:45 [1.58ms] */
select * from `users` where `id` = 6 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-04-25 08:04:45 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-04-25 08:04:45 [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-04-25 08:04:45 [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.view-workflow-transaction-component
   Query 5 - 2025-04-25 08:04:45 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 574496 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-25 08:04:45 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` in (7) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-25 08:04:45 [0.17ms] */
select * from `service` where `service`.`id` in (7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-25 08:04:45 [0.17ms] */
select * from `workflow` where `workflow`.`id` in (7) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-25 08:04:45 [0.19ms] */
select * from `users` where `users`.`id` in (6) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-25 08:04:45 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (30) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-25 08:04:45 [0.15ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-25 08:04:45 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 574496 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-25 08:04:45 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 574496 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-25 08:04:45 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-04-25 08:04:45 [0.25ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-25 08:04:45 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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 17 - 2025-04-25 08:04:45 [0.16ms] */
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.view-workflow-transaction-component
   Query 18 - 2025-04-25 08:04:45 [0.37ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574496, 'APPROVED', '2025-04-25 08:04:45', 6, 6, null, 6, 6, '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-04-25 08:04:45 [0.31ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-25 08:04:45 [0.46ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 31, `status` = 'END', `transaction`.`updated_at` = '2025-04-25 08:04:45' where `id` = 574496;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-25 08:04:45 [0.22ms] */
select * from `service` where `service`.`id` = 7 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 22 - 2025-04-25 08:04:45 [0.24ms] */
select * from `party` where `party`.`id` = 36545 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-04-25 08:04:45 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 19 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-04-25 08:04:45 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 52623 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-04-25 08:04:45 [0.25ms] */
update `party_vehicle` set `updated_by` = 6, `party_vehicle`.`updated_at` = '2025-04-25 08:04:45' where `id` = 52623;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-25 08:04:45 [0.23ms] */
select * from `party_vehicle` where `id` = 52623 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-04-25 08:04:45 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":[],"old":[]}', 6, 'App\Models\User', 52623, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-04-25 08:04:45 [0.37ms] */
update `party` set `updated_by` = 6, `party`.`updated_at` = '2025-04-25 08:04:45' where `id` = 36545;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-04-25 08:04:45 [0.22ms] */
select * from `party` where `id` = 36545 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-04-25 08:04:45 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 6, 'App\Models\User', 36545, 'Modules\Party\Entities\Party', 'updated', '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-04-25 08:04:45 [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":6}', 'updated', 36545, 'Modules\Party\Entities\Party', 6, 'App\Models\User', null, '49.47.219.201', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-04-25 08:04:45 [0.26ms] */
update `vehicle` set `provisional` = 'N', `updated_by` = 6, `vehicle`.`updated_at` = '2025-04-25 08:04:45' where `id` = 19;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-04-25 08:04:45 [0.24ms] */
select * from `vehicle` where `id` = 19 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-04-25 08:04:45 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"provisional":"N"},"old":{"provisional":"Y"}}', 6, 'App\Models\User', 19, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-04-25 08:04:45 [0.23ms] */
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 ('{"provisional":"Y","updated_by":5}', '{"provisional":"N","updated_by":6}', 'updated', 19, 'Modules\Vehicle\Entities\Vehicle', 6, 'App\Models\User', null, '49.47.219.201', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-04-25 08:04:45 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 19 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 37 - 2025-04-25 08:04:45 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 19 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 38 - 2025-04-25 08:04:45 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 19 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 39 - 2025-04-25 08:04:45 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 52623 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 40 - 2025-04-25 08:04:45 [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): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-04-25 08:04:45 [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 42 - 2025-04-25 08:04:45 [0.21ms] */
select * from `party` where `party`.`id` = 36545 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 43 - 2025-04-25 08:04:45 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 19 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 44 - 2025-04-25 08:04:45 [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 45 - 2025-04-25 08:04:45 [0.35ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 19 and `term`.`year` = 2023 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 46 - 2025-04-25 08:04:45 [0.17ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-04-25 08:04:45 [0.25ms] */
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 48 - 2025-04-25 08:04:45 [0.51ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (36545, 2, 19, null, 2, 6, null, 37, 37, 'OPEN', null, null, 6, 6, '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2025-04-25 08:04:45 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574499, 'INITIATED', '2025-04-25 08:04:45', 5, 6, 6, 6, '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2025-04-25 08:04:45 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-04-25 08:04:45 [0.19ms] */
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 52 - 2025-04-25 08:04:45 [0.3ms] */
select * from `term` where `year` = 2023 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 53 - 2025-04-25 08:04:46 [7.82ms] */
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', 'U18-52623-762', 19, 93, 36545, 52623, 574499, 6, 6, '2025-04-25 08:04:45', '2025-04-25 08:04:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2025-04-25 08:04:46 [0.23ms] */
select * from `vehicle_tax` where `id` = 464416 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-04-25 08:04:46 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"U18-52623-762","tax_sticker_id":null,"vehicle_id":19,"term_id":93,"party_id":36545,"transaction_id":574499,"party_vehicle_id":52623,"exempt":"N","migration_id":null}}', 6, 'App\Models\User', 464416, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-04-25 08:04:46 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-04-25 08:04:46 [0.92ms] */
(select * from `service_fee` where `sub_category_id` = 12 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 12 and `classification_id` is null and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2025-04-25 08:04:46 [0.37ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2025-04-25 08:04:46 [0.37ms] */
select * from `party` where `party`.`id` = 36545 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 60 - 2025-04-25 08:04:46 [0.45ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574499, '2023-01-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 36545, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2025-04-25 08:04:46 [0.35ms] */
select * from `invoice` where `id` = 550156 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2025-04-25 08:04:46 [0.42ms] */
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":574499,"party_id":36545,"invoice_amount":"0.00","invoice_date":"2023-01-01 00:00:00","due_date":"2022-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}}', 6, 'App\Models\User', 550156, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-04-25 08:04:46 [0.36ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax fee for 6 TANS', 'Yearly tax fee for 6 TANS', 1, 83.00, 83.00, 550156, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-04-25 08:04:46 [0.26ms] */
select * from `invoice_item` where `id` = 999434 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-04-25 08:04:46 [0.28ms] */
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":"Yearly tax fee for 6 TANS","description":"Yearly tax fee for 6 TANS","unit_price":"83.00","quantity":1,"total_price":"83.00","invoice_id":550156}}', 6, 'App\Models\User', 999434, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-04-25 08:04:46 [0.37ms] */
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 Yearly Tax', 'Service Fee for Yearly Tax', 1, 8.00, 8.00, 550156, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-04-25 08:04:46 [0.39ms] */
select * from `invoice_item` where `id` = 999435 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-04-25 08:04:46 [0.39ms] */
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 Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":550156}}', 6, 'App\Models\User', 999435, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-04-25 08:04:46 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 550156 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-04-25 08:04:46 [0.46ms] */
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` = 550156 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-04-25 08:04:46 [0.35ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550156 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 72 - 2025-04-25 08:04:46 [0.33ms] */
update `invoice` set `invoice_amount` = 91, `outstanding_balance` = 91, `discounts` = 0, `total_invoice_amount` = 91, `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550156;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-04-25 08:04:46 [0.29ms] */
select * from `invoice` where `id` = 550156 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2025-04-25 08:04:46 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"91.00","outstanding_balance":"91.00","discounts":"0.00","total_invoice_amount":"91.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 6, 'App\Models\User', 550156, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-04-25 08:04:46 [0.26ms] */
update `invoice` set `invoice_number` = 'INV-913-550156738', `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550156;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2025-04-25 08:04:46 [0.29ms] */
select * from `invoice` where `id` = 550156 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2025-04-25 08:04:46 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"91.00","outstanding_balance":"91.00","discounts":"0.00","total_invoice_amount":"91.00","invoice_number":"INV-913-550156738","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 6, 'App\Models\User', 550156, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-04-25 08:04:46 [0.63ms] */
update `transaction` set `party_vehicle_id` = 52623, `vehicle_tax_id` = 464416, `invoice_id` = 550156, `transaction`.`updated_at` = '2025-04-25 08:04:46' where `id` = 574499;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-04-25 08:04:46 [0.55ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 19 and `term`.`year` = 2023 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 80 - 2025-04-25 08:04:46 [0.49ms] */
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 81 - 2025-04-25 08:04:46 [0.48ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2025-04-25 08:04:46 [0.37ms] */
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 (36545, 2, 19, null, 2, 6, null, 37, 37, 'OPEN', null, null, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2025-04-25 08:04:46 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574500, 'INITIATED', '2025-04-25 08:04:46', 5, 6, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2025-04-25 08:04:46 [0.31ms] */
select * from `term` where `year` = 2023 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 85 - 2025-04-25 08:04:46 [0.29ms] */
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', '1MA-52623-884', 19, 94, 36545, 52623, 574500, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2025-04-25 08:04:46 [0.27ms] */
select * from `vehicle_tax` where `id` = 464417 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-04-25 08:04:46 [0.28ms] */
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":"1MA-52623-884","tax_sticker_id":null,"vehicle_id":19,"term_id":94,"party_id":36545,"transaction_id":574500,"party_vehicle_id":52623,"exempt":"N","migration_id":null}}', 6, 'App\Models\User', 464417, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-04-25 08:04:46 [0.79ms] */
(select * from `service_fee` where `sub_category_id` = 12 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` = 12 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 89 - 2025-04-25 08:04:46 [0.62ms] */
(select * from `service_fee` where `sub_category_id` = 12 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 12 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2025-04-25 08:04:46 [0.27ms] */
select * from `term` where `term`.`id` = 94 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-04-25 08:04:46 [0.28ms] */
select * from `party` where `party`.`id` = 36545 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-04-25 08:04:46 [0.28ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574500, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 36545, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-04-25 08:04:46 [0.28ms] */
select * from `invoice` where `id` = 550157 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2025-04-25 08:04:46 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":574500,"party_id":36545,"invoice_amount":"0.00","invoice_date":"2023-03-01 00:00:00","due_date":"2023-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}}', 6, 'App\Models\User', 550157, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-04-25 08:04:46 [0.28ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 6 TANS', '6 TANS Quarterly Tax', 1, 50.00, 50.00, 550157, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-04-25 08:04:46 [0.28ms] */
select * from `invoice_item` where `id` = 999436 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-04-25 08:04:46 [0.28ms] */
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 TaxFee for 6 TANS","description":"6 TANS Quarterly Tax","unit_price":"50.00","quantity":1,"total_price":"50.00","invoice_id":550157}}', 6, 'App\Models\User', 999436, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-04-25 08:04:46 [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, 550157, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-04-25 08:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 999437 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-04-25 08:04:46 [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":550157}}', 6, 'App\Models\User', 999437, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-04-25 08:04:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550157 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-04-25 08:04:46 [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` = 550157 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-04-25 08:04:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550157 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-04-25 08:04:46 [0.19ms] */
update `invoice` set `invoice_amount` = 58, `outstanding_balance` = 58, `discounts` = 0, `total_invoice_amount` = 58, `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550157;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice` where `id` = 550157 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2025-04-25 08:04:46 [0.43ms] */
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":"58.00","outstanding_balance":"58.00","discounts":"0.00","total_invoice_amount":"58.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 6, 'App\Models\User', 550157, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-04-25 08:04:46 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-931-550157842', `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550157;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice` where `id` = 550157 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-04-25 08:04:46 [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":"58.00","outstanding_balance":"58.00","discounts":"0.00","total_invoice_amount":"58.00","invoice_number":"INV-931-550157842","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 6, 'App\Models\User', 550157, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-04-25 08:04:46 [0.19ms] */
update `transaction` set `party_vehicle_id` = 52623, `vehicle_tax_id` = 464417, `invoice_id` = 550157, `transaction`.`updated_at` = '2025-04-25 08:04:46' where `id` = 574500;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-04-25 08:04:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 19 and `term`.`year` = 2023 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 112 - 2025-04-25 08:04:46 [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 113 - 2025-04-25 08:04:46 [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 114 - 2025-04-25 08:04:46 [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 (36545, 2, 19, null, 2, 6, null, 37, 37, 'OPEN', null, null, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2025-04-25 08:04:46 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574501, 'INITIATED', '2025-04-25 08:04:46', 5, 6, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2025-04-25 08:04:46 [0.2ms] */
select * from `term` where `year` = 2023 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 117 - 2025-04-25 08:04:46 [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', 'OX2-52623-473', 19, 95, 36545, 52623, 574501, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-04-25 08:04:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 464418 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2025-04-25 08:04:46 [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":"OX2-52623-473","tax_sticker_id":null,"vehicle_id":19,"term_id":95,"party_id":36545,"transaction_id":574501,"party_vehicle_id":52623,"exempt":"N","migration_id":null}}', 6, 'App\Models\User', 464418, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-04-25 08:04:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 12 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` = 12 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-04-25 08:04:46 [0.18ms] */
(select * from `service_fee` where `sub_category_id` = 12 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 12 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2025-04-25 08:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2025-04-25 08:04:46 [0.18ms] */
select * from `party` where `party`.`id` = 36545 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 124 - 2025-04-25 08:04:46 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574501, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 36545, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice` where `id` = 550158 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2025-04-25 08:04:46 [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":574501,"party_id":36545,"invoice_amount":"0.00","invoice_date":"2023-06-01 00:00:00","due_date":"2023-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}}', 6, 'App\Models\User', 550158, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-04-25 08:04:46 [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 TaxFee for 6 TANS', '6 TANS Quarterly Tax', 1, 50.00, 50.00, 550158, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-04-25 08:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 999438 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-04-25 08:04:46 [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 TaxFee for 6 TANS","description":"6 TANS Quarterly Tax","unit_price":"50.00","quantity":1,"total_price":"50.00","invoice_id":550158}}', 6, 'App\Models\User', 999438, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-04-25 08:04:46 [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, 550158, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-04-25 08:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 999439 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-04-25 08:04:46 [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":550158}}', 6, 'App\Models\User', 999439, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-04-25 08:04:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550158 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-04-25 08:04:46 [0.25ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 550158 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-04-25 08:04:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550158 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 136 - 2025-04-25 08:04:46 [0.17ms] */
update `invoice` set `invoice_amount` = 58, `outstanding_balance` = 58, `discounts` = 0, `total_invoice_amount` = 58, `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550158;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-04-25 08:04:46 [0.2ms] */
select * from `invoice` where `id` = 550158 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2025-04-25 08:04:46 [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":"58.00","outstanding_balance":"58.00","discounts":"0.00","total_invoice_amount":"58.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 6, 'App\Models\User', 550158, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-04-25 08:04:46 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-196-550158285', `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550158;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice` where `id` = 550158 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-04-25 08:04:46 [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":"58.00","outstanding_balance":"58.00","discounts":"0.00","total_invoice_amount":"58.00","invoice_number":"INV-196-550158285","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 6, 'App\Models\User', 550158, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-04-25 08:04:46 [0.18ms] */
update `transaction` set `party_vehicle_id` = 52623, `vehicle_tax_id` = 464418, `invoice_id` = 550158, `transaction`.`updated_at` = '2025-04-25 08:04:46' where `id` = 574501;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-04-25 08:04:46 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 19 and `term`.`year` = 2023 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 144 - 2025-04-25 08:04:46 [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 145 - 2025-04-25 08:04:46 [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 146 - 2025-04-25 08:04:46 [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 (36545, 2, 19, null, 2, 6, null, 37, 37, 'OPEN', null, null, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2025-04-25 08:04:46 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574502, 'INITIATED', '2025-04-25 08:04:46', 5, 6, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2025-04-25 08:04:46 [0.2ms] */
select * from `term` where `year` = 2023 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 149 - 2025-04-25 08:04:46 [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', 'CY8-52623-219', 19, 96, 36545, 52623, 574502, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2025-04-25 08:04:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 464419 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2025-04-25 08:04:46 [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":"CY8-52623-219","tax_sticker_id":null,"vehicle_id":19,"term_id":96,"party_id":36545,"transaction_id":574502,"party_vehicle_id":52623,"exempt":"N","migration_id":null}}', 6, 'App\Models\User', 464419, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2025-04-25 08:04:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 12 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` = 12 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 153 - 2025-04-25 08:04:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 12 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 12 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2025-04-25 08:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2025-04-25 08:04:46 [0.18ms] */
select * from `party` where `party`.`id` = 36545 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 156 - 2025-04-25 08:04:46 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574502, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 36545, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice` where `id` = 550159 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-04-25 08:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":574502,"party_id":36545,"invoice_amount":"0.00","invoice_date":"2023-09-01 00:00:00","due_date":"2023-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}}', 6, 'App\Models\User', 550159, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2025-04-25 08:04:46 [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 TaxFee for 6 TANS', '6 TANS Quarterly Tax', 1, 50.00, 50.00, 550159, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-04-25 08:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 999440 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-04-25 08:04:46 [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 TaxFee for 6 TANS","description":"6 TANS Quarterly Tax","unit_price":"50.00","quantity":1,"total_price":"50.00","invoice_id":550159}}', 6, 'App\Models\User', 999440, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2025-04-25 08:04:46 [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, 550159, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice_item` where `id` = 999441 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2025-04-25 08:04:46 [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":550159}}', 6, 'App\Models\User', 999441, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2025-04-25 08:04:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550159 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2025-04-25 08:04:46 [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` = 550159 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2025-04-25 08:04:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550159 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 168 - 2025-04-25 08:04:46 [0.18ms] */
update `invoice` set `invoice_amount` = 58, `outstanding_balance` = 58, `discounts` = 0, `total_invoice_amount` = 58, `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550159;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2025-04-25 08:04:46 [0.18ms] */
select * from `invoice` where `id` = 550159 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2025-04-25 08:04:46 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"58.00","outstanding_balance":"58.00","discounts":"0.00","total_invoice_amount":"58.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 6, 'App\Models\User', 550159, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2025-04-25 08:04:46 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-779-550159296', `invoice`.`updated_at` = '2025-04-25 08:04:46' where `id` = 550159;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2025-04-25 08:04:46 [0.19ms] */
select * from `invoice` where `id` = 550159 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2025-04-25 08:04:46 [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":"58.00","outstanding_balance":"58.00","discounts":"0.00","total_invoice_amount":"58.00","invoice_number":"INV-779-550159296","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 6, 'App\Models\User', 550159, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2025-04-25 08:04:46 [0.18ms] */
update `transaction` set `party_vehicle_id` = 52623, `vehicle_tax_id` = 464419, `invoice_id` = 550159, `transaction`.`updated_at` = '2025-04-25 08:04:46' where `id` = 574502;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2025-04-25 08:04:46 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 19 and `term`.`year` = 2024 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 176 - 2025-04-25 08:04:46 [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 177 - 2025-04-25 08:04:46 [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 178 - 2025-04-25 08:04:46 [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 (36545, 2, 19, null, 2, 6, null, 37, 37, 'OPEN', null, null, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2025-04-25 08:04:46 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574503, 'INITIATED', '2025-04-25 08:04:46', 5, 6, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2025-04-25 08:04:46 [0.34ms] */
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 181 - 2025-04-25 08:04:46 [0.33ms] */
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 182 - 2025-04-25 08:04:46 [0.4ms] */
select * from `term` where `year` = 2024 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 183 - 2025-04-25 08:04:46 [0.38ms] */
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', 'SHJ-52623-551', 19, 97, 36545, 52623, 574503, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2025-04-25 08:04:46 [0.34ms] */
select * from `vehicle_tax` where `id` = 464420 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2025-04-25 08:04:46 [0.36ms] */
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":"SHJ-52623-551","tax_sticker_id":null,"vehicle_id":19,"term_id":97,"party_id":36545,"transaction_id":574503,"party_vehicle_id":52623,"exempt":"N","migration_id":null}}', 6, 'App\Models\User', 464420, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2025-04-25 08:04:46 [0.44ms] */
(select * from `service_fee` where `sub_category_id` = 12 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 12 and `classification_id` is null and `frequency_type_id` = 3 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` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2025-04-25 08:04:46 [0.34ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2025-04-25 08:04:46 [0.39ms] */
select * from `party` where `party`.`id` = 36545 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 189 - 2025-04-25 08:04:46 [0.27ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574503, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 36545, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2025-04-25 08:04:46 [0.19ms] */
select * from `invoice` where `id` = 550160 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2025-04-25 08:04:46 [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":574503,"party_id":36545,"invoice_amount":"0.00","invoice_date":"2023-12-01 00:00:00","due_date":"2023-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}}', 6, 'App\Models\User', 550160, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2025-04-25 08:04:46 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax fee for 6 TANS', 'Yearly tax fee for 6 TANS', 1, 83.00, 83.00, 550160, 6, 6, '2025-04-25 08:04:46', '2025-04-25 08:04:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2025-04-25 08:04:46 [0.16ms] */
