select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 48834 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 126 - 2025-06-09 08:58:37 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 48834 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 127 - 2025-06-09 08:58:37 [0.21ms] */
select * from `party` where `party`.`id` = 38850 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 128 - 2025-06-09 08:58:37 [0.23ms] */
select * from `person` where `person`.`id` = 38850 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 129 - 2025-06-09 08:58: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): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 130 - 2025-06-09 08:58:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 131 - 2025-06-09 08:58:37 [0.12ms] */
select * from `model` where `model`.`id` = 1381 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 132 - 2025-06-09 08:58:37 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 133 - 2025-06-09 08:58:37 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 134 - 2025-06-09 08:58:37 [0.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 48834 and `term`.`first_date_of_quarter` <= '2025-06-09 08:58:37' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 135 - 2025-06-09 08:58:37 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 136 - 2025-06-09 08:58:37 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 137 - 2025-06-09 08:58:37 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 138 - 2025-06-09 08:58:37 [0.15ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 139 - 2025-06-09 08:58:37 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 140 - 2025-06-09 08:58:37 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 141 - 2025-06-09 08:58:37 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 1 - 2025-06-09 08:58:38 [1.3ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 2 - 2025-06-09 08:58:38 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 3 - 2025-06-09 08:58:38 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 4 - 2025-06-09 08:58:38 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-09 08:58:39 [1.99ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-09 08:58:39 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-06-09 08:58:39 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-09 08:58:39 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-06-09 08:58:39 [0.32ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-06-09 08:58:39 [1.71ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-06-09 08:58:39 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-06-09 08:58:39 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-06-09 08:58:39 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-06-09 08:58:39 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 633887 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-06-09 08:58:39 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-06-09 08:58:39 [0.25ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-06-09 08:58:39 [0.25ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-06-09 08:58:39 [0.27ms] */
select * from `users` where `users`.`id` in (82) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-06-09 08:58:39 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-06-09 08:58:39 [0.24ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-06-09 08:58:39 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (101660) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-06-09 08:58:39 [0.36ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-06-09 08:58:39 [0.44ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-06-09 08:58:39 [0.42ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-06-09 08:58:39 [0.39ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-06-09 08:58:39 [0.3ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-06-09 08:58:39 [0.33ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 101643 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-06-09 08:58:39 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-06-09 08:58:39 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-06-09 08:58:39 [0.26ms] */
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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-06-09 08:58:39 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-06-09 08:58:39 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-06-09 08:58:39 [0.22ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-06-09 08:58:39 [0.55ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633887, 'APPROVED', '2025-06-09 08:58:39', 8, 82, null, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-06-09 08:58:39 [0.46ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-06-09 08:58:39 [0.68ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 5, `status` = 'END', `transaction`.`updated_at` = '2025-06-09 08:58:39' where `id` = 633887;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-06-09 08:58:39 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-06-09 08:58:39 [0.42ms] */
select * from `party_vehicle` where `transaction_id` = 633887 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-06-09 08:58:39 [0.61ms] */
update `party_vehicle` set `status` = 'REGISTERED', `issued_date` = '2025-06-09 08:58:39', `updated_by` = 82, `party_vehicle`.`updated_at` = '2025-06-09 08:58:39' where `id` = 101660;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-06-09 08:58:39 [0.32ms] */
select * from `party_vehicle` where `id` = 101660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-06-09 08:58:39 [0.58ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"issued_date":"2025-06-09","status":"REGISTERED"},"old":{"issued_date":null,"status":"PAID"}}', 82, 'App\Models\User', 101660, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-06-09 08:58:39 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 101082 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-06-09 08:58:39 [0.46ms] */
update `vehicle` set `updated_by` = 82, `vehicle`.`updated_at` = '2025-06-09 08:58:39' where `id` = 101082;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-06-09 08:58:39 [0.3ms] */
select * from `vehicle` where `id` = 101082 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-06-09 08:58:39 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 82, 'App\Models\User', 101082, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-06-09 08:58:39 [0.43ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":79}', '{"updated_by":82}', 'updated', 101082, 'Modules\Vehicle\Entities\Vehicle', 82, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-06-09 08:58:39 [0.23ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-06-09 08:58:39 [0.87ms] */
update `party` set `party`.`updated_at` = '2025-06-09 08:58:39' where `id` = 58195;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-06-09 08:58:39 [0.27ms] */
select * from `party` where `id` = 58195 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-06-09 08:58:39 [0.37ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 82, 'App\Models\User', 58195, 'Modules\Party\Entities\Party', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-06-09 08:58:39 [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', 58195, 'Modules\Party\Entities\Party', 82, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-06-09 08:58:39 [0.65ms] */
update `person` set `person`.`updated_at` = '2025-06-09 08:58:39' where `person`.`id` = 55801;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-06-09 08:58:39 [0.2ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-06-09 08:58:39 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 101082 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-06-09 08:58:39 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-06-09 08:58:39 [0.24ms] */
insert into `vehicle_title` (`party_id`, `vehicle_id`, `title_number`, `issued_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58195, 101082, 'KNJ-633887-565', '2025-06-09 08:58:39', 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2025-06-09 08:58:39 [0.16ms] */
select * from `vehicle_title` where `id` = 101281 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2025-06-09 08:58:39 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_title', '{"attributes":{"title_number":"KNJ-633887-565","party_id":58195,"vehicle_id":101082,"issued_date":"2025-06-09 08:58:39"}}', 82, 'App\Models\User', 101281, 'Modules\Vehicle\Entities\VehicleTitle', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2025-06-09 08:58:39 [0.26ms] */
select * from `invoice` where `transaction_id` = 633887 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-06-09 08:58:39 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-06-09 08:58:39 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2025-06-09 08:58:39 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 101082 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2025-06-09 08:58:39 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-06-09 08:58:39 [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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-06-09 08:58:39 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 101082 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-06-09 08:58:39 [0.23ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2025-06-09 08:58:39 [0.27ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2025-06-09 08:58:39 [0.35ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2025-06-09 08:58:39 [0.4ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2025-06-09 08:58:39 [0.28ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2025-06-09 08:58:39 [0.43ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-06-09 08:58:39 [0.36ms] */
select * from `person` where `person`.`id` = 55801 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-06-09 08:58:39 [0.37ms] */
select * from `address` where `address`.`id` = 58195 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-06-09 08:58:39 [0.34ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-06-09 08:58:39 [0.41ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-06-09 08:58:39 [0.25ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633887, 'TITLE_GENERATED', '2025-06-09 08:58:39', 9, 82, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-06-09 08:58:39 [0.65ms] */
select * from `party_vehicle` where `vehicle_id` = 101082 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-06-09 08:58:39 [0.38ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 101082 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-06-09 08:58:39 [0.45ms] */
select * from `party_vehicle` where `vehicle_id` = 101082 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-06-09 08:58:39 [0.53ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2025-06-09 08:58:39 [0.28ms] */
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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-06-09 08:58:39 [0.26ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2025-06-09 08:58:39 [0.37ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-06-09 08:58:39 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 101082 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2025-06-09 08:58:39 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2025-06-09 08:58:39 [0.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 101082 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-06-09 08:58:39 [0.27ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-06-09 08:58:39 [0.41ms] */
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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2025-06-09 08:58:39 [0.28ms] */
select * from `branches` where `branches`.`id` = 2 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2025-06-09 08:58:39 [1.08ms] */
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 (58195, 2, 101082, null, 2, 6, 2, 2, 2, 'OPEN', null, null, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2025-06-09 08:58:39 [0.38ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633889, 'INITIATED', '2025-06-09 08:58:39', 5, 82, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2025-06-09 08:58:39 [0.38ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2025-06-09 08:58:39 [0.35ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2025-06-09 08:58:39 [0.44ms] */
select * from `term` where `year` = 2025 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2025-06-09 08:58:39 [0.56ms] */
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', 'ZU3-633887-375', 101082, 104, 58195, 101660, 633889, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-06-09 08:58:39 [0.28ms] */
select * from `vehicle_tax` where `id` = 497416 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-06-09 08:58:39 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"ZU3-633887-375","tax_sticker_id":null,"vehicle_id":101082,"term_id":104,"party_id":58195,"transaction_id":633889,"party_vehicle_id":101660,"exempt":"N","migration_id":null}}', 82, 'App\Models\User', 497416, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2025-06-09 08:58:39 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2025-06-09 08:58:39 [0.84ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2025-06-09 08:58:39 [0.27ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2025-06-09 08:58:39 [0.31ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-06-09 08:58:39 [0.46ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633889, '2025-06-09 00:00:00', '2025-03-01 00:00:00', 'OPEN', 58195, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2025-06-09 08:58:39 [0.29ms] */
select * from `invoice` where `id` = 606874 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-06-09 08:58:39 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":633889,"party_id":58195,"invoice_amount":"0.00","invoice_date":"2025-06-09 00:00:00","due_date":"2025-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 82, 'App\Models\User', 606874, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-06-09 08:58:39 [0.43ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('First Time Tax Fee for 14 HP', '14 HP First time Fee', 1, 179.00, 179.00, 606874, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-06-09 08:58:39 [0.27ms] */
select * from `invoice_item` where `id` = 1089617 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-06-09 08:58:39 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"First Time Tax Fee for 14 HP","description":"14 HP First time Fee","unit_price":"179.00","quantity":1,"total_price":"179.00","invoice_id":606874}}', 82, 'App\Models\User', 1089617, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-06-09 08:58:39 [0.18ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for First Time Tax', 'Service Fee for First Time Tax', 1, 8.00, 8.00, 606874, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-06-09 08:58:39 [0.17ms] */
select * from `invoice_item` where `id` = 1089618 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-06-09 08:58:39 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for First Time Tax","description":"Service Fee for First Time Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":606874}}', 82, 'App\Models\User', 1089618, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2025-06-09 08:58:39 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 606874 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-06-09 08:58:39 [0.28ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 606874 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2025-06-09 08:58:39 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 606874 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-06-09 08:58:39 [0.19ms] */
update `invoice` set `invoice_amount` = 187, `outstanding_balance` = 187, `discounts` = 0, `total_invoice_amount` = 187, `invoice`.`updated_at` = '2025-06-09 08:58:39' where `id` = 606874;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2025-06-09 08:58:39 [0.18ms] */
select * from `invoice` where `id` = 606874 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-06-09 08:58:39 [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":"187.00","outstanding_balance":"187.00","discounts":"0.00","total_invoice_amount":"187.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 82, 'App\Models\User', 606874, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-06-09 08:58:39 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-374-606874489', `invoice`.`updated_at` = '2025-06-09 08:58:39' where `id` = 606874;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-06-09 08:58:39 [0.18ms] */
select * from `invoice` where `id` = 606874 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-06-09 08:58:39 [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":"187.00","outstanding_balance":"187.00","discounts":"0.00","total_invoice_amount":"187.00","invoice_number":"INV-374-606874489","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 82, 'App\Models\User', 606874, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-06-09 08:58:39 [0.2ms] */
update `transaction` set `party_vehicle_id` = 101660, `vehicle_tax_id` = 497416, `invoice_id` = 606874, `transaction`.`updated_at` = '2025-06-09 08:58:39' where `id` = 633889;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2025-06-09 08:58:39 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 101082 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2025-06-09 08:58:39 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2025-06-09 08:58:39 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2025-06-09 08:58:39 [0.25ms] */
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 (58195, 2, 101082, null, 2, 6, 2, 2, 2, 'OPEN', null, null, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2025-06-09 08:58:39 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633890, 'INITIATED', '2025-06-09 08:58:39', 5, 82, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2025-06-09 08:58:39 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-06-09 08:58:39 [0.22ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'PVE-633887-320', 101082, 105, 58195, 101660, 633890, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2025-06-09 08:58:39 [0.17ms] */
select * from `vehicle_tax` where `id` = 497417 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-06-09 08:58:39 [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":"PVE-633887-320","tax_sticker_id":null,"vehicle_id":101082,"term_id":105,"party_id":58195,"transaction_id":633890,"party_vehicle_id":101660,"exempt":"N","migration_id":null}}', 82, 'App\Models\User', 497417, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2025-06-09 08:58:39 [0.45ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2025-06-09 08:58:39 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2025-06-09 08:58:39 [0.19ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2025-06-09 08:58:39 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633890, '2025-06-09 00:00:00', '2025-06-01 00:00:00', 'OPEN', 58195, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-06-09 08:58:39 [0.18ms] */
select * from `invoice` where `id` = 606875 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2025-06-09 08:58:39 [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":633890,"party_id":58195,"invoice_amount":"0.00","invoice_date":"2025-06-09 00:00:00","due_date":"2025-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 82, 'App\Models\User', 606875, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-06-09 08:58:39 [0.16ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 606875, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-06-09 08:58:39 [0.16ms] */
select * from `invoice_item` where `id` = 1089619 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-06-09 08:58:39 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":606875}}', 82, 'App\Models\User', 1089619, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-06-09 08:58:39 [0.18ms] */
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, 606875, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-06-09 08:58:39 [0.16ms] */
select * from `invoice_item` where `id` = 1089620 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-06-09 08:58:39 [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":606875}}', 82, 'App\Models\User', 1089620, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-06-09 08:58:39 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 606875 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-06-09 08:58:39 [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` = 606875 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-06-09 08:58:39 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 606875 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2025-06-09 08:58:39 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-06-09 08:58:39' where `id` = 606875;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-06-09 08:58:39 [0.18ms] */
select * from `invoice` where `id` = 606875 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2025-06-09 08:58:39 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 82, 'App\Models\User', 606875, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-06-09 08:58:39 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-521-606875786', `invoice`.`updated_at` = '2025-06-09 08:58:39' where `id` = 606875;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-06-09 08:58:39 [0.18ms] */
select * from `invoice` where `id` = 606875 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-06-09 08:58:39 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-521-606875786","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 82, 'App\Models\User', 606875, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-06-09 08:58:39 [0.19ms] */
update `transaction` set `party_vehicle_id` = 101660, `vehicle_tax_id` = 497417, `invoice_id` = 606875, `transaction`.`updated_at` = '2025-06-09 08:58:39' where `id` = 633890;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-06-09 08:58:39 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 101082 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2025-06-09 08:58:39 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2025-06-09 08:58:39 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2025-06-09 08:58:39 [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 (58195, 2, 101082, null, 2, 6, 2, 2, 2, 'OPEN', null, null, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2025-06-09 08:58:39 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633891, 'INITIATED', '2025-06-09 08:58:39', 5, 82, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2025-06-09 08:58:39 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2025-06-09 08:58:39 [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', 'NM9-633887-317', 101082, 106, 58195, 101660, 633891, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2025-06-09 08:58:39 [0.17ms] */
select * from `vehicle_tax` where `id` = 497418 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2025-06-09 08:58:39 [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":"NM9-633887-317","tax_sticker_id":null,"vehicle_id":101082,"term_id":106,"party_id":58195,"transaction_id":633891,"party_vehicle_id":101660,"exempt":"N","migration_id":null}}', 82, 'App\Models\User', 497418, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2025-06-09 08:58:39 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2025-06-09 08:58:39 [0.17ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2025-06-09 08:58:39 [0.43ms] */
select * from `party` where `party`.`id` = 58195 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2025-06-09 08:58:39 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633891, '2025-09-01 00:00:00', '2025-09-01 00:00:00', 'OPEN', 58195, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2025-06-09 08:58:39 [0.18ms] */
select * from `invoice` where `id` = 606876 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2025-06-09 08:58:39 [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":633891,"party_id":58195,"invoice_amount":"0.00","invoice_date":"2025-09-01 00:00:00","due_date":"2025-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 82, 'App\Models\User', 606876, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-06-09 08:58:39 [0.16ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 606876, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2025-06-09 08:58:39 [0.19ms] */
select * from `invoice_item` where `id` = 1089621 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-06-09 08:58:39 [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 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":606876}}', 82, 'App\Models\User', 1089621, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-06-09 08:58:39 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 606876, 82, 82, '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2025-06-09 08:58:39 [0.17ms] */
select * from `invoice_item` where `id` = 1089622 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2025-06-09 08:58:39 [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":606876}}', 82, 'App\Models\User', 1089622, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2025-06-09 08:58:39 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 606876 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2025-06-09 08:58:39 [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` = 606876 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2025-06-09 08:58:39 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 606876 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2025-06-09 08:58:39 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-06-09 08:58:39' where `id` = 606876;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2025-06-09 08:58:39 [0.19ms] */
select * from `invoice` where `id` = 606876 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2025-06-09 08:58:39 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 82, 'App\Models\User', 606876, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2025-06-09 08:58:39 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-910-606876998', `invoice`.`updated_at` = '2025-06-09 08:58:39' where `id` = 606876;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2025-06-09 08:58:39 [0.19ms] */
select * from `invoice` where `id` = 606876 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2025-06-09 08:58:39 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-910-606876998","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 82, 'App\Models\User', 606876, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:58:39', '2025-06-09 08:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2025-06-09 08:58:39 [0.19ms] */
update `transaction` set `party_vehicle_id` = 101660, `vehicle_tax_id` = 497418, `invoice_id` = 606876, `transaction`.`updated_at` = '2025-06-09 08:58:39' where `id` = 633891;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2025-06-09 08:58:39 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 606872 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2025-06-09 08:58:39 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 101082 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2025-06-09 08:58:39 [0.53ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2025-06-09 08:58:39 [0.52ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2025-06-09 08:58:39 [0.49ms] */
select * from `invoice` where `transaction_id` = 633887 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2025-06-09 08:58:39 [0.24ms] */
select * from `invoice_payment` where `invoice_id` = 606872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2025-06-09 08:58:39 [15.24ms] */
select * from `payment_documents` where `transaction_id` = 633887;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2025-06-09 08:58:39 [0.16ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 633887 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2025-06-09 08:58:39 [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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2025-06-09 08:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2025-06-09 08:58:39 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2025-06-09 08:58:39 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 1 - 2025-06-09 08:58:39 [1.41ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 2 - 2025-06-09 08:58:40 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 3 - 2025-06-09 08:58:40 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 4 - 2025-06-09 08:58:40 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 5 - 2025-06-09 08:58:40 [0.27ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 6 - 2025-06-09 08:58:40 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 7 - 2025-06-09 08:58: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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2025-06-09 08:58:40 [313.37ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2025-06-09 08:58:40 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2025-06-09 08:58:40 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2025-06-09 08:58:40 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2025-06-09 08:58:40 [0.1ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2025-06-09 08:58:40 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2025-06-09 08:58:40 [0.24ms] */
select * from `district` where `district`.`id` = 2 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2025-06-09 08:58:40 [0.17ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2025-06-09 08:58:40 [0.16ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2025-06-09 08:58:40 [0.21ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 8 - 2025-06-09 08:58:40 [0.2ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 9 - 2025-06-09 08:58:40 [0.14ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 1 - 2025-06-09 08:58:40 [1.34ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-06-09 08:58:40 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 3 - 2025-06-09 08:58:40 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 4 - 2025-06-09 08:58:40 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 5 - 2025-06-09 08:58:40 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-06-09 08:58:40 [1.3ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-06-09 08:58:40 [1.26ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-06-09 08:58:40 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-06-09 08:58:40 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2025-06-09 08:58:40 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2025-06-09 08:58:40 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2025-06-09 08:58:40 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2025-06-09 08:58:40 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2025-06-09 08:58:40 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 633887 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-06-09 08:58:40 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-06-09 08:58:40 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-06-09 08:58:40 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-06-09 08:58:40 [0.16ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-06-09 08:58:40 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (5) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` in (9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-06-09 08:58:40 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (101660) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-06-09 08:58:40 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-06-09 08:58:40 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` in (101082) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-06-09 08:58:40 [0.24ms] */
select * from `party` where `party`.`id` in (58195) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-06-09 08:58:40 [0.15ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2025-06-09 08:58:40 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-06-09 08:58:40 [0.14ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-06-09 08:58:40 [0.13ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2025-06-09 08:58:40 [0.13ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-06-09 08:58:40 [0.16ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2025-06-09 08:58:40 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-06-09 08:58:40 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-06-09 08:58:40 [0.15ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2025-06-09 08:58:40 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-06-09 08:58:40 [0.14ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-06-09 08:58:40 [0.15ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2025-06-09 08:58:40 [0.17ms] */
select * from `users` where `users`.`id` = 114 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 25 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2025-06-09 08:58:40 [0.14ms] */
select * from `users` where `users`.`id` = 114 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 16 - 2025-06-09 08:58:40 [0.14ms] */
select * from `users` where `users`.`id` = 80 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 17 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 18 - 2025-06-09 08:58:40 [0.14ms] */
select * from `users` where `users`.`id` = 80 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 19 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 20 - 2025-06-09 08:58:40 [0.14ms] */
select * from `users` where `users`.`id` = 79 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 21 - 2025-06-09 08:58:40 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-06-09 08:58:41 [2.09ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-06-09 08:58:41 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-06-09 08:58:41 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-06-09 08:58:41 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-06-09 08:58:41 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 633887 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-06-09 08:58:41 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-06-09 08:58:41 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-06-09 08:58:41 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (101660) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-06-09 08:58:41 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-06-09 08:58:41 [0.14ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-06-09 08:58:41 [0.14ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-06-09 08:58:41 [0.13ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-06-09 08:58:41 [0.13ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-06-09 08:58:41 [0.15ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-06-09 08:58:41 [0.16ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 101643 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-06-09 08:58:41 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-06-09 08:58:41 [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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-06-09 08:58:41 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-06-09 08:58:41 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-06-09 08:58:41 [0.3ms] */
update `transaction` set `printed` = 'Y', `transaction`.`updated_at` = '2025-06-09 08:58:41' where `id` = 633887;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-06-09 08:58:41 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-06-09 08:58:41 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633887, 'TITLE_PRINTED', '2025-06-09 08:58:41', 9, 82, 82, 82, '2025-06-09 08:58:41', '2025-06-09 08:58:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-06-09 08:58:41 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-06-09 08:58:41 [0.44ms] */
select * from `transaction` where `transaction`.`id` = 633887 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-06-09 08:58:41 [0.49ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-06-09 08:58:41 [0.24ms] */
select * from `invoice` where `transaction_id` = 633887 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-06-09 08:58:41 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 606872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-06-09 08:58:41 [0.19ms] */
select * from `payment_documents` where `transaction_id` = 633887;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-06-09 08:58:41 [0.21ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 633887 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-06-09 08:58:41 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-06-09 08:58:41 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-06-09 08:58:41 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-06-09 08:58:41 [0.36ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-06-09 08:58:41 [320.75ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-06-09 08:58:41 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-06-09 08:58:41 [0.19ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-06-09 08:58:41 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-06-09 08:58:41 [0.17ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-06-09 08:58:41 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-06-09 08:58:41 [0.17ms] */
select * from `district` where `district`.`id` = 2 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-06-09 08:58:41 [0.16ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-06-09 08:58:41 [0.17ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-06-09 08:58:41 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 1 - 2025-06-09 08:58:42 [2.08ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-06-09 08:58:42 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 3 - 2025-06-09 08:58:42 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 4 - 2025-06-09 08:58:42 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 5 - 2025-06-09 08:58:42 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-06-09 08:58:42 [1.39ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-06-09 08:58:42 [1.12ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-06-09 08:58:42 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-06-09 08:58:42 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2025-06-09 08:58:42 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2025-06-09 08:58:42 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2025-06-09 08:58:42 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2025-06-09 08:58:42 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2025-06-09 08:58:42 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 633887 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-06-09 08:58:42 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-06-09 08:58:42 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-06-09 08:58:42 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-06-09 08:58:42 [0.14ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-06-09 08:58:42 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (5) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` in (9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-06-09 08:58:42 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (101660) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-06-09 08:58:42 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-06-09 08:58:42 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (101082) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-06-09 08:58:42 [0.15ms] */
select * from `party` where `party`.`id` in (58195) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-06-09 08:58:42 [0.14ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-06-09 08:58:42 [0.13ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-06-09 08:58:42 [0.13ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2025-06-09 08:58:42 [0.13ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2025-06-09 08:58:42 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2025-06-09 08:58:42 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 25 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2025-06-09 08:58:42 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 633887 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-06-09 08:58:42 [0.17ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-06-09 08:58:42 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-06-09 08:58:42 [0.15ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-06-09 08:58:42 [0.15ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2025-06-09 08:58:42 [0.16ms] */
select * from `users` where `users`.`id` = 82 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2025-06-09 08:58:42 [0.15ms] */
select * from `users` where `users`.`id` = 114 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 16 - 2025-06-09 08:58:42 [0.14ms] */
select * from `users` where `users`.`id` = 114 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 17 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 18 - 2025-06-09 08:58:42 [0.15ms] */
select * from `users` where `users`.`id` = 80 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 19 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 20 - 2025-06-09 08:58:42 [0.14ms] */
select * from `users` where `users`.`id` = 80 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 21 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 22 - 2025-06-09 08:58:42 [0.15ms] */
select * from `users` where `users`.`id` = 79 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 23 - 2025-06-09 08:58:42 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 08:58:43 [2.12ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 08:58:43 [0.83ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 08:58:43 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 08:58:43 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 08:58:43 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 08:58:43 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 08:58:45 [1.67ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 08:58:45 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 08:58:45 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 08:58:45 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 08:58:45 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 08:58:45 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 08:58:47 [2.33ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 08:58:47 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 08:58:47 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 08:58:47 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 08:58:47 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 08:58:47 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 08:58:47 [94.78ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%M%' or `vin` like '%M%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 08:58:47 [0.48ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%M%' or `vin` like '%M%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 08:58:47 [0.14ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 08:58:47 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 08:58:47 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 08:58:47 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 08:58:47 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 08:58:47 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (1, 7, 8, 10, 16, 29) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 08:58:47 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 08:58:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 08:58:47 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 08:58:47 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-06-09 08:58:47 [0.27ms] */
select * from `party` where `party`.`id` = 209 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-06-09 08:58:47 [0.28ms] */
select * from `person` where `person`.`id` = 209 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-06-09 08:58:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-06-09 08:58:47 [0.15ms] */
select * from `party` where `party`.`id` = 209 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-06-09 08:58:47 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-06-09 08:58:47 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-06-09 08:58:47 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 7 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-06-09 08:58:47 [0.24ms] */
select * from `party` where `party`.`id` = 36534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-06-09 08:58:47 [0.25ms] */
select * from `person` where `person`.`id` = 36534 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-06-09 08:58:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-06-09 08:58:47 [0.14ms] */
select * from `party` where `party`.`id` = 36534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-06-09 08:58:47 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-06-09 08:58:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-06-09 08:58:47 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 8 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-06-09 08:58:47 [0.14ms] */
select * from `party` where `party`.`id` = 36534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-06-09 08:58:47 [0.14ms] */
select * from `person` where `person`.`id` = 36534 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-06-09 08:58:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-06-09 08:58:47 [0.14ms] */
select * from `party` where `party`.`id` = 36534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-06-09 08:58:47 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-06-09 08:58:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-06-09 08:58:47 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 10 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-06-09 08:58:47 [0.25ms] */
select * from `party` where `party`.`id` = 36537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-06-09 08:58:47 [0.86ms] */
select * from `person` where `person`.`id` = 36537 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-06-09 08:58:47 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-06-09 08:58:47 [0.29ms] */
select * from `party` where `party`.`id` = 36537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-06-09 08:58:47 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-06-09 08:58:47 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-06-09 08:58:47 [0.59ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 16 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-06-09 08:58:47 [0.51ms] */
select * from `party` where `party`.`id` = 36542 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-06-09 08:58:47 [0.52ms] */
select * from `person` where `person`.`id` = 36542 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-06-09 08:58:47 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-06-09 08:58:47 [0.22ms] */
select * from `party` where `party`.`id` = 36542 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-06-09 08:58:47 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-06-09 08:58:47 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-06-09 08:58:47 [0.55ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 29 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 54 - 2025-06-09 08:58:47 [0.5ms] */
select * from `party` where `party`.`id` = 36554 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 55 - 2025-06-09 08:58:47 [0.52ms] */
select * from `person` where `person`.`id` = 36554 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 56 - 2025-06-09 08:58:47 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 57 - 2025-06-09 08:58:47 [0.27ms] */
select * from `party` where `party`.`id` = 36554 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 08:58:49 [1.3ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 08:58:49 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 08:58:49 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 08:58:49 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 08:58:49 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 08:58:49 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 08:58:49 [42.52ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%M265%' or `vin` like '%M265%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 08:58:49 [69.48ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%M265%' or `vin` like '%M265%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 08:58:49 [0.38ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 08:58:49 [0.27ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 08:58:49 [0.26ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 08:58:49 [0.26ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 08:58:49 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 08:58:49 [0.63ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (40230, 59574, 79158, 79348, 79349, 79350) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 08:58:49 [0.3ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 08:58:49 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 08:58:49 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 08:58:49 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 40230 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-06-09 08:58:49 [0.26ms] */
select * from `party` where `party`.`id` = 30378 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-06-09 08:58:49 [0.26ms] */
select * from `person` where `person`.`id` = 30378 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-06-09 08:58:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-06-09 08:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 30378 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-06-09 08:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-06-09 08:58:49 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 59574 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-06-09 08:58:49 [0.23ms] */
select * from `party` where `party`.`id` = 35014 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-06-09 08:58:49 [0.24ms] */
select * from `person` where `person`.`id` = 35014 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-06-09 08:58:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-06-09 08:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 35014 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-06-09 08:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-06-09 08:58:49 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79158 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-06-09 08:58:49 [0.23ms] */
select * from `party` where `party`.`id` = 50818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-06-09 08:58:49 [0.25ms] */
select * from `person` where `person`.`id` = 50818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-06-09 08:58:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-06-09 08:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 50818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-06-09 08:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-06-09 08:58:49 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79348 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-06-09 08:58:49 [0.23ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-06-09 08:58:49 [0.22ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-06-09 08:58:49 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-06-09 08:58:49 [0.15ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-06-09 08:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-06-09 08:58:49 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79349 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-06-09 08:58:49 [0.15ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-06-09 08:58:49 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-06-09 08:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-06-09 08:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-06-09 08:58:49 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79350 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 54 - 2025-06-09 08:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 55 - 2025-06-09 08:58:49 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 56 - 2025-06-09 08:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 57 - 2025-06-09 08:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 08:58:50 [2.36ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 08:58:50 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 08:58:50 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 08:58:50 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 08:58:50 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 08:58:50 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 08:58:50 [42.56ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%M2652%' or `vin` like '%M2652%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 08:58:51 [73.93ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%M2652%' or `vin` like '%M2652%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 08:58:51 [0.21ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 08:58:51 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 08:58:51 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 08:58:51 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 08:58:51 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 08:58:51 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (79348) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 08:58:51 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 08:58:51 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 08:58:51 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 08:58:51 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 1 - 2025-06-09 08:58:56 [2.34ms] */
select * from `users` where `id` = 82 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 2 - 2025-06-09 08:58:56 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 3 - 2025-06-09 08:58:56 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 4 - 2025-06-09 08:58:56 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 5 - 2025-06-09 08:58:56 [0.21ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 6 - 2025-06-09 08:58:56 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 7 - 2025-06-09 08:58:56 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 82 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 8 - 2025-06-09 08:58:56 [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` = 82 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-06-09 08:58:56 [244.76ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-06-09 08:58:57 [400.25ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 11 - 2025-06-09 08:58:57 [0.22ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 12 - 2025-06-09 08:58:57 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 13 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 14 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 15 - 2025-06-09 08:58:57 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 90363 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 16 - 2025-06-09 08:58:57 [0.72ms] */
select * from `party` where `party`.`id` = 58963 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 17 - 2025-06-09 08:58:57 [1.24ms] */
select * from `person` where `person`.`id` = 56526 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 18 - 2025-06-09 08:58:57 [0.98ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 89830 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 19 - 2025-06-09 08:58:57 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 20 - 2025-06-09 08:58:57 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 21 - 2025-06-09 08:58:57 [0.16ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 22 - 2025-06-09 08:58:57 [0.47ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633690 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://rta2.puntlandgov.org/w/wkflw
   Query 23 - 2025-06-09 08:58:57 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 24 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 25 - 2025-06-09 08:58:57 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 633690 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 26 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 27 - 2025-06-09 08:58:57 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 28 - 2025-06-09 08:58:57 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 29 - 2025-06-09 08:58:57 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 27408 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 30 - 2025-06-09 08:58:57 [0.34ms] */
select * from `party` where `party`.`id` = 18102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 31 - 2025-06-09 08:58:57 [0.74ms] */
select * from `person` where `person`.`id` = 18102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 32 - 2025-06-09 08:58:57 [0.47ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 67387 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 33 - 2025-06-09 08:58:57 [0.25ms] */
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://rta2.puntlandgov.org/w/wkflw
   Query 34 - 2025-06-09 08:58:57 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 35 - 2025-06-09 08:58:57 [0.28ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 36 - 2025-06-09 08:58:57 [0.62ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633663 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://rta2.puntlandgov.org/w/wkflw
   Query 37 - 2025-06-09 08:58:57 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 38 - 2025-06-09 08:58:57 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 39 - 2025-06-09 08:58:57 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 633663 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 40 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 41 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 42 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 43 - 2025-06-09 08:58:57 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 97529 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 44 - 2025-06-09 08:58:57 [0.56ms] */
select * from `party` where `party`.`id` = 46628 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 45 - 2025-06-09 08:58:57 [0.27ms] */
select * from `person` where `person`.`id` = 46628 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 46 - 2025-06-09 08:58:57 [0.49ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 97630 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 47 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 48 - 2025-06-09 08:58:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 49 - 2025-06-09 08:58:57 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 50 - 2025-06-09 08:58:57 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633662 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://rta2.puntlandgov.org/w/wkflw
   Query 51 - 2025-06-09 08:58:57 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 52 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 53 - 2025-06-09 08:58:57 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 633662 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 54 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 55 - 2025-06-09 08:58:57 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 56 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 57 - 2025-06-09 08:58:57 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 91765 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 58 - 2025-06-09 08:58:57 [0.24ms] */
select * from `party` where `party`.`id` = 58714 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 59 - 2025-06-09 08:58:57 [0.53ms] */
select * from `person` where `person`.`id` = 56288 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 60 - 2025-06-09 08:58:57 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 91365 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 61 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 62 - 2025-06-09 08:58:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 63 - 2025-06-09 08:58:57 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 64 - 2025-06-09 08:58:57 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633661 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://rta2.puntlandgov.org/w/wkflw
   Query 65 - 2025-06-09 08:58:57 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 66 - 2025-06-09 08:58:57 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 67 - 2025-06-09 08:58:57 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 633661 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 68 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 69 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 70 - 2025-06-09 08:58:57 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 71 - 2025-06-09 08:58:57 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 42338 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 72 - 2025-06-09 08:58:57 [0.51ms] */
select * from `party` where `party`.`id` = 32469 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 73 - 2025-06-09 08:58:57 [0.26ms] */
select * from `person` where `person`.`id` = 32469 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 74 - 2025-06-09 08:58:57 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85841 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 75 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 76 - 2025-06-09 08:58:57 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 77 - 2025-06-09 08:58:57 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 78 - 2025-06-09 08:58:57 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633660 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://rta2.puntlandgov.org/w/wkflw
   Query 79 - 2025-06-09 08:58:57 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 80 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 81 - 2025-06-09 08:58:57 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 633660 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 82 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 83 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 84 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 85 - 2025-06-09 08:58:57 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 57404 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 86 - 2025-06-09 08:58:57 [0.24ms] */
select * from `party` where `party`.`id` = 35265 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 87 - 2025-06-09 08:58:57 [0.57ms] */
select * from `person` where `person`.`id` = 35265 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 88 - 2025-06-09 08:58:57 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 34699 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 89 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 90 - 2025-06-09 08:58:57 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 91 - 2025-06-09 08:58:57 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 92 - 2025-06-09 08:58:57 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633657 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://rta2.puntlandgov.org/w/wkflw
   Query 93 - 2025-06-09 08:58:57 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 94 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 95 - 2025-06-09 08:58:57 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 633657 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 96 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 97 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 98 - 2025-06-09 08:58:57 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 99 - 2025-06-09 08:58:57 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 96672 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 100 - 2025-06-09 08:58:57 [0.25ms] */
select * from `party` where `party`.`id` = 32982 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 101 - 2025-06-09 08:58:57 [0.58ms] */
select * from `person` where `person`.`id` = 32982 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 102 - 2025-06-09 08:58:57 [0.51ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 96723 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 104 - 2025-06-09 08:58:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-06-09 08:58:57 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-06-09 08:58:57 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633656 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://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-06-09 08:58:57 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 108 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 109 - 2025-06-09 08:58:57 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 633656 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 110 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 111 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 112 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 113 - 2025-06-09 08:58:57 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 46868 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 114 - 2025-06-09 08:58:57 [0.29ms] */
select * from `party` where `party`.`id` = 44949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 115 - 2025-06-09 08:58:57 [0.27ms] */
select * from `person` where `person`.`id` = 44949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 116 - 2025-06-09 08:58:57 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 100922 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 117 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 118 - 2025-06-09 08:58:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 119 - 2025-06-09 08:58:57 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 120 - 2025-06-09 08:58:57 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633655 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://rta2.puntlandgov.org/w/wkflw
   Query 121 - 2025-06-09 08:58:57 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 122 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 123 - 2025-06-09 08:58:57 [0.58ms] */
select * from `transaction_workflow` where `transaction_id` = 633655 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 124 - 2025-06-09 08:58:57 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 125 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 126 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 127 - 2025-06-09 08:58:57 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 40081 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 128 - 2025-06-09 08:58:57 [0.25ms] */
select * from `party` where `party`.`id` = 30251 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 129 - 2025-06-09 08:58:57 [0.5ms] */
select * from `person` where `person`.`id` = 30251 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 130 - 2025-06-09 08:58:57 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85107 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 131 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 132 - 2025-06-09 08:58:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 133 - 2025-06-09 08:58:57 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 134 - 2025-06-09 08:58:57 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633654 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://rta2.puntlandgov.org/w/wkflw
   Query 135 - 2025-06-09 08:58:57 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 136 - 2025-06-09 08:58:57 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 137 - 2025-06-09 08:58:57 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 633654 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 138 - 2025-06-09 08:58:57 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 139 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 140 - 2025-06-09 08:58:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 141 - 2025-06-09 08:58:57 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 48859 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 142 - 2025-06-09 08:58:57 [0.29ms] */
select * from `party` where `party`.`id` = 37557 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 143 - 2025-06-09 08:58:57 [0.55ms] */
select * from `person` where `person`.`id` = 37557 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 144 - 2025-06-09 08:58:57 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32275 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 145 - 2025-06-09 08:58:57 [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://rta2.puntlandgov.org/w/wkflw
   Query 146 - 2025-06-09 08:58:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 147 - 2025-06-09 08:58:57 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 4 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 148 - 2025-06-09 08:58:57 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 633648 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://rta2.puntlandgov.org/w/wkflw
   Query 149 - 2025-06-09 08:58:57 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 150 - 2025-06-09 08:58:57 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 151 - 2025-06-09 08:58:57 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 633648 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 152 - 2025-06-09 08:58:57 [0.22ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 153 - 2025-06-09 08:58:57 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 1 - 2025-06-09 08:59:03 [1.49ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 2 - 2025-06-09 08:59:03 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 3 - 2025-06-09 08:59:03 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 4 - 2025-06-09 08:59:03 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 5 - 2025-06-09 08:59:03 [0.41ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 6 - 2025-06-09 08:59:03 [0.17ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 7 - 2025-06-09 08:59:03 [1.08ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 50885 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 8 - 2025-06-09 08:59:03 [0.16ms] */
select * from `address` where `address`.`id` = 50885 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 9 - 2025-06-09 08:59:03 [0.16ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 10 - 2025-06-09 08:59:03 [0.15ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 11 - 2025-06-09 08:59:03 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 12 - 2025-06-09 08:59:03 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 13 - 2025-06-09 08:59:03 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 14 - 2025-06-09 08:59:03 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 15 - 2025-06-09 08:59:03 [21.48ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 50885 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 16 - 2025-06-09 08:59:03 [3.45ms] */
select count(*) as aggregate from `transaction` where `party_id` = 50885 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 17 - 2025-06-09 08:59:03 [3.91ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 50885 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 18 - 2025-06-09 08:59:03 [0.23ms] */
select count(*) as aggregate from `invoice` where `party_id` = 50885 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 19 - 2025-06-09 08:59:03 [0.22ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 20 - 2025-06-09 08:59:03 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 21 - 2025-06-09 08:59:03 [4.69ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 50885 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 22 - 2025-06-09 08:59:03 [1.95ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 50885 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 23 - 2025-06-09 08:59:03 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 50885 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 24 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person_bio_photo` where `party_id` = 50885 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 25 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person_bio_iris` where `party_id` = 50885 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 26 - 2025-06-09 08:59:04 [24.55ms] */
select * from `party_vehicle` where `party_id` = 50885 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 27 - 2025-06-09 08:59:04 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 28 - 2025-06-09 08:59:04 [0.17ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 29 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 30 - 2025-06-09 08:59:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 31 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 32 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 33 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 34 - 2025-06-09 08:59:04 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 78118 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 35 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 36 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 37 - 2025-06-09 08:59:04 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 38 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 39 - 2025-06-09 08:59:04 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 79349 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 40 - 2025-06-09 08:59:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 41 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 42 - 2025-06-09 08:59:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 43 - 2025-06-09 08:59:04 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 44 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 45 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 46 - 2025-06-09 08:59:04 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 78196 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 47 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 48 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 49 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 50 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 51 - 2025-06-09 08:59:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 79354 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 52 - 2025-06-09 08:59:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 53 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 54 - 2025-06-09 08:59:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 55 - 2025-06-09 08:59:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 56 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 57 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 58 - 2025-06-09 08:59:04 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 69903 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 59 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 60 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 61 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 62 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 63 - 2025-06-09 08:59:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 79352 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 64 - 2025-06-09 08:59:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 65 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 66 - 2025-06-09 08:59:04 [0.28ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 67 - 2025-06-09 08:59:04 [0.31ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 68 - 2025-06-09 08:59:04 [0.25ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 69 - 2025-06-09 08:59:04 [0.28ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 70 - 2025-06-09 08:59:04 [0.53ms] */
select * from `transaction` where `transaction`.`id` = 58108 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 71 - 2025-06-09 08:59:04 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 72 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 73 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 74 - 2025-06-09 08:59:04 [0.19ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 75 - 2025-06-09 08:59:04 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 79348 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 76 - 2025-06-09 08:59:04 [0.2ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 77 - 2025-06-09 08:59:04 [0.24ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 78 - 2025-06-09 08:59:04 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 79 - 2025-06-09 08:59:04 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 80 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 81 - 2025-06-09 08:59:04 [0.16ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 82 - 2025-06-09 08:59:04 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 35105 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 83 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 84 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 85 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 86 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 87 - 2025-06-09 08:59:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 79355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 88 - 2025-06-09 08:59:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 89 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 90 - 2025-06-09 08:59:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 91 - 2025-06-09 08:59:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 92 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 93 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 94 - 2025-06-09 08:59:04 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 35192 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 95 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 96 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 97 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 98 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 99 - 2025-06-09 08:59:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 79353 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 100 - 2025-06-09 08:59:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 101 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 102 - 2025-06-09 08:59:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 103 - 2025-06-09 08:59:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 104 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 105 - 2025-06-09 08:59:04 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 106 - 2025-06-09 08:59:04 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 12063 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 107 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 108 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 109 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 110 - 2025-06-09 08:59:04 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 111 - 2025-06-09 08:59:04 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 79350 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 112 - 2025-06-09 08:59:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 113 - 2025-06-09 08:59:04 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 114 - 2025-06-09 08:59:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 115 - 2025-06-09 08:59:04 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 116 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 117 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 118 - 2025-06-09 08:59:04 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 12251 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 119 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 120 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 121 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 122 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 123 - 2025-06-09 08:59:04 [0.32ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (50885) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 124 - 2025-06-09 08:59:04 [0.34ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (50885) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 125 - 2025-06-09 08:59:04 [0.31ms] */
select * from `transaction` where `transaction`.`id` in (291929, 291930, 291931, 291932, 291933, 291934, 291935, 291936, 430189, 430190) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 126 - 2025-06-09 08:59:04 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` in (79351) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 127 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 128 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 129 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 130 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 131 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 132 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 133 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 134 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 135 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 136 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 137 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 138 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 139 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 140 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 141 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 142 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 143 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 144 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 145 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 146 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 147 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 148 - 2025-06-09 08:59:04 [0.23ms] */
select * from `party` where `party`.`id` in (50885) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 149 - 2025-06-09 08:59:04 [0.13ms] */
select * from `address` where `address`.`id` in (50885) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 150 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 151 - 2025-06-09 08:59:04 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 152 - 2025-06-09 08:59:04 [0.16ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 153 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 154 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 155 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 156 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 157 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 158 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 159 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 160 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 161 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 162 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 163 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 164 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 165 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 166 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 167 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 168 - 2025-06-09 08:59:04 [0.15ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 169 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 170 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 171 - 2025-06-09 08:59:04 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 172 - 2025-06-09 08:59:04 [1.05ms] */
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` = 99 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 173 - 2025-06-09 08:59:04 [0.8ms] */
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` = 99 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 174 - 2025-06-09 08:59:04 [3.01ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`party_id` = 50885 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 28 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 175 - 2025-06-09 08:59:04 [0.82ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`party_id` = 50885 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 28 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 176 - 2025-06-09 08:59:04 [0.26ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 177 - 2025-06-09 08:59:04 [0.25ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 178 - 2025-06-09 08:59:04 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 179 - 2025-06-09 08:59:04 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 180 - 2025-06-09 08:59:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 181 - 2025-06-09 08:59:04 [0.16ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 182 - 2025-06-09 08:59:04 [0.17ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 183 - 2025-06-09 08:59:04 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 184 - 2025-06-09 08:59:04 [0.16ms] */
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://rta2.puntlandgov.org/m/party/50885
   Query 185 - 2025-06-09 08:59:04 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 186 - 2025-06-09 08:59:04 [1.51ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291929 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://rta2.puntlandgov.org/m/party/50885
   Query 187 - 2025-06-09 08:59:04 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 188 - 2025-06-09 08:59:04 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 189 - 2025-06-09 08:59:04 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 291929 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 190 - 2025-06-09 08:59:04 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 191 - 2025-06-09 08:59:04 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 192 - 2025-06-09 08:59:04 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 193 - 2025-06-09 08:59:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 194 - 2025-06-09 08:59:04 [0.18ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 195 - 2025-06-09 08:59:04 [0.17ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 196 - 2025-06-09 08:59:04 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 197 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 198 - 2025-06-09 08:59:04 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 199 - 2025-06-09 08:59:04 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291930 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://rta2.puntlandgov.org/m/party/50885
   Query 200 - 2025-06-09 08:59:04 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 201 - 2025-06-09 08:59:04 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 202 - 2025-06-09 08:59:04 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 291930 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 203 - 2025-06-09 08:59:04 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 204 - 2025-06-09 08:59:04 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 205 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 206 - 2025-06-09 08:59:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 207 - 2025-06-09 08:59:04 [0.21ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 208 - 2025-06-09 08:59:04 [0.21ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 209 - 2025-06-09 08:59:04 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 210 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 211 - 2025-06-09 08:59:04 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 212 - 2025-06-09 08:59:04 [0.38ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291931 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://rta2.puntlandgov.org/m/party/50885
   Query 213 - 2025-06-09 08:59:04 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 214 - 2025-06-09 08:59:04 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 215 - 2025-06-09 08:59:04 [0.35ms] */
select * from `transaction_workflow` where `transaction_id` = 291931 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 216 - 2025-06-09 08:59:04 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 217 - 2025-06-09 08:59:04 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 218 - 2025-06-09 08:59:04 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 219 - 2025-06-09 08:59:04 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 220 - 2025-06-09 08:59:04 [0.22ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 221 - 2025-06-09 08:59:04 [0.24ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 222 - 2025-06-09 08:59:04 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 223 - 2025-06-09 08:59:04 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 224 - 2025-06-09 08:59:04 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 225 - 2025-06-09 08:59:04 [0.37ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291932 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://rta2.puntlandgov.org/m/party/50885
   Query 226 - 2025-06-09 08:59:04 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 227 - 2025-06-09 08:59:04 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 228 - 2025-06-09 08:59:04 [0.36ms] */
select * from `transaction_workflow` where `transaction_id` = 291932 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 229 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 230 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 231 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 232 - 2025-06-09 08:59:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 233 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 234 - 2025-06-09 08:59:04 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 235 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 236 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 237 - 2025-06-09 08:59:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 238 - 2025-06-09 08:59:04 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291933 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://rta2.puntlandgov.org/m/party/50885
   Query 239 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 240 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 241 - 2025-06-09 08:59:04 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 291933 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 242 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 243 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 244 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 245 - 2025-06-09 08:59:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 246 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 247 - 2025-06-09 08:59:04 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 248 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 249 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 250 - 2025-06-09 08:59:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 251 - 2025-06-09 08:59:04 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291934 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://rta2.puntlandgov.org/m/party/50885
   Query 252 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 253 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 254 - 2025-06-09 08:59:04 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 291934 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 255 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 256 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 257 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 258 - 2025-06-09 08:59:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 259 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 260 - 2025-06-09 08:59:04 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 261 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 262 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 263 - 2025-06-09 08:59:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 264 - 2025-06-09 08:59:04 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291935 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://rta2.puntlandgov.org/m/party/50885
   Query 265 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 266 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 267 - 2025-06-09 08:59:04 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 291935 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 268 - 2025-06-09 08:59:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 269 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 270 - 2025-06-09 08:59:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 271 - 2025-06-09 08:59:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79351 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 272 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 273 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 274 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78118 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 275 - 2025-06-09 08:59:04 [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://rta2.puntlandgov.org/m/party/50885
   Query 276 - 2025-06-09 08:59:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 277 - 2025-06-09 08:59:04 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 291936 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://rta2.puntlandgov.org/m/party/50885
   Query 278 - 2025-06-09 08:59:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 279 - 2025-06-09 08:59:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 280 - 2025-06-09 08:59:04 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 291936 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 281 - 2025-06-09 08:59:04 [0.17ms] */
select count(*) as aggregate from `discount` where `party_id` = 50885 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 282 - 2025-06-09 08:59:04 [0.15ms] */
select * from `discount` where `party_id` = 50885 and `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 283 - 2025-06-09 08:59:04 [0.15ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 284 - 2025-06-09 08:59:04 [0.15ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 285 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 286 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 287 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 288 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 289 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 290 - 2025-06-09 08:59:04 [0.16ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 291 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 292 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 293 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 294 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 295 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 296 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 297 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 298 - 2025-06-09 08:59:04 [0.13ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 299 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 300 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 301 - 2025-06-09 08:59:04 [0.14ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 302 - 2025-06-09 08:59:04 [0.14ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 303 - 2025-06-09 08:59:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 304 - 2025-06-09 08:59:04 [0.13ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 305 - 2025-06-09 08:59:04 [0.14ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 306 - 2025-06-09 08:59:04 [0.13ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 50885 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 307 - 2025-06-09 08:59:04 [0.2ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/50885
   Query 308 - 2025-06-09 08:59:04 [0.13ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=50885&model=Person
   Query 1 - 2025-06-09 08:59:05 [1.29ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=50885&model=Person
   Query 2 - 2025-06-09 08:59:05 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=50885&model=Person
   Query 3 - 2025-06-09 08:59:05 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=50885&model=Person
   Query 4 - 2025-06-09 08:59:05 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=50885&model=Person
   Query 5 - 2025-06-09 08:59:05 [0.3ms] */
select * from `party` where `id` = 50885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=50885&model=Person
   Query 6 - 2025-06-09 08:59:05 [1.06ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, ur.first_name,last_name 
            FROM audits a 
            left join users ur on a.user_id = ur.id 
            left join person p on a.auditable_id = p.id 
            where auditable_id = 50885 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 1 - 2025-06-09 08:59:12 [2.04ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 2 - 2025-06-09 08:59:12 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 3 - 2025-06-09 08:59:12 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 4 - 2025-06-09 08:59:12 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 5 - 2025-06-09 08:59:12 [0.37ms] */
select * from `vehicle` where `id` = 79349 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 6 - 2025-06-09 08:59:12 [0.32ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79349 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 7 - 2025-06-09 08:59:12 [0.15ms] */
select * from `vehicle` where `id` = 79349 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 8 - 2025-06-09 08:59:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79349 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 9 - 2025-06-09 08:59:12 [0.25ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 10 - 2025-06-09 08:59:12 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 11 - 2025-06-09 08:59:12 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 12 - 2025-06-09 08:59:12 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 13 - 2025-06-09 08:59:12 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 14 - 2025-06-09 08:59:12 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 79349 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 15 - 2025-06-09 08:59:12 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 16 - 2025-06-09 08:59:12 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 17 - 2025-06-09 08:59:12 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 18 - 2025-06-09 08:59:12 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 19 - 2025-06-09 08:59:12 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 79349 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 20 - 2025-06-09 08:59:12 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 79349 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 21 - 2025-06-09 08:59:12 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 22 - 2025-06-09 08:59:12 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 23 - 2025-06-09 08:59:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 24 - 2025-06-09 08:59:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 25 - 2025-06-09 08:59:12 [0.15ms] */
select * from `party` where `party`.`id` = 50885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 26 - 2025-06-09 08:59:12 [0.16ms] */
select * from `person` where `person`.`id` = 50885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 27 - 2025-06-09 08:59:12 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 78196 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 28 - 2025-06-09 08:59:12 [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://rta2.puntlandgov.org/m/vehicle/79349
   Query 29 - 2025-06-09 08:59:12 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 30 - 2025-06-09 08:59:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 31 - 2025-06-09 08:59:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 32 - 2025-06-09 08:59:12 [0.84ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 79349 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 33 - 2025-06-09 08:59:12 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 34 - 2025-06-09 08:59:12 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 35 - 2025-06-09 08:59:12 [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` = 99 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 36 - 2025-06-09 08:59:12 [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` = 99 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 37 - 2025-06-09 08:59:12 [0.39ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 79349 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 28 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 38 - 2025-06-09 08:59:12 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 39 - 2025-06-09 08:59:12 [0.67ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 79349 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 40 - 2025-06-09 08:59:12 [1.06ms] */
select * from `title_reprint_history` where `vehicle_id` = 79349 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 41 - 2025-06-09 08:59:12 [0.18ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79349
   Query 42 - 2025-06-09 08:59:12 [0.14ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79349&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-06-09 08:59:13 [2.06ms] */
select * from `users` where `id` = 99 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79349&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-06-09 08:59:13 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79349&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-06-09 08:59:13 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79349&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-06-09 08:59:13 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2025-06-09 08:59:13 [1.37ms] */
select * from `users` where `id` = 114 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2025-06-09 08:59:13 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2025-06-09 08:59:13 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2025-06-09 08:59:13 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79349&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-06-09 08:59:13 [1.13ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 79349 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2025-06-09 08:59:13 [0.43ms] */
select * from `invoice` where `invoice`.`id` in (606871);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2025-06-09 08:59:13 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (633886) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-06-09 08:59:13 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` in (101081) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2025-06-09 08:59:13 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-06-09 08:59:13 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2025-06-09 08:59:13 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2025-06-09 08:59:13 [0.23ms] */
select * from `party` where `party`.`id` in (66348) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2025-06-09 08:59:13 [0.15ms] */
select * from `address` where `address`.`id` in (66348) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2025-06-09 08:59:13 [0.15ms] */
select * from `payment_method` where `payment_method`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-06-09 08:59:13 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 633886 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2025-06-09 08:59:13 [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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2025-06-09 08:59:13 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2025-06-09 08:59:14 [108.33ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 16916;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2025-06-09 08:59:14 [0.19ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 16916;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2025-06-09 08:59:14 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 101081 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2025-06-09 08:59:14 [0.22ms] */
select * from `party` where `party`.`id` = 66348 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2025-06-09 08:59:14 [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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2025-06-09 08:59:14 [0.52ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-06-09 08:59:14', '#6846780B0CC91', 16916, 4, 10, 'farxiya', 4640042, null, 2, 114, 114, 114, '2025-06-09 08:59:14', '2025-06-09 08:59:14');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2025-06-09 08:59:14 [0.19ms] */
select * from `Payment` where `id` = 200483 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2025-06-09 08:59:14 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":4,"payment_amount":"10.00","payment_date":"2025-06-09 08:59:14","external_payment_reference_no":"#6846780B0CC91","payment_receipt_number":"16916","siinpay_payref_number":null,"paid_by":"farxiya","paid_by_mobile":"4640042","district_id":2,"migration_id":null,"payment_collected_by":114}}', 114, 'App\Models\User', 200483, 'Modules\Transaction\Entities\Payment', 'created', '2025-06-09 08:59:14', '2025-06-09 08:59:14');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2025-06-09 08:59:14 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 633886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2025-06-09 08:59:14 [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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2025-06-09 08:59:14 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2025-06-09 08:59:14 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 606871 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2025-06-09 08:59:14 [0.23ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-09 08:59:14', 606871, 200483, '2025-06-09 08:59:14');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2025-06-09 08:59:14 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 606871 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2025-06-09 08:59:14 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 606871 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-06-09 08:59:14 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 606871 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2025-06-09 08:59:14 [0.2ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 10, `status` = 'PAID', `updated_by` = 114, `invoice`.`updated_at` = '2025-06-09 08:59:14' where `id` = 606871;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2025-06-09 08:59:14 [0.19ms] */
select * from `invoice` where `id` = 606871 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2025-06-09 08:59:14 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"10.00","status":"OPEN"}}', 114, 'App\Models\User', 606871, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 08:59:14', '2025-06-09 08:59:14');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2025-06-09 08:59:14 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 633886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2025-06-09 08:59:14 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 633886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2025-06-09 08:59:14 [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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2025-06-09 08:59:14 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 40 - 2025-06-09 08:59:14 [0.14ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 41 - 2025-06-09 08:59:14 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 42 - 2025-06-09 08:59:14 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (633886, 'PAID', '2025-06-09 08:59:14', 7, 114, null, 114, 114, '2025-06-09 08:59:14', '2025-06-09 08:59:14');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 43 - 2025-06-09 08:59:14 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2025-06-09 08:59:14 [0.32ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 4, `transaction`.`updated_at` = '2025-06-09 08:59:14' where `id` = 633886;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 45 - 2025-06-09 08:59:14 [0.15ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 46 - 2025-06-09 08:59:14 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 606871 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 47 - 2025-06-09 08:59:14 [0.25ms] */
select * from `party_vehicle` where `transaction_id` = 633886 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 48 - 2025-06-09 08:59:14 [0.25ms] */
update `party_vehicle` set `status` = 'PAID', `updated_by` = 114, `party_vehicle`.`updated_at` = '2025-06-09 08:59:14' where `id` = 101659;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 49 - 2025-06-09 08:59:14 [0.19ms] */
select * from `party_vehicle` where `id` = 101659 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 50 - 2025-06-09 08:59:14 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 114, 'App\Models\User', 101659, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-06-09 08:59:14', '2025-06-09 08:59:14');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 51 - 2025-06-09 08:59:14 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 633886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 52 - 2025-06-09 08:59:14 [0.42ms] */
select * from `invoice` where `transaction_id` = 633886 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 53 - 2025-06-09 08:59:14 [0.36ms] */
select * from `transaction` where `transaction`.`id` in (633886) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 54 - 2025-06-09 08:59:14 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` in (101081) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 55 - 2025-06-09 08:59:14 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 56 - 2025-06-09 08:59:14 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 57 - 2025-06-09 08:59:14 [0.19ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 58 - 2025-06-09 08:59:14 [0.21ms] */
select * from `party` where `party`.`id` in (66348) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 59 - 2025-06-09 08:59:14 [0.2ms] */
select * from `address` where `address`.`id` in (66348) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 60 - 2025-06-09 08:59:14 [0.33ms] */
select `invoice`.`id` from `invoice` where `transaction_id` = 633886 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 61 - 2025-06-09 08:59:14 [0.33ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `transaction_id` = 633886 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 62 - 2025-06-09 08:59:14 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 633886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 63 - 2025-06-09 08:59:14 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 64 - 2025-06-09 08:59:14 [0.19ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 65 - 2025-06-09 08:59:14 [0.19ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 66 - 2025-06-09 08:59:14 [0.24ms] */
select * from `party` where `party`.`id` = 66348 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 67 - 2025-06-09 08:59:14 [0.2ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 68 - 2025-06-09 08:59:14 [0.22ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 69 - 2025-06-09 08:59:14 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-06-09 08:59:14 [1.36ms] */
select * from `users` where `id` = 114 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-06-09 08:59:14 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-06-09 08:59:14 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-06-09 08:59:14 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-06-09 08:59:14 [0.49ms] */
select * from `transaction` where `transaction`.`id` = 633886 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-06-09 08:59:14 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-06-09 08:59:14 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-06-09 08:59:14 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-06-09 08:59:14 [0.14ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-06-09 08:59:14 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-06-09 08:59:14 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-06-09 08:59:14 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (101659) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-06-09 08:59:14 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-06-09 08:59:14 [0.14ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-06-09 08:59:14 [0.13ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-06-09 08:59:14 [0.13ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-06-09 08:59:14 [0.12ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-06-09 08:59:14 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 101642 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-06-09 08:59:14 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 633886 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-06-09 08:59:14 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 633886 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-06-09 08:59:14 [0.28ms] */
select * from `invoice` where `transaction_id` = 633886 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-06-09 08:59:14 [0.26ms] */
select * from `invoice_payment` where `invoice_id` = 606871;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-06-09 08:59:14 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 633886;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-06-09 08:59:14 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 633886 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-06-09 08:59:14 [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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-06-09 08:59:14 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-06-09 08:59:14 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-06-09 08:59:14 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-06-09 08:59:14 [0.19ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-06-09 08:59:14 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101659 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-06-09 08:59:14 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 633886 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-06-09 08:59:14 [272.25ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-06-09 08:59:14 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 633886 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-06-09 08:59:14 [0.15ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-06-09 08:59:14 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 633886 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-06-09 08:59:14 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-06-09 08:59:14 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-06-09 08:59:14 [0.18ms] */
select * from `district` where `district`.`id` = 2 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-06-09 08:59:14 [0.16ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-06-09 08:59:14 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-06-09 08:59:14 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 1 - 2025-06-09 08:59:15 [1.33ms] */
select * from `users` where `id` = 114 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-06-09 08:59:15 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 3 - 2025-06-09 08:59:15 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 4 - 2025-06-09 08:59:15 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 5 - 2025-06-09 08:59:15 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101659 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-06-09 08:59:15 [1.46ms] */
select * from `users` where `id` = 114 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-06-09 08:59:15 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2025-06-09 08:59:15 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-06-09 08:59:15 [1.36ms] */
select * from `users` where `id` = 114 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2025-06-09 08:59:15 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-06-09 08:59:15 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2025-06-09 08:59:15 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2025-06-09 08:59:15 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2025-06-09 08:59:15 [0.55ms] */
select * from `transaction_workflow` where `transaction_id` = 633886 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2025-06-09 08:59:15 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 633886 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-06-09 08:59:15 [0.17ms] */
select * from `users` where `users`.`id` = 114 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-06-09 08:59:15 [0.14ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-06-09 08:59:15 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-06-09 08:59:15 [0.15ms] */
select * from `users` where `users`.`id` = 114 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-06-09 08:59:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-06-09 08:59:15 [0.14ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-06-09 08:59:15 [0.15ms] */
select * from `users` where `users`.`id` = 80 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-06-09 08:59:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-06-09 08:59:15 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-06-09 08:59:15 [0.16ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2025-06-09 08:59:15 [0.17ms] */
select * from `users` where `users`.`id` = 80 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2025-06-09 08:59:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-06-09 08:59:15 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2025-06-09 08:59:15 [0.15ms] */
select * from `users` where `users`.`id` = 79 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-06-09 08:59:15 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2025-06-09 08:59:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-06-09 08:59:15 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (101659) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-06-09 08:59:15 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-06-09 08:59:15 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` in (101081) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-06-09 08:59:15 [0.15ms] */
select * from `party` where `party`.`id` in (66348) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-06-09 08:59:15 [0.14ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-06-09 08:59:15 [0.13ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-06-09 08:59:15 [0.13ms] */
select * from `district` where `district`.`id` in (2) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2025-06-09 08:59:15 [0.12ms] */
select * from `region` where `region`.`id` in (1) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2025-06-09 08:59:15 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2025-06-09 08:59:15 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2025-06-09 08:59:15 [0.15ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2025-06-09 08:59:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2025-06-09 08:59:15 [0.13ms] */
