select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-01-06 15:03:04 [0.28ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-01-06 15:03:04 [0.18ms] */
select * from `user_receipts` where `user_receipts`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-01-06 15:03:04 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-01-06 15:03:04 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-06 15:08:42 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-06 15:08:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-06 15:08:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-06 15:08:42 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-06 15:08:42 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-06 15:08:42 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-06 15:08:42 [2.7ms] */
select * from `receipts` where `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-06 15:08:51 [2.37ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-06 15:08:51 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-06 15:08:51 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-06 15:08:51 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-06 15:08:51 [0.33ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-06 15:08:51 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-06 15:08:51 [2.49ms] */
select * from `receipts` where `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-06 15:09:09 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-06 15:09:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-06 15:09:09 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-06 15:09:09 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-06 15:09:09 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-06 15:09:09 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-06 15:09:09 [0.95ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RTA024' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-06 15:09:10 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-06 15:09:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-06 15:09:10 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-06 15:09:10 [0.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-06 15:09:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-06 15:09:10 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-06 15:09:10 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 89978 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-06 15:09:10 [0.3ms] */
select * from `vehicle` where `id` = 89978 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-06 15:09:10 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 89978 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-06 15:09:10 [0.6ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 89978 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-06 15:09:11 [1.45ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-06 15:09:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-06 15:09:11 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-06 15:09:11 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-06 15:09:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-06 15:09:11 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-06 15:09:11 [0.63ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-06 15:09:12 [2.11ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-06 15:09:12 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-06 15:09:12 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-06 15:09:12 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-06 15:09:12 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-06 15:09:12 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-06 15:09:12 [0.58ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-06 15:09:14 [1.3ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-06 15:09:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-06 15:09:14 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-06 15:09:14 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-06 15:09:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-06 15:09:14 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-06 15:09:14 [0.46ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-06 15:09:14 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99443, 99527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-06 15:09:14 [0.29ms] */
select `parent_id` from `transaction` where `id` in (103075, 103189) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-06 15:09:14 [0.17ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-06 15:09:14 [0.22ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-06 15:09:14 [0.35ms] */
select * from `transaction` where `id` in (103075, 103189) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-06 15:09:14 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 102640 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-06 15:09:14 [6.14ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-06 15:09:14' where `id` = 102640;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-06 15:09:14 [0.24ms] */
select * from `invoice` where `id` = 102640 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-06 15:09:14 [3.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 102640, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-06 15:09:14 [0.48ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-06 15:09:14 [0.53ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-06 15:09:14 [3.37ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 103075;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-06 15:09:14 [0.51ms] */
select * from `invoice` where `invoice`.`id` = 102751 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-06 15:09:14 [3.42ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-06 15:09:14' where `id` = 102751;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-06 15:09:14 [0.33ms] */
select * from `invoice` where `id` = 102751 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-06 15:09:14 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 102751, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-06 15:09:14 [0.21ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-06 15:09:14 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-01-06 15:09:14 [3.28ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 103189;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-06 15:09:14 [3.09ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-06 15:09:14' where `id` in (99443, 99527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-06 15:09:14 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 89978 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-06 15:09:14 [0.42ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-06 15:09:14 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89978 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-06 15:09:14 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 89978 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-06 15:09:14 [0.41ms] */
select * from `party` where `party`.`id` = 45621 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-01-06 15:09:14 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 89978 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-06 15:09:14 [0.31ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-06 15:09:14 [0.32ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-06 15:09:14 [0.73ms] */
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 (45621, 2, 89978, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-06 15:09:14 [0.36ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105219, 'INITIATED', '2025-01-06 15:09:14', 5, 5, 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-06 15:09:14 [0.31ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 98788, `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 105219;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-06 15:09:14 [0.39ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99443, 99527) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-06 15:09:14 [0.43ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99443, 99527) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-06 15:09:14 [0.54ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105219, 45621, '2025-01-06 15:09:14', '2025-01-06 15:09:14', 71.00, 0, 71.00, 71.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-06 15:09:14 [0.31ms] */
select * from `invoice` where `id` = 104777 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-06 15:09:14 [0.41ms] */
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":105219,"party_id":45621,"invoice_amount":"71.00","invoice_date":"2025-01-06 15:09:14","due_date":"2025-01-06 15:09:14","outstanding_balance":"71.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"71.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 104777, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-06 15:09:14 [0.53ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99443, 99527) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-06 15:09:14 [0.42ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 2, 71, 71, 104777, 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-06 15:09:14 [0.41ms] */
select * from `invoice_item` where `id` = 204719 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-06 15:09:14 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"71.00","quantity":2,"total_price":"71.00","invoice_id":104777}}', 5, 'App\Models\User', 204719, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-06 15:09:14 [0.29ms] */
update `invoice` set `invoice_number` = 'INV-798-104777773', `invoice`.`updated_at` = '2025-01-06 15:09:14' where `id` = 104777;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-01-06 15:09:14 [0.32ms] */
select * from `invoice` where `id` = 104777 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-06 15:09:14 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-798-104777773"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104777, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-06 15:09:14 [0.36ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99443 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-06 15:09:14 [0.32ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-06 15:09:14' where `id` = 99443;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-06 15:09:14 [0.27ms] */
select * from `vehicle_tax` where `id` = 99443 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-06 15:09:14 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99443, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-06 15:09:14 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 103075 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-01-06 15:09:14 [0.3ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105219, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 103075;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-06 15:09:14 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 102640 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-06 15:09:14 [0.26ms] */
update `invoice` set `parent_id` = 104777, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-06 15:09:14' where `id` = 102640;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-06 15:09:14 [0.29ms] */
select * from `invoice` where `id` = 102640 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-06 15:09:14 [0.41ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104777,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102640, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-06 15:09:14 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 103075 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-06 15:09:14 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-06 15:09:14 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-06 15:09:14 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-01-06 15:09:14 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-06 15:09:14 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-06 15:09:14 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103075, 'APPROVED', '2025-01-06 15:09:14', 5, 5, null, 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-06 15:09:14 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-01-06 15:09:14 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 103075;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-01-06 15:09:14 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-06 15:09:14 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102640 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-01-06 15:09:14 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99527 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-06 15:09:14 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-06 15:09:14' where `id` = 99527;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-06 15:09:14 [0.17ms] */
select * from `vehicle_tax` where `id` = 99527 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-06 15:09:14 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99527, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-06 15:09:14 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103189 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-06 15:09:14 [0.19ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105219, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 103189;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-01-06 15:09:14 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102751 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-01-06 15:09:14 [0.16ms] */
update `invoice` set `parent_id` = 104777, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-06 15:09:14' where `id` = 102751;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-06 15:09:14 [0.18ms] */
select * from `invoice` where `id` = 102751 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-01-06 15:09:14 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104777,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102751, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-06 15:09:14 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103189 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-01-06 15:09:14 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-01-06 15:09:14 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-01-06 15:09:14 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-01-06 15:09:14 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2025-01-06 15:09:14 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103189, 'APPROVED', '2025-01-06 15:09:14', 5, 5, null, 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-06 15:09:14 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-01-06 15:09:14 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 103189;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-06 15:09:14 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2025-01-06 15:09:14 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102751 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-06 15:09:14 [0.27ms] */
update `transaction` set `invoice_id` = 104777, `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 105219;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-06 15:09:14 [0.21ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-01-06 15:09:14' where `id` = 89978;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-06 15:09:14 [0.18ms] */
select * from `vehicle` where `id` = 89978 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-06 15:09:14 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 89978, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-06 15:09:14 [0.24ms] */
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":8}', '{"updated_by":5}', 'updated', 89978, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '49.47.216.187', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-06 15:09:14 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105219 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-01-06 15:09:14 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 99 - 2025-01-06 15:09:14 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2025-01-06 15:09:14 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-01-06 15:09:14 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105219, 'APPROVED', '2025-01-06 15:09:14', 5, 5, null, 5, 5, '2025-01-06 15:09:14', '2025-01-06 15:09:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-01-06 15:09:14 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-01-06 15:09:14 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 15:09:14' where `id` = 105219;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-01-06 15:09:14 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 105 - 2025-01-06 15:09:14 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104777 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-01-06 15:09:14 [0.37ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99443, 99527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-01-06 15:09:14 [0.38ms] */
select * from `invoice` where `transaction_id` = 103075 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-01-06 15:09:14 [0.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102640 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-01-06 15:09:14 [0.35ms] */
select * from `invoice` where `transaction_id` = 103189 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-01-06 15:09:14 [0.34ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102751 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-01-06 15:09:14 [0.35ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-01-06 15:09:14 [0.29ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-06 15:09:15 [1.97ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-06 15:09:15 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-06 15:09:15 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-06 15:09:15 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-06 15:09:15 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-06 15:09:15 [0.32ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-06 15:09:15 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-06 15:09:35 [2.04ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-06 15:09:35 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-06 15:09:35 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-06 15:09:35 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-06 15:09:35 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-06 15:09:35 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-06 15:09:35 [0.57ms] */
select count(*) as aggregate from `payment_documents` where `receipt_number` = 5283176384;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-06 15:09:48 [1.45ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-06 15:09:48 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-06 15:09:48 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-06 15:09:48 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-06 15:09:48 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'bd23f6655e7a4b80eed8f646091ac7debe2f835eb88902ecbe1707df0e988e61615f1b7967fe20f2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-06 15:09:48 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-06 15:09:48 [0.46ms] */
select count(*) as aggregate from `payment_documents` where `receipt_number` = 528317638778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-06 15:09:48 [0.52ms] */
delete from `payment_documents` where `transaction_id` = 105219 and `type` = 'GOV_SMS_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-01-06 15:09:48 [13.41ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `contact_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105219, 'GOV_SMS_IMAGE', 528317638778, null, 'payment_confirmation/Payment-Confirmation-TR105219-ATTC-1288273011.png', '2025-01-06 15:09:48', '2025-01-06 15:09:48');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 1 - 2025-01-06 15:12:40 [2.52ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 2 - 2025-01-06 15:12:40 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 3 - 2025-01-06 15:12:40 [0.25ms] */
select `region`.`name` from `district` inner join `region` on `region`.`id` = `district`.`region_id` where `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 4 - 2025-01-06 15:12:40 [0.18ms] */
select `name` from `classification_type` where `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 5 - 2025-01-06 15:12:40 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 6 - 2025-01-06 15:12:40 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/TaxAnalysisReport
   Query 1 - 2025-01-06 15:12:43 [1.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/TaxAnalysisReport
   Query 2 - 2025-01-06 15:12:43 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/TaxAnalysisReport
   Query 1 - 2025-01-06 15:12:47 [1.32ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/TaxAnalysisReport
   Query 2 - 2025-01-06 15:12:47 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/5
   Query 1 - 2025-01-06 15:17:31 [1.63ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/5
   Query 2 - 2025-01-06 15:17:31 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/5
   Query 3 - 2025-01-06 15:17:31 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/5
   Query 4 - 2025-01-06 15:17:31 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/5
   Query 5 - 2025-01-06 15:17:31 [0.51ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 1 - 2025-01-06 15:17:32 [2.45ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2025-01-06 15:17:32 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 3 - 2025-01-06 15:17:32 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 4 - 2025-01-06 15:17:32 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 5 - 2025-01-06 15:17:32 [0.34ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2025-01-06 15:17:32 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 7 - 2025-01-06 15:17:32 [0.35ms] */
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` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-01-06 15:17:32 [0.31ms] */
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` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-06 15:17:32 [5.1ms] */
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 (5) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-06 15:17:32 [8.81ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 11 - 2025-01-06 15:17:32 [0.16ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2025-01-06 15:17:32 [0.31ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 13 - 2025-01-06 15:17:32 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2025-01-06 15:17:32 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 15 - 2025-01-06 15:17:32 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 90038 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 16 - 2025-01-06 15:17:32 [0.24ms] */
select * from `party` where `party`.`id` = 58797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 17 - 2025-01-06 15:17:32 [0.4ms] */
select * from `company` where `company`.`id` = 2524 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 18 - 2025-01-06 15:17:32 [0.41ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98846 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 19 - 2025-01-06 15:17:32 [0.36ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 20 - 2025-01-06 15:17:32 [0.36ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 21 - 2025-01-06 15:17:32 [0.56ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105170 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 22 - 2025-01-06 15:17:32 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 23 - 2025-01-06 15:17:32 [0.34ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 24 - 2025-01-06 15:17:32 [0.45ms] */
select * from `transaction_workflow` where `transaction_id` = 105170 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 25 - 2025-01-06 15:17:32 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 26 - 2025-01-06 15:17:32 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 27 - 2025-01-06 15:17:32 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 28 - 2025-01-06 15:17:32 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 90038 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 29 - 2025-01-06 15:17:32 [0.27ms] */
select * from `party` where `party`.`id` = 58797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 30 - 2025-01-06 15:17:32 [0.21ms] */
select * from `company` where `company`.`id` = 2524 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 31 - 2025-01-06 15:17:32 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98846 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 32 - 2025-01-06 15:17:32 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 33 - 2025-01-06 15:17:32 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2025-01-06 15:17:32 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105171 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 35 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 36 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 37 - 2025-01-06 15:17:32 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 105171 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 38 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 40 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 41 - 2025-01-06 15:17:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90038 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 42 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party` where `party`.`id` = 58797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 43 - 2025-01-06 15:17:32 [0.13ms] */
select * from `company` where `company`.`id` = 2524 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 44 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98846 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 45 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2025-01-06 15:17:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 47 - 2025-01-06 15:17:32 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105172 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2025-01-06 15:17:32 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 49 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 50 - 2025-01-06 15:17:32 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 105172 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 51 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 52 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 53 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 54 - 2025-01-06 15:17:32 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 55 - 2025-01-06 15:17:32 [0.2ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 56 - 2025-01-06 15:17:32 [0.23ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 57 - 2025-01-06 15:17:32 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98545 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 58 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 59 - 2025-01-06 15:17:32 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 60 - 2025-01-06 15:17:32 [0.22ms] */
select * from `users` where `users`.`id` = 117 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2025-01-06 15:17:32 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103369 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 62 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 63 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 64 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 65 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 66 - 2025-01-06 15:17:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 67 - 2025-01-06 15:17:32 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89860 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 68 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 69 - 2025-01-06 15:17:32 [0.14ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 70 - 2025-01-06 15:17:32 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98563 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 71 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 72 - 2025-01-06 15:17:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 73 - 2025-01-06 15:17:32 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103368 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 74 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 75 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 76 - 2025-01-06 15:17:32 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 103368 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 77 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 78 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 79 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 80 - 2025-01-06 15:17:32 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 1359 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 81 - 2025-01-06 15:17:32 [0.21ms] */
select * from `party` where `party`.`id` = 56318 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 82 - 2025-01-06 15:17:32 [0.22ms] */
select * from `company` where `company`.`id` = 709 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 83 - 2025-01-06 15:17:32 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 73560 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 84 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 85 - 2025-01-06 15:17:32 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 86 - 2025-01-06 15:17:32 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103367 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 87 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 88 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 89 - 2025-01-06 15:17:32 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 103367 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 90 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 91 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 92 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 93 - 2025-01-06 15:17:32 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 94 - 2025-01-06 15:17:32 [0.21ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 95 - 2025-01-06 15:17:32 [0.21ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 96 - 2025-01-06 15:17:32 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98733 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 97 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 98 - 2025-01-06 15:17:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 99 - 2025-01-06 15:17:32 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103363 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 100 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 101 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 102 - 2025-01-06 15:17:32 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 103363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 103 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 104 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 105 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 106 - 2025-01-06 15:17:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 107 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 108 - 2025-01-06 15:17:32 [0.15ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 109 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98733 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 110 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 111 - 2025-01-06 15:17:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 112 - 2025-01-06 15:17:32 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103364 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 113 - 2025-01-06 15:17:32 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 114 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 115 - 2025-01-06 15:17:32 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 103364 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 116 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 117 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 118 - 2025-01-06 15:17:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 119 - 2025-01-06 15:17:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 120 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 121 - 2025-01-06 15:17:32 [0.15ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 122 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98733 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 123 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 124 - 2025-01-06 15:17:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 125 - 2025-01-06 15:17:32 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103365 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 126 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 127 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 128 - 2025-01-06 15:17:32 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 103365 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 129 - 2025-01-06 15:17:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 130 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 131 - 2025-01-06 15:17:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 132 - 2025-01-06 15:17:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 133 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 134 - 2025-01-06 15:17:32 [0.15ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 135 - 2025-01-06 15:17:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98733 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 136 - 2025-01-06 15:17:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 137 - 2025-01-06 15:17:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 138 - 2025-01-06 15:17:32 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103366 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 139 - 2025-01-06 15:17:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 140 - 2025-01-06 15:17:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 141 - 2025-01-06 15:17:32 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 103366 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 142 - 2025-01-06 15:17:32 [0.29ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 143 - 2025-01-06 15:17:32 [0.22ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 1 - 2025-01-06 15:17:37 [1.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 2 - 2025-01-06 15:17:37 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 3 - 2025-01-06 15:17:37 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 4 - 2025-01-06 15:17:37 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 5 - 2025-01-06 15:17:37 [0.53ms] */
select count(*) as aggregate from `driver_license` where `expiry_date` <= '2025-01-06 15:17:37' and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 6 - 2025-01-06 15:17:37 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-renewal
   Query 7 - 2025-01-06 15:17:37 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 1 - 2025-01-06 15:17:39 [2.4ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 2 - 2025-01-06 15:17:39 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 3 - 2025-01-06 15:17:39 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 4 - 2025-01-06 15:17:39 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 5 - 2025-01-06 15:17:39 [0.34ms] */
select count(*) as aggregate from `driver_license` where `expiry_date` <= '2025-01-06 15:17:39' and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 1 - 2025-01-06 15:17:41 [2.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 2 - 2025-01-06 15:17:41 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 3 - 2025-01-06 15:17:41 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 4 - 2025-01-06 15:17:41 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 5 - 2025-01-06 15:17:42 [0.74ms] */
select count(*) as aggregate from `driver_license` inner join `party` on `party`.`id` = `driver_license`.`party_id` left join `person` on `person`.`id` = `party`.`partyable_id` where (`party`.`partyable_type` = 'Person' and `first_name` like '%fara%' or `driver_license_number` like '%fara%' or `transaction_id` like '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%') and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 6 - 2025-01-06 15:17:42 [1.07ms] */
select `driver_license`.* from `driver_license` inner join `party` on `party`.`id` = `driver_license`.`party_id` left join `person` on `person`.`id` = `party`.`partyable_id` where (`party`.`partyable_type` = 'Person' and `first_name` like '%fara%' or `driver_license_number` like '%fara%' or `transaction_id` like '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%') and `driver_license`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc, `driver_license_number` asc, `transaction_id` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 7 - 2025-01-06 15:17:42 [0.27ms] */
select * from `party` where `party`.`id` = 58229 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 8 - 2025-01-06 15:17:42 [0.22ms] */
select * from `person` where `person`.`id` = 55779 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 9 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58229 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 10 - 2025-01-06 15:17:42 [0.15ms] */
select * from `person` where `person`.`id` = 55779 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 11 - 2025-01-06 15:17:42 [0.3ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 12 - 2025-01-06 15:17:42 [0.24ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 13 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 14 - 2025-01-06 15:17:42 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 15 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 16 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 17 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 18 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 19 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 20 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 21 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 22 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 23 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 24 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 25 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 26 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 1 - 2025-01-06 15:17:42 [1.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 2 - 2025-01-06 15:17:42 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 3 - 2025-01-06 15:17:42 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 4 - 2025-01-06 15:17:42 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 5 - 2025-01-06 15:17:42 [1.17ms] */
select count(*) as aggregate from `driver_license` inner join `party` on `party`.`id` = `driver_license`.`party_id` left join `person` on `person`.`id` = `party`.`partyable_id` where (`party`.`partyable_type` = 'Person' and `first_name` like '%farah%' or `driver_license_number` like '%farah%' or `transaction_id` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%') and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 6 - 2025-01-06 15:17:42 [2.1ms] */
select `driver_license`.* from `driver_license` inner join `party` on `party`.`id` = `driver_license`.`party_id` left join `person` on `person`.`id` = `party`.`partyable_id` where (`party`.`partyable_type` = 'Person' and `first_name` like '%farah%' or `driver_license_number` like '%farah%' or `transaction_id` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%') and `driver_license`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc, `driver_license_number` asc, `transaction_id` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 7 - 2025-01-06 15:17:42 [0.32ms] */
select * from `party` where `party`.`id` = 58229 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 8 - 2025-01-06 15:17:42 [0.16ms] */
select * from `person` where `person`.`id` = 55779 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 9 - 2025-01-06 15:17:42 [0.15ms] */
select * from `party` where `party`.`id` = 58229 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 10 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55779 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 11 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 12 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 13 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 14 - 2025-01-06 15:17:42 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 15 - 2025-01-06 15:17:42 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 16 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 17 - 2025-01-06 15:17:42 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 18 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 19 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 20 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 21 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 22 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 23 - 2025-01-06 15:17:42 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 24 - 2025-01-06 15:17:42 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 25 - 2025-01-06 15:17:42 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 26 - 2025-01-06 15:17:42 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 1 - 2025-01-06 15:17:45 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 2 - 2025-01-06 15:17:45 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 3 - 2025-01-06 15:17:45 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 4 - 2025-01-06 15:17:45 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 5 - 2025-01-06 15:17:45 [0.41ms] */
select count(*) as aggregate from `driver_license` where `expiry_date` <= '2025-01-06 15:17:45' and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 1 - 2025-01-06 15:17:45 [2.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 2 - 2025-01-06 15:17:45 [0.77ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 3 - 2025-01-06 15:17:45 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 4 - 2025-01-06 15:17:45 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 5 - 2025-01-06 15:17:45 [0.35ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 6 - 2025-01-06 15:17:45 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 7 - 2025-01-06 15:17:45 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 8 - 2025-01-06 15:17:45 [0.31ms] */
select * from `address` where `address`.`id` = 58086 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 9 - 2025-01-06 15:17:45 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 10 - 2025-01-06 15:17:45 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 11 - 2025-01-06 15:17:45 [0.98ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 12 - 2025-01-06 15:17:45 [0.16ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 13 - 2025-01-06 15:17:45 [0.16ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 14 - 2025-01-06 15:17:45 [0.22ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 1 - 2025-01-06 15:17:50 [2.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 2 - 2025-01-06 15:17:50 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 3 - 2025-01-06 15:17:50 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 4 - 2025-01-06 15:17:50 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 5 - 2025-01-06 15:17:50 [0.21ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 6 - 2025-01-06 15:17:50 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 7 - 2025-01-06 15:17:50 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 8 - 2025-01-06 15:17:50 [0.15ms] */
select * from `address` where `address`.`id` = 58086 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 9 - 2025-01-06 15:17:50 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 10 - 2025-01-06 15:17:50 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 11 - 2025-01-06 15:17:50 [0.51ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 12 - 2025-01-06 15:17:50 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 13 - 2025-01-06 15:17:50 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 14 - 2025-01-06 15:17:50 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 1 - 2025-01-06 15:17:52 [1.36ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 2 - 2025-01-06 15:17:52 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 3 - 2025-01-06 15:17:52 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 4 - 2025-01-06 15:17:52 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 5 - 2025-01-06 15:17:52 [0.3ms] */
select * from `service` where `name` = 'DriverLicenseRenewal' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 6 - 2025-01-06 15:17:52 [0.35ms] */
select * from `transaction` where (`service_id` = 14 and `driver_license_id` = 2 and `status` = 'INPROGRESS' or `service_id` = 14 and `driver_license_id` = 2 and `status` = 'OPEN') and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 7 - 2025-01-06 15:17:52 [0.16ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 8 - 2025-01-06 15:17:52 [9.13ms] */
select * from `person_bio_iris` where `party_id` = 58086 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 9 - 2025-01-06 15:17:52 [0.84ms] */
select * from `person_bio_photo` where `party_id` = 58086 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 10 - 2025-01-06 15:17:52 [0.46ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 11 - 2025-01-06 15:17:52 [0.42ms] */
select * from `service` where `name` = 'DriverLicenseRenewal' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 12 - 2025-01-06 15:17:52 [0.34ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 13 - 2025-01-06 15:17:52 [0.48ms] */
select * from `service_workflow` where ((`service_id` = 14)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 14 - 2025-01-06 15:17:52 [0.35ms] */
select * from `workflow_definition` where `workflow_id` = 14 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 15 - 2025-01-06 15:17:52 [0.57ms] */
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 (58086, 14, null, 2, 14, 57, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 16 - 2025-01-06 15:17:52 [0.33ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105220, 'INITIATED', '2025-01-06 15:17:52', 5, 5, 5, 5, '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 17 - 2025-01-06 15:17:52 [0.65ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 18 - 2025-01-06 15:17:52 [0.29ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 19 - 2025-01-06 15:17:52 [0.36ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105220, '2025-01-06 15:17:52', '2025-02-06 15:17:52', 'OPEN', 58086, 5, 5, '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 20 - 2025-01-06 15:17:52 [0.29ms] */
select * from `invoice` where `id` = 104778 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 21 - 2025-01-06 15:17:52 [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":105220,"party_id":58086,"invoice_amount":"0.00","invoice_date":"2025-01-06 15:17:52","due_date":"2025-02-06 15:17:52","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 104778, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 22 - 2025-01-06 15:17:52 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee - DL Renewal', 'DL Renewal Service Fee', 1, 12.00, 12.00, 104778, 5, 5, '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 23 - 2025-01-06 15:17:52 [0.22ms] */
select * from `invoice_item` where `id` = 204720 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 24 - 2025-01-06 15:17:52 [0.22ms] */
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 - DL Renewal","description":"DL Renewal Service Fee","unit_price":"12.00","quantity":1,"total_price":"12.00","invoice_id":104778}}', 5, 'App\Models\User', 204720, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 25 - 2025-01-06 15:17:52 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 104778 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 26 - 2025-01-06 15:17:52 [0.32ms] */
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` = 104778 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 27 - 2025-01-06 15:17:52 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 104778 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 28 - 2025-01-06 15:17:52 [0.25ms] */
update `invoice` set `invoice_amount` = 12, `outstanding_balance` = 12, `discounts` = 0, `total_invoice_amount` = 12, `invoice`.`updated_at` = '2025-01-06 15:17:52' where `id` = 104778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 29 - 2025-01-06 15:17:52 [0.24ms] */
select * from `invoice` where `id` = 104778 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 30 - 2025-01-06 15:17:52 [0.22ms] */
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":"12.00","outstanding_balance":"12.00","discounts":"0.00","total_invoice_amount":"12.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 104778, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 31 - 2025-01-06 15:17:52 [0.22ms] */
update `invoice` set `invoice_number` = 'INV-622-104778436', `invoice`.`updated_at` = '2025-01-06 15:17:52' where `id` = 104778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 32 - 2025-01-06 15:17:52 [0.23ms] */
select * from `invoice` where `id` = 104778 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 33 - 2025-01-06 15:17:52 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"12.00","outstanding_balance":"12.00","discounts":"0.00","total_invoice_amount":"12.00","invoice_number":"INV-622-104778436","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 104778, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 34 - 2025-01-06 15:17:52 [0.24ms] */
update `transaction` set `invoice_id` = 104778, `transaction`.`updated_at` = '2025-01-06 15:17:52' where `id` = 105220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 35 - 2025-01-06 15:17:52 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 36 - 2025-01-06 15:17:52 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 57 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 37 - 2025-01-06 15:17:52 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 38 - 2025-01-06 15:17:52 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105220, 'CLAIMED', '2025-01-06 15:17:52', 5, 5, 5, 5, '2025-01-06 15:17:52', '2025-01-06 15:17:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 39 - 2025-01-06 15:17:52 [0.24ms] */
update `transaction` set `assigned_to` = 5, `transaction`.`updated_at` = '2025-01-06 15:17:52' where `id` = 105220;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 1 - 2025-01-06 15:17:52 [1.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 2 - 2025-01-06 15:17:52 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 3 - 2025-01-06 15:17:52 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 4 - 2025-01-06 15:17:52 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 5 - 2025-01-06 15:17:52 [0.52ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 6 - 2025-01-06 15:17:52 [0.34ms] */
select * from `transaction_workflow` where `transaction_id` = 105220 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 7 - 2025-01-06 15:17:52 [0.29ms] */
select * from `invoice` where `transaction_id` = 105220 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 8 - 2025-01-06 15:17:52 [0.28ms] */
select * from `invoice_payment` where `invoice_id` = 104778;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 9 - 2025-01-06 15:17:52 [0.41ms] */
select * from `payment_documents` where `transaction_id` = 105220;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 10 - 2025-01-06 15:17:52 [0.35ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105220 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 11 - 2025-01-06 15:17:52 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` is null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 12 - 2025-01-06 15:17:52 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` is null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 13 - 2025-01-06 15:17:52 [0.41ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105220 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 14 - 2025-01-06 15:17:52 [0.14ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 15 - 2025-01-06 15:17:52 [0.32ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 16 - 2025-01-06 15:17:52 [0.31ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 17 - 2025-01-06 15:17:52 [0.5ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 18 - 2025-01-06 15:17:52 [0.64ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 19 - 2025-01-06 15:17:52 [0.4ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 20 - 2025-01-06 15:17:52 [0.34ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 57 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 21 - 2025-01-06 15:17:52 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 22 - 2025-01-06 15:17:52 [0.42ms] */
select * from `workflow` where `workflow`.`id` = 14 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 23 - 2025-01-06 15:17:52 [0.15ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 24 - 2025-01-06 15:17:52 [0.45ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 25 - 2025-01-06 15:17:52 [0.29ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 26 - 2025-01-06 15:17:52 [0.34ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 27 - 2025-01-06 15:17:52 [30.43ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55682 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 28 - 2025-01-06 15:17:52 [0.16ms] */
select * from `address` where `address`.`id` = 58086 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 29 - 2025-01-06 15:17:52 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 30 - 2025-01-06 15:17:52 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 31 - 2025-01-06 15:17:52 [0.54ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 32 - 2025-01-06 15:17:52 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 33 - 2025-01-06 15:17:52 [0.11ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 34 - 2025-01-06 15:17:52 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 35 - 2025-01-06 15:17:52 [0.34ms] */
select * from `transaction_workflow` where `transaction_id` = 105220 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 36 - 2025-01-06 15:17:52 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 37 - 2025-01-06 15:17:52 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 38 - 2025-01-06 15:17:52 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 39 - 2025-01-06 15:17:52 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 40 - 2025-01-06 15:17:52 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 14 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 41 - 2025-01-06 15:17:52 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 42 - 2025-01-06 15:17:52 [0.22ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 43 - 2025-01-06 15:17:52 [0.18ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 44 - 2025-01-06 15:17:52 [0.18ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 45 - 2025-01-06 15:17:52 [0.45ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 46 - 2025-01-06 15:17:52 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 47 - 2025-01-06 15:17:52 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105220
   Query 48 - 2025-01-06 15:17:52 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-06 15:17:55 [2.13ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-06 15:17:55 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-06 15:17:55 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-06 15:17:55 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-01-06 15:17:55 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105220 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-06 15:17:55 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` in (14) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-01-06 15:17:55 [0.2ms] */
select * from `service` where `service`.`id` in (14) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-06 15:17:55 [0.2ms] */
select * from `workflow` where `workflow`.`id` in (14) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-06 15:17:55 [0.13ms] */
select * from `service` where `service`.`id` in (14) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-06 15:17:55 [0.25ms] */
select * from `users` where `users`.`id` in (5) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-06 15:17:55 [0.29ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (57) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-06 15:17:55 [0.55ms] */
select * from `roles` where `roles`.`id` in (5);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-06 15:17:55 [0.6ms] */
select * from `party` where `party`.`id` in (58086) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-01-06 15:17:55 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-06 15:17:55 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-06 15:17:55 [0.29ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-06 15:17:55 [0.33ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-06 15:17:55 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-01-06 15:17:55 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 105220 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-06 15:17:55 [0.23ms] */
select * from `invoice` where `transaction_id` = 105220 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-06 15:17:55 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 104778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-06 15:17:55 [0.2ms] */
select * from `payment_documents` where `transaction_id` = 105220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-06 15:17:55 [0.22ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105220 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-06 15:17:55 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` is null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-06 15:17:55 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` is null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-06 15:17:55 [0.24ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105220 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-06 15:17:55 [0.22ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-06 15:17:55 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-06 15:17:55 [0.2ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-06 15:17:55 [0.2ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-06 15:17:55 [0.3ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-06 15:17:55 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-06 15:17:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 57 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-01-06 15:17:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-01-06 15:17:55 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 14 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-06 15:17:55 [2.02ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-06 15:17:55 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-06 15:17:55 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-06 15:17:55 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-06 15:17:55 [0.53ms] */
(select * from `workflow_checklist` where `workflow_id` = 14 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 14 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-01-06 15:17:55 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 14 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 14 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-06 15:17:58 [1.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-06 15:17:58 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-06 15:17:58 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-06 15:17:58 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-06 15:17:58 [0.24ms] */
(select * from `workflow_checklist` where `workflow_id` = 14 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 14 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-06 15:17:58 [2.02ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-06 15:17:58 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-06 15:17:58 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-06 15:17:58 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-01-06 15:17:58 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105220 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-06 15:17:58 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (14) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-01-06 15:17:58 [0.14ms] */
select * from `service` where `service`.`id` in (14) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-06 15:17:58 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (14) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-06 15:17:58 [0.13ms] */
select * from `service` where `service`.`id` in (14) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-06 15:17:58 [0.15ms] */
select * from `users` where `users`.`id` in (5) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-06 15:17:58 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (57) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-06 15:17:58 [0.12ms] */
select * from `roles` where `roles`.`id` in (5);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-06 15:17:58 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-01-06 15:17:58 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-06 15:17:58 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-06 15:17:58 [0.23ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-06 15:17:58 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 57 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-06 15:17:58 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-01-06 15:17:58 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105220, 'APPROVED', '2025-01-06 15:17:58', 5, 5, null, 5, 5, '2025-01-06 15:17:58', '2025-01-06 15:17:58');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-06 15:17:58 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 14 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-06 15:17:58 [0.34ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 58, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 15:17:58' where `id` = 105220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-06 15:17:58 [0.2ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-06 15:17:58 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 104778 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-06 15:17:58 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 105220 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-06 15:17:58 [0.4ms] */
select * from `transaction_workflow` where `transaction_id` = 105220 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-06 15:17:58 [0.23ms] */
select * from `invoice` where `transaction_id` = 105220 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-06 15:17:58 [0.18ms] */
select * from `invoice_payment` where `invoice_id` = 104778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-06 15:17:58 [0.56ms] */
select * from `payment_documents` where `transaction_id` = 105220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-06 15:17:58 [0.35ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105220 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-06 15:17:58 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` is null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-06 15:17:58 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` is null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-06 15:17:58 [0.23ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105220 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-06 15:17:58 [0.22ms] */
select * from `driver_license` where `driver_license`.`id` = 2 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-01-06 15:17:58 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-01-06 15:17:58 [0.2ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-01-06 15:17:58 [0.26ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-01-06 15:17:58 [0.21ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 14 and `dl_class` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-01-06 15:17:58 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 58 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-01-06 15:17:58 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-01-06 15:17:59 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 14 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.view-driver-license-component
   Query 1 - 2025-01-06 15:17:59 [1.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.view-driver-license-component
   Query 2 - 2025-01-06 15:17:59 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.view-driver-license-component
   Query 3 - 2025-01-06 15:17:59 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.view-driver-license-component
   Query 4 - 2025-01-06 15:17:59 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.view-driver-license-component
   Query 5 - 2025-01-06 15:17:59 [0.51ms] */
select * from `driver_license` where `driver_license`.`id` = 2 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-01-06 15:17:59 [2.09ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-01-06 15:17:59 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2025-01-06 15:17:59 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2025-01-06 15:17:59 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2025-01-06 15:18:00 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 105220 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-01-06 15:18:00 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-01-06 15:18:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-01-06 15:18:00 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-01-06 15:18:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-01-06 15:18:00 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-01-06 15:18:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-01-06 15:18:00 [2.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-01-06 15:18:00 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2025-01-06 15:18:00 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2025-01-06 15:18:00 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2025-01-06 15:18:00 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 105220 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-01-06 15:18:00 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (14) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-01-06 15:18:00 [0.14ms] */
select * from `service` where `service`.`id` in (14) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-01-06 15:18:00 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (14) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-01-06 15:18:00 [0.13ms] */
select * from `service` where `service`.`id` in (14) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-01-06 15:18:00 [0.19ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-01-06 15:18:00 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (58) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-01-06 15:18:00 [0.19ms] */
select * from `roles` where `roles`.`id` in (7);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-01-06 15:18:00 [0.15ms] */
select * from `party` where `party`.`id` in (58086) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-01-06 15:18:00 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 14 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-01-06 15:18:00 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-01-06 15:18:00 [0.14ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-01-06 15:18:00 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-01-06 15:18:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 1 - 2025-01-06 15:18:04 [2.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 2 - 2025-01-06 15:18:04 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 3 - 2025-01-06 15:18:04 [0.15ms] */
select `region`.`name` from `district` inner join `region` on `region`.`id` = `district`.`region_id` where `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 4 - 2025-01-06 15:18:04 [0.12ms] */
select `name` from `classification_type` where `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 5 - 2025-01-06 15:18:04 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 6 - 2025-01-06 15:18:04 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 1 - 2025-01-06 15:18:05 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 2 - 2025-01-06 15:18:05 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 3 - 2025-01-06 15:18:05 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 4 - 2025-01-06 15:18:05 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 5 - 2025-01-06 15:18:05 [27.27ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 6 - 2025-01-06 15:18:05 [14.53ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 7 - 2025-01-06 15:18:05 [24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56273 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 8 - 2025-01-06 15:18:05 [0.46ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58796 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 9 - 2025-01-06 15:18:05 [4.65ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 10755 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 10 - 2025-01-06 15:18:05 [0.31ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 10755 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 11 - 2025-01-06 15:18:05 [9.74ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23513 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 12 - 2025-01-06 15:18:05 [0.31ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23513 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 13 - 2025-01-06 15:18:05 [4.35ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 9998 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 14 - 2025-01-06 15:18:05 [0.36ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 9998 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 15 - 2025-01-06 15:18:05 [23.74ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56271 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 16 - 2025-01-06 15:18:05 [0.33ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58794 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 17 - 2025-01-06 15:18:05 [1.89ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 3945 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 18 - 2025-01-06 15:18:05 [0.34ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 3945 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 19 - 2025-01-06 15:18:05 [9.58ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23313 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 20 - 2025-01-06 15:18:05 [0.3ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23313 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 21 - 2025-01-06 15:18:05 [13.38ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 32952 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 22 - 2025-01-06 15:18:05 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 32952 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 23 - 2025-01-06 15:18:05 [3.19ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 7158 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 24 - 2025-01-06 15:18:05 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 7158 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 25 - 2025-01-06 15:18:05 [0.51ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 516 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 26 - 2025-01-06 15:18:05 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 516 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 27 - 2025-01-06 15:18:05 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license
   Query 28 - 2025-01-06 15:18:05 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 1 - 2025-01-06 15:18:06 [2.53ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 2 - 2025-01-06 15:18:06 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:18:07 [1.97ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:18:07 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:18:07 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:18:07 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:18:09 [1.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:18:09 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:18:09 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:18:09 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2025-01-06 15:18:09 [136.25ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%' or `customer_identity_documents`.`id_number` like '%fara%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-01-06 15:18:10 [153.86ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%' or `customer_identity_documents`.`id_number` like '%fara%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-01-06 15:18:10 [26.75ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54351 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-01-06 15:18:10 [0.42ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 54351 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-01-06 15:18:10 [21.89ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54378 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-01-06 15:18:10 [0.37ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 54378 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-01-06 15:18:10 [19.09ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 47380 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-01-06 15:18:10 [0.33ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 47380 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-01-06 15:18:10 [4.36ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 10045 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-01-06 15:18:10 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 10045 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 15 - 2025-01-06 15:18:10 [6.01ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 14158 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 16 - 2025-01-06 15:18:10 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 14158 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 17 - 2025-01-06 15:18:10 [7.63ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 18411 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 18 - 2025-01-06 15:18:10 [0.31ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 18411 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 19 - 2025-01-06 15:18:10 [24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56212 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 20 - 2025-01-06 15:18:10 [0.53ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58734 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 21 - 2025-01-06 15:18:10 [23.91ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56223 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 22 - 2025-01-06 15:18:10 [0.39ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58745 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 23 - 2025-01-06 15:18:10 [23.68ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56263 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 24 - 2025-01-06 15:18:10 [0.33ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58786 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 25 - 2025-01-06 15:18:10 [5.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12126 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 26 - 2025-01-06 15:18:10 [0.38ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12126 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:18:11 [2.02ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:18:11 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:18:11 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:18:11 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2025-01-06 15:18:11 [136.03ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-01-06 15:18:11 [153.3ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-01-06 15:18:11 [0.24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56212 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-01-06 15:18:11 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58734 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-01-06 15:18:11 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56223 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-01-06 15:18:11 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58745 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-01-06 15:18:11 [0.13ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12126 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-01-06 15:18:11 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12126 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-01-06 15:18:11 [5.22ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12216 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-01-06 15:18:11 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12216 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 15 - 2025-01-06 15:18:11 [18.91ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 46638 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 16 - 2025-01-06 15:18:11 [0.28ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 46638 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 17 - 2025-01-06 15:18:11 [18.43ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 46200 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 18 - 2025-01-06 15:18:11 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 46200 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 19 - 2025-01-06 15:18:11 [18.39ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 46361 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 20 - 2025-01-06 15:18:11 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 46361 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 21 - 2025-01-06 15:18:11 [17.95ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 44950 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 22 - 2025-01-06 15:18:11 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 44950 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 23 - 2025-01-06 15:18:11 [17.82ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 44116 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 24 - 2025-01-06 15:18:11 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 44116 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 25 - 2025-01-06 15:18:11 [20.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 50460 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 26 - 2025-01-06 15:18:11 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 50460 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 1 - 2025-01-06 15:18:12 [1.96ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 2 - 2025-01-06 15:18:12 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:18:12 [1.99ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:18:12 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:18:12 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:18:12 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2025-01-06 15:18:12 [136.11ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where ((((`first_name` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-01-06 15:18:12 [151.29ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where ((((`first_name` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-01-06 15:18:12 [23.31ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55779 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-01-06 15:18:12 [0.27ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58229 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-01-06 15:18:12 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55682 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-01-06 15:18:12 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58086 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-01-06 15:18:12 [23.01ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55760 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-01-06 15:18:12 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58203 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:18:14 [1.95ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:18:14 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:18:14 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:18:14 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 1 - 2025-01-06 15:18:15 [1.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 2 - 2025-01-06 15:18:15 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 3 - 2025-01-06 15:18:15 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 4 - 2025-01-06 15:18:15 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 5 - 2025-01-06 15:18:15 [0.2ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 6 - 2025-01-06 15:18:15 [0.16ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 7 - 2025-01-06 15:18:15 [0.51ms] */
select * from `person_bio_iris` where `party_id` = 58086 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 8 - 2025-01-06 15:18:15 [0.28ms] */
select * from `person_bio_photo` where `party_id` = 58086 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 9 - 2025-01-06 15:18:15 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 10 - 2025-01-06 15:18:15 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 11 - 2025-01-06 15:18:15 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55682 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 12 - 2025-01-06 15:18:15 [0.15ms] */
select * from `address` where `address`.`id` = 58086 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 13 - 2025-01-06 15:18:15 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 14 - 2025-01-06 15:18:15 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 15 - 2025-01-06 15:18:15 [0.42ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 16 - 2025-01-06 15:18:15 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 17 - 2025-01-06 15:18:15 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 18 - 2025-01-06 15:18:15 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 1 - 2025-01-06 15:18:17 [1.44ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 2 - 2025-01-06 15:18:17 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 1 - 2025-01-06 15:18:22 [2.36ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 2 - 2025-01-06 15:18:22 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 3 - 2025-01-06 15:18:22 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 4 - 2025-01-06 15:18:22 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 5 - 2025-01-06 15:18:22 [0.22ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 6 - 2025-01-06 15:18:22 [0.17ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 7 - 2025-01-06 15:18:22 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55682 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 8 - 2025-01-06 15:18:22 [0.15ms] */
select * from `address` where `address`.`id` = 58086 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 9 - 2025-01-06 15:18:22 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 10 - 2025-01-06 15:18:22 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 11 - 2025-01-06 15:18:22 [0.56ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 12 - 2025-01-06 15:18:22 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 13 - 2025-01-06 15:18:22 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 14 - 2025-01-06 15:18:22 [0.15ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 1 - 2025-01-06 15:18:23 [1.33ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 2 - 2025-01-06 15:18:23 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 1 - 2025-01-06 15:18:23 [1.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 2 - 2025-01-06 15:18:23 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 3 - 2025-01-06 15:18:23 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 4 - 2025-01-06 15:18:23 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 5 - 2025-01-06 15:18:23 [0.2ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 6 - 2025-01-06 15:18:23 [0.24ms] */
select * from `service` where `name` = 'DriverLicense' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 7 - 2025-01-06 15:18:23 [0.26ms] */
select * from `service_workflow` where ((`service_id` = 11)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 8 - 2025-01-06 15:18:23 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 11 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 9 - 2025-01-06 15:18:23 [0.41ms] */
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 (58086, 11, null, null, 11, 43, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-06 15:18:23', '2025-01-06 15:18:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 10 - 2025-01-06 15:18:23 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105221, 'INITIATED', '2025-01-06 15:18:23', 5, 5, 5, 5, '2025-01-06 15:18:23', '2025-01-06 15:18:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 11 - 2025-01-06 15:18:23 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 12 - 2025-01-06 15:18:23 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 13 - 2025-01-06 15:18:23 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 14 - 2025-01-06 15:18:23 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105221, 'CLAIMED', '2025-01-06 15:18:23', 5, 5, 5, 5, '2025-01-06 15:18:23', '2025-01-06 15:18:23');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 15 - 2025-01-06 15:18:23 [0.21ms] */
update `transaction` set `assigned_to` = 5, `transaction`.`updated_at` = '2025-01-06 15:18:23' where `id` = 105221;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 16 - 2025-01-06 15:18:23 [0.24ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 17 - 2025-01-06 15:18:24 [0.58ms] */
insert into `driver_license` (`party_id`, `legacy_transaction_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58086, 'BOS-8726728-412848', 105221, 5, 5, '2025-01-06 15:18:24', '2025-01-06 15:18:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 18 - 2025-01-06 15:18:24 [0.41ms] */
select * from `driver_license` where `id` = 229 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 19 - 2025-01-06 15:18:24 [0.45ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('driver_license', '{"attributes":{"party_id":58086,"driver_license_number":null,"issue_date":null,"expiry_date":null,"classification":null,"transaction_id":105221,"legacy_transaction_id":"BOS-8726728-412848","status":null}}', 5, 'App\Models\User', 229, 'Modules\Party\Entities\DriverLicense', 'created', '2025-01-06 15:18:24', '2025-01-06 15:18:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component
   Query 20 - 2025-01-06 15:18:24 [0.59ms] */
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 ('[]', '{"party_id":58086,"legacy_transaction_id":"BOS-8726728-412848","transaction_id":105221,"updated_by":5,"created_by":5,"id":229}', 'created', 229, 'Modules\Party\Entities\DriverLicense', 5, 'App\Models\User', null, '103.208.231.175', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/service.driver-license-application-component', '2025-01-06 15:18:24', '2025-01-06 15:18:24');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 1 - 2025-01-06 15:18:25 [1.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 2 - 2025-01-06 15:18:25 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 3 - 2025-01-06 15:18:25 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 4 - 2025-01-06 15:18:25 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 5 - 2025-01-06 15:18:25 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 6 - 2025-01-06 15:18:25 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 105221 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 7 - 2025-01-06 15:18:25 [0.24ms] */
select * from `invoice` where `transaction_id` = 105221 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 8 - 2025-01-06 15:18:25 [0.41ms] */
select * from `payment_documents` where `transaction_id` = 105221;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 9 - 2025-01-06 15:18:25 [0.22ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105221 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 10 - 2025-01-06 15:18:25 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 11 - 2025-01-06 15:18:25 [0.22ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 12 - 2025-01-06 15:18:25 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 13 - 2025-01-06 15:18:25 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 14 - 2025-01-06 15:18:25 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 15 - 2025-01-06 15:18:25 [0.2ms] */
select * from `workflow` where `workflow`.`id` = 11 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 16 - 2025-01-06 15:18:25 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 17 - 2025-01-06 15:18:25 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 18 - 2025-01-06 15:18:25 [0.16ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 19 - 2025-01-06 15:18:25 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55682 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 20 - 2025-01-06 15:18:25 [0.15ms] */
select * from `address` where `address`.`id` = 58086 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 21 - 2025-01-06 15:18:25 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 22 - 2025-01-06 15:18:25 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 23 - 2025-01-06 15:18:25 [0.49ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 24 - 2025-01-06 15:18:25 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 25 - 2025-01-06 15:18:25 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 26 - 2025-01-06 15:18:25 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 27 - 2025-01-06 15:18:25 [0.24ms] */
select * from `party` where `id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 28 - 2025-01-06 15:18:25 [0.27ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105221 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 29 - 2025-01-06 15:18:25 [0.16ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 30 - 2025-01-06 15:18:25 [0.33ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 31 - 2025-01-06 15:18:25 [0.25ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 32 - 2025-01-06 15:18:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 33 - 2025-01-06 15:18:25 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 34 - 2025-01-06 15:18:25 [0.33ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 35 - 2025-01-06 15:18:25 [0.15ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 36 - 2025-01-06 15:18:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 37 - 2025-01-06 15:18:25 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 38 - 2025-01-06 15:18:25 [0.37ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105221 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 39 - 2025-01-06 15:18:25 [0.15ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 40 - 2025-01-06 15:18:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 41 - 2025-01-06 15:18:25 [0.12ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 42 - 2025-01-06 15:18:25 [0.46ms] */
select * from `transaction_workflow` where `transaction_id` = 105221 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 43 - 2025-01-06 15:18:25 [0.23ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 44 - 2025-01-06 15:18:25 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 45 - 2025-01-06 15:18:25 [0.22ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 46 - 2025-01-06 15:18:25 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 47 - 2025-01-06 15:18:25 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 11 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 48 - 2025-01-06 15:18:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 49 - 2025-01-06 15:18:25 [0.17ms] */
select * from `roles` where `roles`.`id` = 24 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 50 - 2025-01-06 15:18:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 51 - 2025-01-06 15:18:25 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 52 - 2025-01-06 15:18:25 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 53 - 2025-01-06 15:18:25 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 54 - 2025-01-06 15:18:25 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 55 - 2025-01-06 15:18:25 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105221
   Query 56 - 2025-01-06 15:18:25 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-06 15:18:27 [1.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-06 15:18:27 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-06 15:18:27 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-06 15:18:27 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-01-06 15:18:28 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 105221 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-06 15:18:28 [0.33ms] */
select * from `service_workflow` where `service_workflow`.`id` in (11) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-01-06 15:18:28 [0.19ms] */
select * from `service` where `service`.`id` in (11) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-06 15:18:28 [0.22ms] */
select * from `workflow` where `workflow`.`id` in (11) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-06 15:18:28 [0.16ms] */
select * from `users` where `users`.`id` in (5) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-06 15:18:28 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (43) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-06 15:18:28 [0.13ms] */
select * from `roles` where `roles`.`id` in (5);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-06 15:18:28 [0.17ms] */
select * from `party` where `party`.`id` in (58086) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-06 15:18:28 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-01-06 15:18:28 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-06 15:18:28 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-06 15:18:28 [0.2ms] */
select * from `service` where `service`.`id` = 11 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-06 15:18:28 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-06 15:18:28 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-01-06 15:18:28 [0.15ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-06 15:18:28 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-06 15:18:28 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 105221 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-06 15:18:28 [0.5ms] */
select * from `invoice` where `transaction_id` = 105221 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-06 15:18:28 [0.27ms] */
select * from `payment_documents` where `transaction_id` = 105221;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-06 15:18:28 [0.28ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105221 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-06 15:18:28 [0.29ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-06 15:18:28 [0.26ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-06 15:18:28 [0.31ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-06 15:18:28 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-06 15:18:28 [0.26ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-06 15:18:28 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 11 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 1 - 2025-01-06 15:18:28 [1.34ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 2 - 2025-01-06 15:18:28 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 1 - 2025-01-06 15:18:31 [1.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 2 - 2025-01-06 15:18:31 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 3 - 2025-01-06 15:18:31 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 4 - 2025-01-06 15:18:31 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 5 - 2025-01-06 15:18:31 [0.18ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 6 - 2025-01-06 15:18:31 [0.17ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 7 - 2025-01-06 15:18:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 8 - 2025-01-06 15:18:31 [0.14ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 1 - 2025-01-06 15:18:34 [2.24ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/reports/DailyCollectionReport
   Query 2 - 2025-01-06 15:18:34 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 1 - 2025-01-06 15:18:34 [2.08ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 2 - 2025-01-06 15:18:34 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 3 - 2025-01-06 15:18:34 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 4 - 2025-01-06 15:18:34 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 5 - 2025-01-06 15:18:34 [0.28ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 6 - 2025-01-06 15:18:34 [0.14ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 7 - 2025-01-06 15:18:34 [6.5ms] */
insert into `eye_test` (`test_result`, `wear_glasses`, `party_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('PASS', 'YES', 58086, 105221, 5, 5, '2025-01-06 15:18:34', '2025-01-06 15:18:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 8 - 2025-01-06 15:18:34 [0.48ms] */
select * from `eye_test` where `id` = 144 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 9 - 2025-01-06 15:18:35 [4.93ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('eye_test', '{"attributes":{"party_id":58086,"transaction_id":105221,"test_result":"PASS","wear_glasses":"YES"}}', 5, 'App\Models\User', 144, 'Modules\Party\Entities\EyeTest', 'created', '2025-01-06 15:18:34', '2025-01-06 15:18:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 10 - 2025-01-06 15:18:35 [3.33ms] */
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 ('[]', '{"test_result":"PASS","wear_glasses":"YES","party_id":58086,"transaction_id":105221,"updated_by":5,"created_by":5,"id":144}', 'created', 144, 'Modules\Party\Entities\EyeTest', 5, 'App\Models\User', null, '103.208.231.175', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget', '2025-01-06 15:18:35', '2025-01-06 15:18:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 11 - 2025-01-06 15:18:35 [0.44ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 12 - 2025-01-06 15:18:35 [0.26ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 13 - 2025-01-06 15:18:35 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.eye-test-widget
   Query 14 - 2025-01-06 15:18:35 [0.21ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 1 - 2025-01-06 15:18:41 [2.08ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 2 - 2025-01-06 15:18:41 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 3 - 2025-01-06 15:18:41 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 4 - 2025-01-06 15:18:41 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 5 - 2025-01-06 15:18:41 [0.38ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 6 - 2025-01-06 15:18:41 [0.32ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 7 - 2025-01-06 15:18:41 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 8 - 2025-01-06 15:18:41 [0.16ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 1 - 2025-01-06 15:18:51 [1.63ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 2 - 2025-01-06 15:18:51 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 3 - 2025-01-06 15:18:51 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 4 - 2025-01-06 15:18:51 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 5 - 2025-01-06 15:18:51 [0.37ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 6 - 2025-01-06 15:18:51 [6.72ms] */
insert into `written_test` (`party_id`, `transaction_id`, `test_type`, `test_result`, `field_officer`, `test_date`, `test_assigned_date`, `no_of_attempts`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58086, 105221, 'PAPER TEST', 'PASS', 'MAXAMED BOOTAAN - BOS-6334237-10', '2025-01-06', '2025-01-06', 2, 5, 5, '2025-01-06 15:18:51', '2025-01-06 15:18:51');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 7 - 2025-01-06 15:18:51 [0.35ms] */
select * from `written_test` where `id` = 143 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 8 - 2025-01-06 15:18:51 [5.04ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('written_test', '{"attributes":{"party_id":58086,"transaction_id":105221,"test_result":"PASS","test_type":"PAPER TEST","field_officer":"MAXAMED BOOTAAN - BOS-6334237-10","test_date":"2025-01-06","test_assigned_date":"2025-01-06","no_of_attempts":2}}', 5, 'App\Models\User', 143, 'Modules\Party\Entities\WrittenTest', 'created', '2025-01-06 15:18:51', '2025-01-06 15:18:51');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 9 - 2025-01-06 15:18:51 [3.56ms] */
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 ('[]', '{"party_id":58086,"transaction_id":105221,"test_type":"PAPER TEST","test_result":"PASS","field_officer":"MAXAMED BOOTAAN - BOS-6334237-10","test_date":"2025-01-06","test_assigned_date":"2025-01-06","no_of_attempts":"2","updated_by":5,"created_by":5,"id":143}', 'created', 143, 'Modules\Party\Entities\WrittenTest', 5, 'App\Models\User', null, '103.208.231.175', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget', '2025-01-06 15:18:51', '2025-01-06 15:18:51');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 10 - 2025-01-06 15:18:51 [0.61ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 11 - 2025-01-06 15:18:51 [0.33ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 12 - 2025-01-06 15:18:51 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.written-test-widget
   Query 13 - 2025-01-06 15:18:51 [0.28ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 1 - 2025-01-06 15:18:55 [1.99ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 2 - 2025-01-06 15:18:55 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 3 - 2025-01-06 15:18:55 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 4 - 2025-01-06 15:18:55 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 5 - 2025-01-06 15:18:55 [0.42ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105221 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 6 - 2025-01-06 15:18:55 [0.36ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 7 - 2025-01-06 15:18:55 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 8 - 2025-01-06 15:18:55 [0.29ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 1 - 2025-01-06 15:19:03 [1.69ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 2 - 2025-01-06 15:19:03 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 3 - 2025-01-06 15:19:03 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 4 - 2025-01-06 15:19:03 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 5 - 2025-01-06 15:19:03 [0.3ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105221 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 6 - 2025-01-06 15:19:03 [12.12ms] */
insert into `road_test` (`party_id`, `transaction_id`, `test_result`, `field_officer`, `test_date`, `test_assigned_date`, `no_of_attempts`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58086, 105221, 'PASS', 'Axmed Xaashi  - BOS-6334237-9', '2025-01-06', '2025-01-06', 2, 5, 5, '2025-01-06 15:19:03', '2025-01-06 15:19:03');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 7 - 2025-01-06 15:19:03 [0.53ms] */
select * from `road_test` where `id` = 141 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 8 - 2025-01-06 15:19:03 [3.67ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('road_test', '{"attributes":{"party_id":58086,"transaction_id":105221,"test_result":"PASS","field_officer":"Axmed Xaashi  - BOS-6334237-9","test_date":"2025-01-06","test_assigned_date":"2025-01-06","no_of_attempts":2}}', 5, 'App\Models\User', 141, 'Modules\Party\Entities\RoadTest', 'created', '2025-01-06 15:19:03', '2025-01-06 15:19:03');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 9 - 2025-01-06 15:19:03 [3.42ms] */
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 ('[]', '{"party_id":58086,"transaction_id":105221,"test_result":"PASS","field_officer":"Axmed Xaashi  - BOS-6334237-9","test_date":"2025-01-06","test_assigned_date":"2025-01-06","no_of_attempts":"2","updated_by":5,"created_by":5,"id":141}', 'created', 141, 'Modules\Party\Entities\RoadTest', 5, 'App\Models\User', null, '103.208.231.175', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget', '2025-01-06 15:19:03', '2025-01-06 15:19:03');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 10 - 2025-01-06 15:19:03 [0.39ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105221 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 11 - 2025-01-06 15:19:03 [0.26ms] */
select * from `transaction` where `id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 12 - 2025-01-06 15:19:03 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.road-test-widget
   Query 13 - 2025-01-06 15:19:03 [0.21ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-06 15:19:07 [1.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-06 15:19:07 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-06 15:19:07 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-06 15:19:07 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-01-06 15:19:07 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105221 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-06 15:19:07 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (11) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-01-06 15:19:07 [0.14ms] */
select * from `service` where `service`.`id` in (11) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-06 15:19:07 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (11) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-06 15:19:07 [0.15ms] */
select * from `users` where `users`.`id` in (5) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-06 15:19:07 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (43) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-06 15:19:07 [0.13ms] */
select * from `roles` where `roles`.`id` in (5);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-06 15:19:07 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-06 15:19:07 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-01-06 15:19:07 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-06 15:19:07 [0.14ms] */
select * from `service` where `service`.`id` = 11 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-06 15:19:07 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-06 15:19:07 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-06 15:19:07 [0.14ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-01-06 15:19:07 [0.34ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-06 15:19:07 [0.16ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105221 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-06 15:19:07 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-06 15:19:07 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 105221 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-06 15:19:07 [0.15ms] */
select * from `invoice` where `transaction_id` = 105221 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-06 15:19:07 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 105221;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-06 15:19:07 [0.15ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105221 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-06 15:19:07 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-06 15:19:07 [0.14ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-06 15:19:07 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-06 15:19:07 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-06 15:19:07 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-06 15:19:07 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 11 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-06 15:19:08 [1.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-06 15:19:08 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-06 15:19:08 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-06 15:19:08 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-06 15:19:08 [0.62ms] */
(select * from `workflow_checklist` where `workflow_id` = 11 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 11 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-01-06 15:19:08 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` = 11 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 11 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-06 15:19:11 [1.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-06 15:19:11 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-06 15:19:11 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-06 15:19:11 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-06 15:19:11 [0.25ms] */
(select * from `workflow_checklist` where `workflow_id` = 11 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 11 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-06 15:19:11 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-06 15:19:11 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-06 15:19:11 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-06 15:19:11 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-01-06 15:19:11 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 105221 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-06 15:19:11 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (11) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-01-06 15:19:11 [0.14ms] */
select * from `service` where `service`.`id` in (11) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-06 15:19:11 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (11) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-06 15:19:11 [0.15ms] */
select * from `users` where `users`.`id` in (5) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-06 15:19:11 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (43) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-06 15:19:11 [0.13ms] */
select * from `roles` where `roles`.`id` in (5);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-06 15:19:11 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-06 15:19:11 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-01-06 15:19:11 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-06 15:19:11 [0.19ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-06 15:19:11 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 43 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-06 15:19:11 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-06 15:19:11 [0.35ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105221, 'APPROVED', '2025-01-06 15:19:11', 5, 5, null, 5, 5, '2025-01-06 15:19:11', '2025-01-06 15:19:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-01-06 15:19:11 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 11 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-06 15:19:11 [0.45ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 44, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 15:19:11' where `id` = 105221;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-06 15:19:11 [0.19ms] */
select * from `service` where `service`.`id` = 11 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-06 15:19:11 [0.2ms] */
select * from `party` where `id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-06 15:19:12 [0.17ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-06 15:19:12 [0.25ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105221 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-06 15:19:12 [0.53ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-06 15:19:12 [0.14ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105221 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-06 15:19:13 [0.62ms] */
select * from `transaction` where `transaction`.`id` = 105221 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-06 15:19:13 [0.55ms] */
select * from `transaction_workflow` where `transaction_id` = 105221 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-06 15:19:13 [0.34ms] */
select * from `invoice` where `transaction_id` = 105221 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-06 15:19:13 [0.76ms] */
select * from `payment_documents` where `transaction_id` = 105221;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-06 15:19:13 [0.41ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105221 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-06 15:19:13 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 11 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-06 15:19:13 [0.13ms] */
select * from `service` where `service`.`id` = 11 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-01-06 15:19:13 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 44 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 24 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-01-06 15:19:13 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 11 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-01-06 15:19:13 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-01-06 15:19:13 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-01-06 15:19:13 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2025-01-06 15:19:13 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-01-06 15:19:13 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2025-01-06 15:19:13 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2025-01-06 15:19:13 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2025-01-06 15:19:13 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2025-01-06 15:19:13 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105221 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2025-01-06 15:19:13 [0.2ms] */
select * from `transaction_workflow` where `transaction_id` = 105221 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-01-06 15:19:13 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (11) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-01-06 15:19:13 [0.19ms] */
select * from `service` where `service`.`id` in (11) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-01-06 15:19:13 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-01-06 15:19:13 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (11) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-01-06 15:19:13 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-01-06 15:19:13 [0.15ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-01-06 15:19:13 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-01-06 15:19:13 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (44) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-01-06 15:19:13 [0.27ms] */
select * from `roles` where `roles`.`id` in (24);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-01-06 15:19:13 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-01-06 15:19:13 [0.15ms] */
select * from `party` where `party`.`id` in (58086) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-01-06 15:19:13 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 11 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-01-06 15:19:13 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 24 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2025-01-06 15:19:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 1 - 2025-01-06 15:19:17 [1.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 2 - 2025-01-06 15:19:17 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 3 - 2025-01-06 15:19:17 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 4 - 2025-01-06 15:19:17 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 5 - 2025-01-06 15:19:17 [0.16ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 6 - 2025-01-06 15:19:17 [0.17ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 7 - 2025-01-06 15:19:17 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56273 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 8 - 2025-01-06 15:19:17 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58796 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 9 - 2025-01-06 15:19:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 10755 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 10 - 2025-01-06 15:19:17 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 10755 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 11 - 2025-01-06 15:19:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23513 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 12 - 2025-01-06 15:19:17 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23513 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 13 - 2025-01-06 15:19:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 9998 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 14 - 2025-01-06 15:19:17 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 9998 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 15 - 2025-01-06 15:19:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56271 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 16 - 2025-01-06 15:19:17 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58794 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 17 - 2025-01-06 15:19:17 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 3945 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 18 - 2025-01-06 15:19:17 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 3945 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 19 - 2025-01-06 15:19:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23313 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 20 - 2025-01-06 15:19:17 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23313 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 21 - 2025-01-06 15:19:17 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 32952 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 22 - 2025-01-06 15:19:17 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 32952 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 23 - 2025-01-06 15:19:17 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 7158 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 24 - 2025-01-06 15:19:17 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 7158 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 25 - 2025-01-06 15:19:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 516 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 26 - 2025-01-06 15:19:17 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 516 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 27 - 2025-01-06 15:19:17 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/driver-license-reprint
   Query 28 - 2025-01-06 15:19:17 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:19:20 [1.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:19:20 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:19:20 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:19:20 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:19:23 [1.37ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:19:23 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:19:23 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:19:23 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2025-01-06 15:19:23 [0.25ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%' or `customer_identity_documents`.`id_number` like '%fara%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-01-06 15:19:23 [0.22ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%' or `customer_identity_documents`.`id_number` like '%fara%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-01-06 15:19:23 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54351 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-01-06 15:19:23 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 54351 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-01-06 15:19:23 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54378 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-01-06 15:19:23 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 54378 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-01-06 15:19:23 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 47380 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-01-06 15:19:23 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 47380 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-01-06 15:19:23 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 10045 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-01-06 15:19:23 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 10045 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 15 - 2025-01-06 15:19:23 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 14158 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 16 - 2025-01-06 15:19:23 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 14158 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 17 - 2025-01-06 15:19:23 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 18411 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 18 - 2025-01-06 15:19:23 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 18411 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 19 - 2025-01-06 15:19:23 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56212 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 20 - 2025-01-06 15:19:23 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58734 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 21 - 2025-01-06 15:19:23 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56223 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 22 - 2025-01-06 15:19:23 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58745 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 23 - 2025-01-06 15:19:23 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56263 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 24 - 2025-01-06 15:19:23 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58786 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 25 - 2025-01-06 15:19:23 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12126 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 26 - 2025-01-06 15:19:23 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12126 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-01-06 15:19:24 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-01-06 15:19:24 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-01-06 15:19:24 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2025-01-06 15:19:24 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2025-01-06 15:19:24 [0.25ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-01-06 15:19:24 [0.22ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-01-06 15:19:24 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56212 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-01-06 15:19:24 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58734 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-01-06 15:19:24 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56223 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-01-06 15:19:24 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58745 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-01-06 15:19:24 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12126 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-01-06 15:19:24 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12126 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-01-06 15:19:24 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12216 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-01-06 15:19:24 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12216 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 15 - 2025-01-06 15:19:24 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 46638 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 16 - 2025-01-06 15:19:24 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 46638 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 17 - 2025-01-06 15:19:24 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 46200 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 18 - 2025-01-06 15:19:24 [0.14ms] */
