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-22 13:02:29 [0.56ms] */
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-re-print-component
   Query 1 - 2025-01-22 13:02:30 [1.4ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 2 - 2025-01-22 13:02:30 [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-re-print-component
   Query 3 - 2025-01-22 13:02:30 [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-re-print-component
   Query 4 - 2025-01-22 13:02:30 [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-re-print-component
   Query 5 - 2025-01-22 13:02:30 [0.35ms] */
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-re-print-component
   Query 6 - 2025-01-22 13:02:30 [0.3ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license_number` is not null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 7 - 2025-01-22 13:02:30 [0.28ms] */
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-re-print-component
   Query 8 - 2025-01-22 13:02:30 [0.8ms] */
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-re-print-component
   Query 9 - 2025-01-22 13:02:30 [0.45ms] */
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-re-print-component
   Query 10 - 2025-01-22 13:02:30 [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-re-print-component
   Query 11 - 2025-01-22 13:02:30 [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-re-print-component
   Query 12 - 2025-01-22 13:02:30 [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-re-print-component
   Query 13 - 2025-01-22 13:02:30 [0.21ms] */
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-re-print-component
   Query 14 - 2025-01-22 13:02:30 [0.21ms] */
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-re-print-component
   Query 15 - 2025-01-22 13:02:30 [0.2ms] */
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-re-print-component
   Query 16 - 2025-01-22 13:02:30 [0.96ms] */
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-re-print-component
   Query 17 - 2025-01-22 13:02:30 [0.17ms] */
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-re-print-component
   Query 18 - 2025-01-22 13:02:30 [0.15ms] */
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-re-print-component
   Query 19 - 2025-01-22 13:02:30 [0.16ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 20 - 2025-01-22 13:02:30 [0.84ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 1 - 2025-01-22 13:02:38 [2.19ms] */
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-re-print-component
   Query 2 - 2025-01-22 13:02:38 [0.74ms] */
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-re-print-component
   Query 3 - 2025-01-22 13:02:38 [0.59ms] */
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-re-print-component
   Query 4 - 2025-01-22 13:02:38 [0.42ms] */
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-re-print-component
   Query 5 - 2025-01-22 13:02:38 [0.31ms] */
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-re-print-component
   Query 6 - 2025-01-22 13:02:38 [0.25ms] */
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-re-print-component
   Query 7 - 2025-01-22 13:02:38 [23.33ms] */
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-re-print-component
   Query 8 - 2025-01-22 13:02:38 [0.32ms] */
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-re-print-component
   Query 9 - 2025-01-22 13:02:38 [0.27ms] */
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-re-print-component
   Query 10 - 2025-01-22 13:02:38 [0.25ms] */
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-re-print-component
   Query 11 - 2025-01-22 13:02:38 [1.32ms] */
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-re-print-component
   Query 12 - 2025-01-22 13:02:38 [0.25ms] */
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-re-print-component
   Query 13 - 2025-01-22 13:02:38 [0.21ms] */
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-re-print-component
   Query 14 - 2025-01-22 13:02:38 [0.18ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 15 - 2025-01-22 13:02:38 [0.91ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 1 - 2025-01-22 13:02:40 [1.26ms] */
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-re-print-component
   Query 2 - 2025-01-22 13:02:40 [0.4ms] */
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-re-print-component
   Query 3 - 2025-01-22 13:02:40 [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-re-print-component
   Query 4 - 2025-01-22 13:02:40 [0.39ms] */
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 1 - 2025-01-22 13:02:45 [1.93ms] */
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-22 13:02:45 [0.64ms] */
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-22 13:02:45 [0.46ms] */
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-22 13:02:45 [0.53ms] */
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-22 13:02:45 [10.65ms] */
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-22 13:02:45 [19.59ms] */
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-22 13:02:45 [15.52ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 37923 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-22 13:02:45 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 37923 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-22 13:02:45 [11.4ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 27946 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-22 13:02:45 [0.25ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 27946 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-22 13:02:45 [23.35ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55973 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-22 13:02:45 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58493 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-22 13:02:45 [21.38ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53395 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-22 13:02:45 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 53395 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-22 13:02:45 [18.35ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 45916 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-22 13:02:45 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 45916 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-22 13:02:45 [11.28ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 27949 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-22 13:02:45 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 27949 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-22 13:02:45 [0.42ms] */
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 20 - 2025-01-22 13:02:45 [0.19ms] */
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 21 - 2025-01-22 13:02:45 [10.1ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 24892 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-22 13:02:45 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 24892 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-22 13:02:45 [23.25ms] */
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 24 - 2025-01-22 13:02:45 [0.21ms] */
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 25 - 2025-01-22 13:02:45 [4.54ms] */
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 26 - 2025-01-22 13:02:45 [0.23ms] */
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 27 - 2025-01-22 13:02:45 [0.26ms] */
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-22 13:02:45 [0.19ms] */
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-22 13:02:48 [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/party.select-party-component
   Query 2 - 2025-01-22 13:02:48 [0.41ms] */
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-22 13:02:48 [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-22 13:02:48 [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 1 - 2025-01-22 13:02:51 [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/party.select-party-component
   Query 2 - 2025-01-22 13:02:51 [0.54ms] */
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-22 13:02:51 [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/party.select-party-component
   Query 4 - 2025-01-22 13:02:51 [0.44ms] */
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-22 13:02:51 [129.76ms] */
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 '%f%' or `second_name` like '%f%' or `third_name` like '%f%' or `fourth_name` like '%f%' or `phone_number_1` like '%f%' or `phone_number_2` like '%f%' or `customer_identity_documents`.`id_number` like '%f%')) 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-22 13:02:52 [188.46ms] */
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 '%f%' or `second_name` like '%f%' or `third_name` like '%f%' or `fourth_name` like '%f%' or `phone_number_1` like '%f%' or `phone_number_2` like '%f%' or `customer_identity_documents`.`id_number` like '%f%')) 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-22 13:02:52 [2.03ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 4102 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-22 13:02:52 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 4102 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-22 13:02:52 [21.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 52410 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-22 13:02:52 [0.38ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 52410 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-22 13:02:52 [18.44ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 29734 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-22 13:02:52 [0.26ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 29734 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-22 13:02:52 [7.18ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 17194 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-22 13:02:52 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 17194 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-22 13:02:52 [9.51ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 22898 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-22 13:02:52 [0.38ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 22898 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-22 13:02:52 [28.33ms] */
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 18 - 2025-01-22 13:02:52 [0.2ms] */
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 19 - 2025-01-22 13:02:52 [21.9ms] */
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 20 - 2025-01-22 13:02:52 [0.21ms] */
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 21 - 2025-01-22 13:02:52 [19.82ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 48797 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-22 13:02:52 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 48797 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-22 13:02:52 [10.34ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 25469 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-22 13:02:52 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 25469 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-22 13:02:52 [21.25ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53370 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-22 13:02:52 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 53370 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-22 13:02: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/party.select-party-component
   Query 2 - 2025-01-22 13:02:52 [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/party.select-party-component
   Query 3 - 2025-01-22 13:02: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/party.select-party-component
   Query 4 - 2025-01-22 13:02:52 [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-22 13:02:53 [130.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 '%fa%' or `second_name` like '%fa%' or `third_name` like '%fa%' or `fourth_name` like '%fa%' or `phone_number_1` like '%fa%' or `phone_number_2` like '%fa%' or `customer_identity_documents`.`id_number` like '%fa%')) 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-22 13:02:53 [175.07ms] */
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 '%fa%' or `second_name` like '%fa%' or `third_name` like '%fa%' or `fourth_name` like '%fa%' or `phone_number_1` like '%fa%' or `phone_number_2` like '%fa%' or `customer_identity_documents`.`id_number` like '%fa%')) 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-22 13:02:53 [0.24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 52410 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-22 13:02:53 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 52410 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-22 13:02:53 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 17194 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-22 13:02:53 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 17194 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-22 13:02:53 [0.14ms] */
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 12 - 2025-01-22 13:02:53 [0.12ms] */
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 13 - 2025-01-22 13:02:53 [0.13ms] */
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 14 - 2025-01-22 13:02:53 [0.15ms] */
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 15 - 2025-01-22 13:02:53 [19.4ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 47678 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-22 13:02:53 [0.23ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 47678 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-22 13:02:53 [16.42ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 40821 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-22 13:02:53 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 40821 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-22 13:02:53 [3.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 7502 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-22 13:02:53 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 7502 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-22 13:02:53 [17.21ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 42857 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-22 13:02:53 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 42857 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-22 13:02:53 [14.02ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 34678 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-22 13:02:53 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 34678 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-22 13:02:53 [16.62ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 41237 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-22 13:02:53 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 41237 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-22 13:02:53 [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/party.select-party-component
   Query 2 - 2025-01-22 13:02:53 [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-22 13:02:53 [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-22 13:02:53 [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-22 13:02:54 [135.13ms] */
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-22 13:02:54 [156.51ms] */
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-22 13:02:54 [0.22ms] */
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-22 13:02:54 [0.15ms] */
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-22 13:02:54 [0.15ms] */
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-22 13:02:54 [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-22 13:02:54 [19.6ms] */
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-22 13:02:54 [0.37ms] */
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-22 13:02:54 [4.45ms] */
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-22 13:02:54 [0.2ms] */
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-22 13:02:54 [5.9ms] */
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-22 13:02:54 [0.24ms] */
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-22 13:02:54 [7.7ms] */
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-22 13:02:54 [0.24ms] */
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-22 13:02:54 [24.05ms] */
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-22 13:02:54 [0.23ms] */
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-22 13:02:54 [23.94ms] */
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-22 13:02:54 [0.23ms] */
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-22 13:02:54 [24ms] */
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-22 13:02:54 [0.21ms] */
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-22 13:02:54 [5.24ms] */
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 26 - 2025-01-22 13:02:54 [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 1 - 2025-01-22 13:02:54 [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/party.select-party-component
   Query 2 - 2025-01-22 13:02:54 [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/party.select-party-component
   Query 3 - 2025-01-22 13:02:54 [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-22 13:02:54 [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-22 13:02:55 [132.79ms] */
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-22 13:02:55 [149.93ms] */
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-22 13:02:55 [0.23ms] */
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-22 13:02:55 [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-22 13:02:55 [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-22 13:02:55 [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-22 13:02:55 [5.18ms] */
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-22 13:02:55 [0.26ms] */
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-22 13:02:55 [0.14ms] */
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-22 13:02:55 [0.13ms] */
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-22 13:02:55 [18.73ms] */
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-22 13:02:55 [0.21ms] */
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-22 13:02:55 [18.52ms] */
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-22 13:02:55 [0.2ms] */
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-22 13:02:55 [18.59ms] */
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-22 13:02:55 [0.21ms] */
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-22 13:02:55 [17.72ms] */
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 22 - 2025-01-22 13:02:55 [0.2ms] */
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 23 - 2025-01-22 13:02:55 [24.89ms] */
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 24 - 2025-01-22 13:02:55 [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 25 - 2025-01-22 13:02:55 [20.25ms] */
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-22 13:02:55 [0.2ms] */
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/livewire/message/party.select-party-component
   Query 1 - 2025-01-22 13:02:56 [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/party.select-party-component
   Query 2 - 2025-01-22 13:02:56 [0.47ms] */
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-22 13:02:56 [0.34ms] */
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-22 13:02:56 [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/party.select-party-component
   Query 5 - 2025-01-22 13:02:56 [136.29ms] */
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-22 13:02:57 [152.56ms] */
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-22 13:02:57 [24.06ms] */
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-22 13:02:57 [0.25ms] */
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-22 13:02:57 [23.53ms] */
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-22 13:02:57 [0.24ms] */
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-22 13:02:57 [23.55ms] */
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-22 13:02:57 [0.25ms] */
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-22 13:02:59 [2.25ms] */
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-22 13:02:59 [0.74ms] */
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-22 13:02:59 [0.63ms] */
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-22 13:02:59 [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/service.driver-license-re-print-component
   Query 1 - 2025-01-22 13:02:59 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 2 - 2025-01-22 13:02:59 [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-re-print-component
   Query 3 - 2025-01-22 13:02:59 [0.63ms] */
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-re-print-component
   Query 4 - 2025-01-22 13:02:59 [0.75ms] */
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-re-print-component
   Query 5 - 2025-01-22 13:03:00 [0.4ms] */
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-re-print-component
   Query 6 - 2025-01-22 13:03:00 [0.3ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license_number` is not null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 7 - 2025-01-22 13:03:00 [0.25ms] */
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-re-print-component
   Query 8 - 2025-01-22 13:03:00 [0.86ms] */
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-re-print-component
   Query 9 - 2025-01-22 13:03:00 [0.44ms] */
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-re-print-component
   Query 10 - 2025-01-22 13:03:00 [0.31ms] */
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-re-print-component
   Query 11 - 2025-01-22 13:03:00 [0.29ms] */
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-re-print-component
   Query 12 - 2025-01-22 13:03:00 [0.31ms] */
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-re-print-component
   Query 13 - 2025-01-22 13:03:00 [0.4ms] */
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-re-print-component
   Query 14 - 2025-01-22 13:03:00 [0.35ms] */
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-re-print-component
   Query 15 - 2025-01-22 13:03:00 [0.35ms] */
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-re-print-component
   Query 16 - 2025-01-22 13:03:00 [1.85ms] */
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-re-print-component
   Query 17 - 2025-01-22 13:03:00 [0.34ms] */
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-re-print-component
   Query 18 - 2025-01-22 13:03:00 [0.18ms] */
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-re-print-component
   Query 19 - 2025-01-22 13:03:00 [0.18ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 20 - 2025-01-22 13:03:00 [0.77ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 1 - 2025-01-22 13:03:11 [1.5ms] */
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-re-print-component
   Query 2 - 2025-01-22 13:03:11 [0.41ms] */
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-re-print-component
   Query 3 - 2025-01-22 13:03: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/service.driver-license-re-print-component
   Query 4 - 2025-01-22 13:03: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/service.driver-license-re-print-component
   Query 5 - 2025-01-22 13:03:11 [0.33ms] */
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-re-print-component
   Query 6 - 2025-01-22 13:03:11 [0.25ms] */
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-re-print-component
   Query 7 - 2025-01-22 13:03:11 [23.68ms] */
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-re-print-component
   Query 8 - 2025-01-22 13:03:11 [0.24ms] */
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-re-print-component
   Query 9 - 2025-01-22 13:03:11 [0.19ms] */
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-re-print-component
   Query 10 - 2025-01-22 13:03:11 [0.19ms] */
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-re-print-component
   Query 11 - 2025-01-22 13:03:11 [0.94ms] */
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-re-print-component
   Query 12 - 2025-01-22 13:03:11 [0.17ms] */
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-re-print-component
   Query 13 - 2025-01-22 13:03:11 [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-re-print-component
   Query 14 - 2025-01-22 13:03:11 [0.16ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 15 - 2025-01-22 13:03:11 [0.73ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 1 - 2025-01-22 13:03:14 [2.2ms] */
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-re-print-component
   Query 2 - 2025-01-22 13:03:14 [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/service.driver-license-re-print-component
   Query 3 - 2025-01-22 13:03:14 [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-re-print-component
   Query 4 - 2025-01-22 13:03:14 [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-re-print-component
   Query 5 - 2025-01-22 13:03:14 [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/service.driver-license-re-print-component
   Query 6 - 2025-01-22 13:03:14 [0.38ms] */
select * from `service` where `name` = 'DriverLicenseRePrint' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 7 - 2025-01-22 13:03:14 [0.43ms] */
select * from `service_workflow` where ((`service_id` = 13)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 8 - 2025-01-22 13:03:14 [0.37ms] */
select * from `workflow_definition` where `workflow_id` = 13 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-re-print-component
   Query 9 - 2025-01-22 13:03:14 [0.52ms] */
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, 13, null, null, 13, 51, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 13:03:14', '2025-01-22 13:03:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 10 - 2025-01-22 13:03:14 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105736, 'INITIATED', '2025-01-22 13:03:14', 5, 5, 5, 5, '2025-01-22 13:03:14', '2025-01-22 13:03:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 11 - 2025-01-22 13:03:14 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 12 - 2025-01-22 13:03:14 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 51 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-re-print-component
   Query 13 - 2025-01-22 13:03:14 [0.28ms] */
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-re-print-component
   Query 14 - 2025-01-22 13:03:14 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105736, 'CLAIMED', '2025-01-22 13:03:14', 5, 5, 5, 5, '2025-01-22 13:03:14', '2025-01-22 13:03:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 15 - 2025-01-22 13:03:14 [0.4ms] */
update `transaction` set `assigned_to` = 5, `transaction`.`updated_at` = '2025-01-22 13:03:14' where `id` = 105736;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 16 - 2025-01-22 13:03:14 [0.37ms] */
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-re-print-component
   Query 17 - 2025-01-22 13:03:15 [0.76ms] */
select * from `driver_license` where `party_id` = 58086 and `driver_license_number` is not null and `status` = 'DELIVERED' and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 18 - 2025-01-22 13:03:15 [0.31ms] */
insert into `driver_license` (`party_id`, `legacy_transaction_id`, `transaction_id`, `driver_license_number`, `classification`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58086, 'BOS-8726728-412857', 105736, 'DBS-59483765', 'B', 5, 5, '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 19 - 2025-01-22 13:03:15 [0.28ms] */
select * from `driver_license` where `id` = 238 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 20 - 2025-01-22 13:03:15 [0.29ms] */
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":"DBS-59483765","issue_date":null,"expiry_date":null,"classification":"B","transaction_id":105736,"legacy_transaction_id":"BOS-8726728-412857","status":null}}', 5, 'App\Models\User', 238, 'Modules\Party\Entities\DriverLicense', 'created', '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 21 - 2025-01-22 13:03:15 [0.3ms] */
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-412857","transaction_id":105736,"driver_license_number":"DBS-59483765","classification":"B","updated_by":5,"created_by":5,"id":238}', 'created', 238, 'Modules\Party\Entities\DriverLicense', 5, 'App\Models\User', null, '103.197.113.185', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0', 'https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component', '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 22 - 2025-01-22 13:03:15 [0.29ms] */
select * from `party` where `id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 23 - 2025-01-22 13:03:15 [0.32ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 24 - 2025-01-22 13:03:15 [0.59ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 25 - 2025-01-22 13:03:15 [0.33ms] */
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-re-print-component
   Query 26 - 2025-01-22 13:03:15 [0.39ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105736, '2025-01-22 13:03:15', '2025-02-22 13:03:15', 'OPEN', 58086, 5, 5, '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 27 - 2025-01-22 13:03:15 [0.29ms] */
select * from `invoice` where `id` = 105273 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 28 - 2025-01-22 13:03:15 [0.26ms] */
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":105736,"party_id":58086,"invoice_amount":"0.00","invoice_date":"2025-01-22 13:03:15","due_date":"2025-02-22 13:03:15","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', 105273, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 29 - 2025-01-22 13:03:15 [0.25ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee', 1, 12.00, 12.00, 105273, 5, 5, '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 30 - 2025-01-22 13:03:15 [0.17ms] */
select * from `invoice_item` where `id` = 207627 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 31 - 2025-01-22 13:03:15 [0.16ms] */
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","description":"Service Fee","unit_price":"12.00","quantity":1,"total_price":"12.00","invoice_id":105273}}', 5, 'App\Models\User', 207627, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 32 - 2025-01-22 13:03:15 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105273 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 33 - 2025-01-22 13:03:15 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105273 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 34 - 2025-01-22 13:03:15 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105273 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-re-print-component
   Query 35 - 2025-01-22 13:03:15 [0.19ms] */
update `invoice` set `invoice_amount` = 12, `outstanding_balance` = 12, `discounts` = 0, `total_invoice_amount` = 12, `invoice`.`updated_at` = '2025-01-22 13:03:15' where `id` = 105273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 36 - 2025-01-22 13:03:15 [0.19ms] */
select * from `invoice` where `id` = 105273 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 37 - 2025-01-22 13:03:15 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_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', 105273, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 38 - 2025-01-22 13:03:15 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-243-105273438', `invoice`.`updated_at` = '2025-01-22 13:03:15' where `id` = 105273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 39 - 2025-01-22 13:03:15 [0.19ms] */
select * from `invoice` where `id` = 105273 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 40 - 2025-01-22 13:03:15 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"12.00","outstanding_balance":"12.00","discounts":"0.00","total_invoice_amount":"12.00","invoice_number":"INV-243-105273438","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105273, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 13:03:15', '2025-01-22 13:03:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-re-print-component
   Query 41 - 2025-01-22 13:03:15 [0.19ms] */
update `transaction` set `invoice_id` = 105273, `transaction`.`updated_at` = '2025-01-22 13:03:15' where `id` = 105736;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 1 - 2025-01-22 13:03:15 [2.08ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 2 - 2025-01-22 13:03:15 [0.61ms] */
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/105736
   Query 3 - 2025-01-22 13:03:15 [0.47ms] */
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/105736
   Query 4 - 2025-01-22 13:03:15 [0.51ms] */
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/105736
   Query 5 - 2025-01-22 13:03:15 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 6 - 2025-01-22 13:03:15 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 7 - 2025-01-22 13:03:15 [0.26ms] */
select * from `invoice` where `transaction_id` = 105736 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 8 - 2025-01-22 13:03:15 [0.21ms] */
select * from `invoice_payment` where `invoice_id` = 105273;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 9 - 2025-01-22 13:03:15 [0.43ms] */
select * from `payment_documents` where `transaction_id` = 105736;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 10 - 2025-01-22 13:03:15 [0.22ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105736 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 11 - 2025-01-22 13:03:15 [0.21ms] */
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/105736
   Query 12 - 2025-01-22 13:03:15 [0.18ms] */
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/105736
   Query 13 - 2025-01-22 13:03:15 [0.25ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 14 - 2025-01-22 13:03:15 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 15 - 2025-01-22 13:03:15 [0.22ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 16 - 2025-01-22 13:03:15 [0.18ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 17 - 2025-01-22 13:03:15 [0.36ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 18 - 2025-01-22 13:03:15 [0.25ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 19 - 2025-01-22 13:03:15 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 51 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/105736
   Query 20 - 2025-01-22 13:03:15 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 21 - 2025-01-22 13:03:15 [0.23ms] */
select * from `workflow` where `workflow`.`id` = 13 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 22 - 2025-01-22 13:03:15 [0.27ms] */
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/105736
   Query 23 - 2025-01-22 13:03:15 [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/105736
   Query 24 - 2025-01-22 13:03:15 [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/105736
   Query 25 - 2025-01-22 13:03: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): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 26 - 2025-01-22 13:03: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): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 27 - 2025-01-22 13:03:15 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 28 - 2025-01-22 13:03:15 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 29 - 2025-01-22 13:03:15 [0.45ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 30 - 2025-01-22 13:03:15 [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/105736
   Query 31 - 2025-01-22 13:03:15 [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/105736
   Query 32 - 2025-01-22 13:03:15 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 33 - 2025-01-22 13:03:15 [0.34ms] */
select * from `party` where `id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 34 - 2025-01-22 13:03:15 [0.15ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 35 - 2025-01-22 13:03:15 [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/105736
   Query 36 - 2025-01-22 13:03:15 [0.24ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105736 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 37 - 2025-01-22 13:03:15 [0.26ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 38 - 2025-01-22 13:03:15 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 39 - 2025-01-22 13:03:15 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 40 - 2025-01-22 13:03:15 [0.23ms] */
select * from `eye_test` where `party_id` = 58086 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 41 - 2025-01-22 13:03:15 [0.24ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105736 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 42 - 2025-01-22 13:03:15 [0.16ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 43 - 2025-01-22 13:03:15 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 44 - 2025-01-22 13:03:15 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 45 - 2025-01-22 13:03:15 [0.25ms] */
select * from `written_test` where `party_id` = 58086 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 46 - 2025-01-22 13:03:15 [0.23ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105736 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 47 - 2025-01-22 13:03:15 [0.15ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 48 - 2025-01-22 13:03:15 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 49 - 2025-01-22 13:03:15 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 50 - 2025-01-22 13:03:15 [0.23ms] */
select * from `road_test` where `party_id` = 58086 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 51 - 2025-01-22 13:03:15 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 52 - 2025-01-22 13:03:15 [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/105736
   Query 53 - 2025-01-22 13:03:15 [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/105736
   Query 54 - 2025-01-22 13:03:15 [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/105736
   Query 55 - 2025-01-22 13:03:15 [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/105736
   Query 56 - 2025-01-22 13:03:15 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 13 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 57 - 2025-01-22 13:03:15 [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/105736
   Query 58 - 2025-01-22 13:03:15 [0.18ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 59 - 2025-01-22 13:03:15 [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/105736
   Query 60 - 2025-01-22 13:03:15 [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/105736
   Query 61 - 2025-01-22 13:03:15 [0.36ms] */
(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/105736
   Query 62 - 2025-01-22 13:03:15 [0.2ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 63 - 2025-01-22 13:03:15 [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/105736
   Query 64 - 2025-01-22 13:03:15 [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-22 13:03:18 [1.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-22 13:03:18 [0.41ms] */
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-22 13:03:18 [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-22 13:03:18 [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-22 13:03:18 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 105736 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-22 13:03:18 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` in (13) 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-22 13:03:18 [0.25ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-22 13:03:18 [0.21ms] */
select * from `workflow` where `workflow`.`id` in (13) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-22 13:03:18 [0.14ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-22 13:03:18 [0.22ms] */
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-22 13:03:18 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (51) 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-22 13:03:18 [0.17ms] */
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-22 13:03:18 [0.2ms] */
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-22 13:03:18 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:03:18 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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-22 13:03:18 [0.13ms] */
select * from `service` where `service`.`id` = 13 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-22 13:03:18 [0.13ms] */
select * from `service` where `service`.`id` = 13 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-22 13:03:18 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 51 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 19 - 2025-01-22 13:03:18 [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 20 - 2025-01-22 13:03:18 [0.15ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105736 and `eye_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-22 13:03:18 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:03:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 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-22 13:03:18 [0.16ms] */
select * from `invoice` where `transaction_id` = 105736 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-22 13:03:18 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 105273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-22 13:03:18 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 105736;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-22 13:03:18 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105736 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-22 13:03:18 [0.15ms] */
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 28 - 2025-01-22 13:03:18 [0.17ms] */
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 29 - 2025-01-22 13:03:18 [0.16ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-22 13:03:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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 31 - 2025-01-22 13:03:18 [0.14ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-22 13:03:18 [0.13ms] */
select * from `service` where `service`.`id` = 13 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 33 - 2025-01-22 13:03:18 [0.21ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-01-22 13:03:18 [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.view-workflow-transaction-component
   Query 35 - 2025-01-22 13:03:18 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 51 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 36 - 2025-01-22 13:03:18 [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 37 - 2025-01-22 13:03:18 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 13 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-22 13:03:18 [1.21ms] */
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-22 13:03:18 [0.41ms] */
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-22 13:03:18 [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-22 13:03:18 [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.workflow-checklist-component
   Query 5 - 2025-01-22 13:03:19 [0.47ms] */
(select * from `workflow_checklist` where `workflow_id` = 13 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 13 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-22 13:03:19 [0.21ms] */
(select * from `workflow_checklist` where `workflow_id` = 13 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 13 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-22 13:03:22 [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/workflow.workflow-checklist-component
   Query 2 - 2025-01-22 13:03:22 [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-22 13:03:22 [0.34ms] */
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-22 13:03:22 [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-checklist-component
   Query 5 - 2025-01-22 13:03:22 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` = 13 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 13 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-22 13:03:22 [1.55ms] */
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-22 13:03:22 [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/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-22 13:03:22 [0.59ms] */
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-22 13:03:22 [0.62ms] */
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-22 13:03:22 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 105736 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-22 13:03:22 [0.26ms] */
select * from `service_workflow` where `service_workflow`.`id` in (13) 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-22 13:03:22 [0.26ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-22 13:03:22 [0.21ms] */
select * from `workflow` where `workflow`.`id` in (13) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-22 13:03:22 [0.25ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-22 13:03:22 [0.3ms] */
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-22 13:03:22 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (51) 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-22 13:03:22 [0.25ms] */
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-22 13:03:22 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:03:22 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:03:22 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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-22 13:03:22 [0.3ms] */
select * from `service` where `service`.`id` = 13 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-22 13:03:22 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 51 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-22 13:03:22 [0.3ms] */
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-22 13:03:22 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105736, 'APPROVED', '2025-01-22 13:03:22', 5, 5, null, 5, 5, '2025-01-22 13:03:22', '2025-01-22 13:03:22');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-22 13:03:22 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 13 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-22 13:03:22 [0.37ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 52, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 13:03:22' where `id` = 105736;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-22 13:03:22 [0.25ms] */
select * from `service` where `service`.`id` = 13 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-22 13:03:22 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 105273 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-22 13:03:22 [0.72ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:03:22 [0.59ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 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-22 13:03:22 [0.23ms] */
select * from `invoice` where `transaction_id` = 105736 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-22 13:03:22 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 105273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-22 13:03:22 [0.8ms] */
select * from `payment_documents` where `transaction_id` = 105736;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-22 13:03:22 [0.49ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105736 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-22 13:03:22 [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-22 13:03:22 [0.23ms] */
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-22 13:03:22 [0.24ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 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-22 13:03:22 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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 34 - 2025-01-22 13:03:22 [0.21ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-01-22 13:03:22 [0.2ms] */
select * from `service` where `service`.`id` = 13 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 36 - 2025-01-22 13:03:22 [0.31ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-01-22 13:03:23 [0.32ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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 38 - 2025-01-22 13:03:23 [0.36ms] */
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 39 - 2025-01-22 13:03:23 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 13 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-01-22 13:03:23 [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/workflow.workflow-history-component
   Query 2 - 2025-01-22 13:03: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/workflow.workflow-history-component
   Query 3 - 2025-01-22 13:03:23 [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-history-component
   Query 4 - 2025-01-22 13:03:23 [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 5 - 2025-01-22 13:03:23 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 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-22 13:03:23 [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-22 13:03:23 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2025-01-22 13:03:23 [0.18ms] */
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-22 13:03:23 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2025-01-22 13:03:23 [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 11 - 2025-01-22 13:03:23 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-01-22 13:03:23 [2.24ms] */
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-22 13:03:23 [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.workflow-progress-widget
   Query 3 - 2025-01-22 13:03:23 [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/widgets.workflow-progress-widget
   Query 4 - 2025-01-22 13:03:23 [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/widgets.workflow-progress-widget
   Query 5 - 2025-01-22 13:03:23 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 105736 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-01-22 13:03:23 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (13) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-01-22 13:03:23 [0.14ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-01-22 13:03:23 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (13) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-01-22 13:03:23 [0.13ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-01-22 13:03:23 [0.22ms] */
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-22 13:03:23 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (52) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-01-22 13:03:23 [0.21ms] */
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-22 13:03:23 [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-22 13:03:23 [0.33ms] */
select * from `workflow_definition` where `workflow_id` = 13 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-01-22 13:03:23 [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 16 - 2025-01-22 13:03:23 [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-22 13:03:23 [0.28ms] */
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-22 13:03:23 [0.28ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 1 - 2025-01-22 13:03:25 [2.07ms] */
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-22 13:03:25 [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/driver-license.select-driver-license-component
   Query 3 - 2025-01-22 13:03:25 [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-22 13:03:25 [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-22 13:03:26 [0.3ms] */
select count(*) as aggregate from `driver_license` where `expiry_date` <= '2025-01-22 13:03:26' 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-22 13:03:28 [1.89ms] */
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-22 13:03:28 [0.74ms] */
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-22 13:03:28 [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-22 13:03:28 [0.51ms] */
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-22 13:03:28 [0.77ms] */
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 '%fa%' or `driver_license_number` like '%fa%' or `transaction_id` like '%fa%' or `second_name` like '%fa%' or `third_name` like '%fa%' or `fourth_name` like '%fa%' or `phone_number_1` like '%fa%' or `phone_number_2` like '%fa%') 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-22 13:03:28 [1.13ms] */
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 '%fa%' or `driver_license_number` like '%fa%' or `transaction_id` like '%fa%' or `second_name` like '%fa%' or `third_name` like '%fa%' or `fourth_name` like '%fa%' or `phone_number_1` like '%fa%' or `phone_number_2` like '%fa%') 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-22 13:03:28 [0.21ms] */
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-22 13:03:28 [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-22 13:03:28 [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-22 13:03:28 [0.17ms] */
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-22 13:03:28 [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/driver-license.select-driver-license-component
   Query 12 - 2025-01-22 13:03:28 [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-22 13:03:28 [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 14 - 2025-01-22 13:03:28 [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-22 13:03:28 [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-22 13:03:28 [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 17 - 2025-01-22 13:03:28 [0.16ms] */
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-22 13:03:28 [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/driver-license.select-driver-license-component
   Query 19 - 2025-01-22 13:03:28 [0.16ms] */
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-22 13:03:28 [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 21 - 2025-01-22 13:03:28 [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-22 13:03:28 [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 23 - 2025-01-22 13:03:28 [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-22 13:03:28 [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-22 13:03:28 [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-22 13:03:28 [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/driver-license.select-driver-license-component
   Query 1 - 2025-01-22 13:03:29 [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/driver-license.select-driver-license-component
   Query 2 - 2025-01-22 13:03:29 [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/driver-license.select-driver-license-component
   Query 3 - 2025-01-22 13:03:29 [0.49ms] */
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-22 13:03:29 [0.51ms] */
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-22 13:03:29 [0.7ms] */
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-22 13:03:29 [1.06ms] */
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-22 13:03:29 [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 8 - 2025-01-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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 13 - 2025-01-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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 17 - 2025-01-22 13:03:29 [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-22 13:03:29 [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 19 - 2025-01-22 13:03:29 [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 20 - 2025-01-22 13:03:29 [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 21 - 2025-01-22 13:03:29 [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-22 13:03:29 [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 23 - 2025-01-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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-22 13:03:29 [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 1 - 2025-01-22 13:03:36 [2.2ms] */
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-22 13:03:36 [0.74ms] */
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-22 13:03:36 [0.72ms] */
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-22 13:03:36 [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-22 13:03:36 [0.75ms] */
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-22 13:03:36 [1.21ms] */
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 150;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/driver-license.select-driver-license-component
   Query 7 - 2025-01-22 13:03:36 [0.23ms] */
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 8 - 2025-01-22 13:03:36 [0.23ms] */
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 9 - 2025-01-22 13:03:36 [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 10 - 2025-01-22 13:03:36 [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/driver-license.select-driver-license-component
   Query 11 - 2025-01-22 13:03:36 [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-22 13:03:36 [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 13 - 2025-01-22 13:03:36 [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-22 13:03:36 [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-22 13:03:36 [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-22 13:03:36 [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 17 - 2025-01-22 13:03:36 [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-22 13:03:36 [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 19 - 2025-01-22 13:03:36 [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 20 - 2025-01-22 13:03:36 [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 21 - 2025-01-22 13:03:36 [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-22 13:03:36 [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/driver-license.select-driver-license-component
   Query 23 - 2025-01-22 13:03:36 [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-22 13:03:36 [0.25ms] */
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-22 13:03:36 [0.27ms] */
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-22 13:03:36 [0.28ms] */
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-22 13:03:40 [1.3ms] */
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-22 13:03:40 [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/driver-license.select-driver-license-component
   Query 3 - 2025-01-22 13:03:40 [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-22 13:03:40 [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-22 13:03:40 [0.36ms] */
select count(*) as aggregate from `driver_license` where `expiry_date` <= '2025-01-22 13:03:40' 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-22 13:03:40 [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/service.driver-license-renewal-component
   Query 2 - 2025-01-22 13:03:40 [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/service.driver-license-renewal-component
   Query 3 - 2025-01-22 13:03:40 [0.59ms] */
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-22 13:03:40 [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/service.driver-license-renewal-component
   Query 5 - 2025-01-22 13:03:40 [0.32ms] */
select * from `driver_license` where `driver_license`.`id` = 208 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-22 13:03:40 [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-22 13:03:40 [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-renewal-component
   Query 8 - 2025-01-22 13:03:40 [0.26ms] */
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-22 13:03:40 [0.25ms] */
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-22 13:03:40 [0.19ms] */
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-22 13:03:40 [1.02ms] */
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-22 13:03:40 [0.18ms] */
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-22 13:03:40 [0.18ms] */
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-22 13:03:40 [0.18ms] */
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-22 13:03:43 [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-renewal-component
   Query 2 - 2025-01-22 13:03:43 [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-22 13:03:43 [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-renewal-component
   Query 4 - 2025-01-22 13:03:43 [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/service.driver-license-renewal-component
   Query 5 - 2025-01-22 13:03:43 [0.23ms] */
select * from `driver_license` where `driver_license`.`id` = 208 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-22 13:03:43 [0.16ms] */
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-22 13:03:43 [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-renewal-component
   Query 8 - 2025-01-22 13:03:43 [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): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 9 - 2025-01-22 13:03:43 [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-renewal-component
   Query 10 - 2025-01-22 13:03:43 [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-renewal-component
   Query 11 - 2025-01-22 13:03:43 [0.55ms] */
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-22 13:03:43 [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-renewal-component
   Query 13 - 2025-01-22 13:03:43 [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-22 13:03:43 [0.14ms] */
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-22 13:03:45 [1.44ms] */
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-22 13:03: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/service.driver-license-renewal-component
   Query 3 - 2025-01-22 13:03:45 [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-renewal-component
   Query 4 - 2025-01-22 13:03:45 [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/service.driver-license-renewal-component
   Query 5 - 2025-01-22 13:03:45 [0.32ms] */
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-22 13:03:45 [0.35ms] */
select * from `transaction` where (`service_id` = 14 and `driver_license_id` = 208 and `status` = 'INPROGRESS' or `service_id` = 14 and `driver_license_id` = 208 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-22 13:03:45 [0.15ms] */
select * from `driver_license` where `driver_license`.`id` = 208 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-22 13:03:45 [0.92ms] */
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-22 13:03:45 [0.42ms] */
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-22 13:03:45 [0.25ms] */
select * from `driver_license` where `driver_license`.`id` = 208 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-22 13:03:45 [0.23ms] */
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-22 13:03:45 [0.21ms] */
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-22 13:03:45 [0.22ms] */
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-22 13:03:45 [0.23ms] */
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-22 13:03:45 [0.35ms] */
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, 208, 14, 57, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 16 - 2025-01-22 13:03:45 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105737, 'INITIATED', '2025-01-22 13:03:45', 5, 5, 5, 5, '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 17 - 2025-01-22 13:03:45 [0.42ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` = 'A' 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-22 13:03:45 [0.22ms] */
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-22 13:03:45 [0.21ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105737, '2025-01-22 13:03:45', '2025-02-22 13:03:45', 'OPEN', 58086, 5, 5, '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 20 - 2025-01-22 13:03:45 [0.2ms] */
select * from `invoice` where `id` = 105274 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 21 - 2025-01-22 13:03:45 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105737,"party_id":58086,"invoice_amount":"0.00","invoice_date":"2025-01-22 13:03:45","due_date":"2025-02-22 13:03:45","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', 105274, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 22 - 2025-01-22 13:03:45 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Driver License Renewal - Class A', 'Class A Renewal', 1, 18.00, 18.00, 105274, 5, 5, '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 23 - 2025-01-22 13:03:45 [0.21ms] */
select * from `invoice_item` where `id` = 207628 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 24 - 2025-01-22 13:03:45 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Driver License Renewal - Class A","description":"Class A Renewal","unit_price":"18.00","quantity":1,"total_price":"18.00","invoice_id":105274}}', 5, 'App\Models\User', 207628, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 25 - 2025-01-22 13:03:45 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee - DL Renewal', 'DL Renewal Service Fee', 1, 12.00, 12.00, 105274, 5, 5, '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 26 - 2025-01-22 13:03:45 [0.17ms] */
select * from `invoice_item` where `id` = 207629 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 27 - 2025-01-22 13:03:45 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee - DL Renewal","description":"DL Renewal Service Fee","unit_price":"12.00","quantity":1,"total_price":"12.00","invoice_id":105274}}', 5, 'App\Models\User', 207629, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 28 - 2025-01-22 13:03:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105274 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 29 - 2025-01-22 13:03:45 [0.28ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105274 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 30 - 2025-01-22 13:03:45 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105274 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 31 - 2025-01-22 13:03:45 [0.2ms] */
update `invoice` set `invoice_amount` = 30, `outstanding_balance` = 30, `discounts` = 0, `total_invoice_amount` = 30, `invoice`.`updated_at` = '2025-01-22 13:03:45' where `id` = 105274;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 32 - 2025-01-22 13:03:45 [0.19ms] */
select * from `invoice` where `id` = 105274 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 33 - 2025-01-22 13:03:45 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"30.00","outstanding_balance":"30.00","discounts":"0.00","total_invoice_amount":"30.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105274, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 34 - 2025-01-22 13:03:45 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-887-105274233', `invoice`.`updated_at` = '2025-01-22 13:03:45' where `id` = 105274;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 35 - 2025-01-22 13:03:45 [0.19ms] */
select * from `invoice` where `id` = 105274 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 36 - 2025-01-22 13:03:45 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"30.00","outstanding_balance":"30.00","discounts":"0.00","total_invoice_amount":"30.00","invoice_number":"INV-887-105274233","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105274, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 37 - 2025-01-22 13:03:45 [0.33ms] */
update `transaction` set `invoice_id` = 105274, `transaction`.`updated_at` = '2025-01-22 13:03:45' where `id` = 105737;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 38 - 2025-01-22 13:03:45 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 105737 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 39 - 2025-01-22 13:03:45 [0.33ms] */
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 40 - 2025-01-22 13:03:45 [0.36ms] */
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 41 - 2025-01-22 13:03:45 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105737, 'CLAIMED', '2025-01-22 13:03:45', 5, 5, 5, 5, '2025-01-22 13:03:45', '2025-01-22 13:03:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.driver-license-renewal-component
   Query 42 - 2025-01-22 13:03:45 [0.33ms] */
update `transaction` set `assigned_to` = 5, `transaction`.`updated_at` = '2025-01-22 13:03:45' where `id` = 105737;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 1 - 2025-01-22 13:03:46 [1.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 2 - 2025-01-22 13:03:46 [0.4ms] */
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/105737
   Query 3 - 2025-01-22 13:03:46 [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/w/wkflw/105737
   Query 4 - 2025-01-22 13:03:46 [0.39ms] */
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/105737
   Query 5 - 2025-01-22 13:03:46 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 105737 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 6 - 2025-01-22 13:03:46 [0.31ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 7 - 2025-01-22 13:03:46 [0.26ms] */
select * from `invoice` where `transaction_id` = 105737 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 8 - 2025-01-22 13:03:46 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 105274;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 9 - 2025-01-22 13:03:46 [0.43ms] */
select * from `payment_documents` where `transaction_id` = 105737;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 10 - 2025-01-22 13:03:46 [0.23ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105737 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 11 - 2025-01-22 13:03:46 [0.18ms] */
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/105737
   Query 12 - 2025-01-22 13:03:46 [0.18ms] */
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/105737
   Query 13 - 2025-01-22 13:03:46 [0.23ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105737 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 14 - 2025-01-22 13:03:46 [0.16ms] */
select * from `driver_license` where `driver_license`.`id` = 208 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 15 - 2025-01-22 13:03:46 [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): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 16 - 2025-01-22 13:03:46 [0.19ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 17 - 2025-01-22 13:03:46 [0.19ms] */
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/105737
   Query 18 - 2025-01-22 13:03:46 [0.36ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` = 'A' 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/105737
   Query 19 - 2025-01-22 13:03:46 [0.24ms] */
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/105737
   Query 20 - 2025-01-22 13:03:46 [0.23ms] */
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/105737
   Query 21 - 2025-01-22 13:03:46 [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/105737
   Query 22 - 2025-01-22 13:03:46 [0.2ms] */
select * from `workflow` where `workflow`.`id` = 14 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 23 - 2025-01-22 13:03:46 [0.16ms] */
select * from `driver_license` where `driver_license`.`id` = 208 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 24 - 2025-01-22 13:03:46 [0.23ms] */
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/105737
   Query 25 - 2025-01-22 13:03:46 [0.17ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 26 - 2025-01-22 13:03:46 [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/105737
   Query 27 - 2025-01-22 13:03:46 [23.46ms] */
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/105737
   Query 28 - 2025-01-22 13:03:46 [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/105737
   Query 29 - 2025-01-22 13:03:46 [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/105737
   Query 30 - 2025-01-22 13:03:46 [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/105737
   Query 31 - 2025-01-22 13:03:46 [0.53ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 32 - 2025-01-22 13:03:46 [0.22ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 33 - 2025-01-22 13:03:46 [0.24ms] */
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/105737
   Query 34 - 2025-01-22 13:03:46 [0.25ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 35 - 2025-01-22 13:03:46 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 36 - 2025-01-22 13:03:46 [0.18ms] */
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/105737
   Query 37 - 2025-01-22 13:03:46 [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/105737
   Query 38 - 2025-01-22 13:03:46 [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/105737
   Query 39 - 2025-01-22 13:03:46 [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/105737
   Query 40 - 2025-01-22 13:03:46 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 14 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 41 - 2025-01-22 13:03:46 [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/105737
   Query 42 - 2025-01-22 13:03:46 [0.19ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 43 - 2025-01-22 13:03:46 [0.19ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 44 - 2025-01-22 13:03:46 [0.19ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 45 - 2025-01-22 13:03:46 [0.41ms] */
(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/105737
   Query 46 - 2025-01-22 13:03:46 [0.21ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 47 - 2025-01-22 13:03:46 [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/105737
   Query 48 - 2025-01-22 13:03:46 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-22 13:03:49 [2.16ms] */
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-22 13:03:49 [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.view-workflow-transaction-component
   Query 3 - 2025-01-22 13:03:49 [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.view-workflow-transaction-component
   Query 4 - 2025-01-22 13:03:49 [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.view-workflow-transaction-component
   Query 5 - 2025-01-22 13:03:49 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 105737 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-22 13:03:49 [0.23ms] */
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-22 13:03:49 [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-22 13:03:49 [0.21ms] */
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-22 13:03:49 [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-22 13:03:49 [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-22 13:03:49 [0.19ms] */
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-22 13:03:49 [0.17ms] */
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-22 13:03:49 [0.21ms] */
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-22 13:03:49 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105737 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-22 13:03:49 [0.14ms] */
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-22 13:03:49 [0.13ms] */
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-22 13:03:49 [0.13ms] */
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-22 13:03:49 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105737 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-22 13:03:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 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-22 13:03:49 [0.15ms] */
select * from `invoice` where `transaction_id` = 105737 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-22 13:03:49 [0.13ms] */
select * from `invoice_payment` where `invoice_id` = 105274;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-22 13:03:49 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 105737;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-22 13:03:49 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105737 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-22 13:03:49 [0.15ms] */
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-22 13:03:49 [0.14ms] */
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-22 13:03:49 [0.15ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105737 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-22 13:03:49 [0.14ms] */
select * from `driver_license` where `driver_license`.`id` = 208 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-22 13:03:49 [0.14ms] */
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-22 13:03:49 [0.13ms] */
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-22 13:03:49 [0.14ms] */
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-22 13:03:49 [0.21ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` = 'A' 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-22 13:03:49 [0.17ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-22 13:03:49 [0.14ms] */
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-22 13:03:49 [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 35 - 2025-01-22 13:03:49 [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-22 13:03:49 [2.03ms] */
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-22 13:03:49 [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/workflow.workflow-checklist-component
   Query 3 - 2025-01-22 13:03:49 [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-22 13:03:49 [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-22 13:03:49 [0.57ms] */
(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-22 13:03:49 [0.19ms] */
(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-22 13:03:52 [2.04ms] */
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-22 13:03:52 [0.7ms] */
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-22 13:03:52 [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-checklist-component
   Query 4 - 2025-01-22 13:03:52 [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.workflow-checklist-component
   Query 5 - 2025-01-22 13:03:52 [0.26ms] */
(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-22 13:03:53 [1.22ms] */
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-22 13:03:53 [0.4ms] */
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-22 13:03:53 [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-22 13:03:53 [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-22 13:03:53 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105737 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-22 13:03:53 [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-22 13:03:53 [0.16ms] */
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-22 13:03:53 [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-22 13:03:53 [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-22 13:03:53 [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-22 13:03:53 [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-22 13:03:53 [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 13 - 2025-01-22 13:03:53 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105737 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-22 13:03:53 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 105737 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-22 13:03:53 [0.19ms] */
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-22 13:03:53 [0.19ms] */
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-22 13:03:53 [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/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-22 13:03:53 [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-22 13:03:53 [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 (105737, 'APPROVED', '2025-01-22 13:03:53', 5, 5, null, 5, 5, '2025-01-22 13:03:53', '2025-01-22 13:03:53');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-01-22 13:03:53 [0.22ms] */
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-22 13:03:53 [0.3ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 58, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 13:03:53' where `id` = 105737;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-22 13:03:53 [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-22 13:03:53 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 105274 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-22 13:03:53 [0.5ms] */
select * from `transaction` where `transaction`.`id` = 105737 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-22 13:03:53 [0.4ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 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-22 13:03:53 [0.23ms] */
select * from `invoice` where `transaction_id` = 105737 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-22 13:03:53 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 105274;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-22 13:03:53 [0.64ms] */
select * from `payment_documents` where `transaction_id` = 105737;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-22 13:03:53 [0.35ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105737 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-22 13:03:53 [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-22 13:03:53 [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 32 - 2025-01-22 13:03:53 [0.23ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105737 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-22 13:03:53 [0.22ms] */
select * from `driver_license` where `driver_license`.`id` = 208 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-22 13:03:53 [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-22 13:03:53 [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-22 13:03:53 [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 37 - 2025-01-22 13:03:53 [0.3ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` = 'A' 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-22 13:03:53 [0.23ms] */
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-22 13:03:53 [0.19ms] */
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-22 13:03:53 [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-22 13:03:53 [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/driver-license.view-driver-license-component
   Query 2 - 2025-01-22 13:03:53 [0.4ms] */
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-22 13:03:53 [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.view-driver-license-component
   Query 4 - 2025-01-22 13:03:53 [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.view-driver-license-component
   Query 5 - 2025-01-22 13:03:53 [0.28ms] */
select * from `driver_license` where `driver_license`.`id` = 208 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-01-22 13:03:53 [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/workflow.workflow-history-component
   Query 2 - 2025-01-22 13:03:54 [0.4ms] */
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-22 13:03:54 [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 4 - 2025-01-22 13:03:54 [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-history-component
   Query 5 - 2025-01-22 13:03:54 [0.2ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 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-22 13:03:54 [0.17ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-01-22 13:03:54 [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-22 13:03:54 [0.2ms] */
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-22 13:03:54 [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-22 13:03:54 [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-22 13:03:54 [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-22 13:03:54 [2.01ms] */
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-22 13:03:54 [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/widgets.workflow-progress-widget
   Query 3 - 2025-01-22 13:03:54 [0.58ms] */
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-22 13:03:54 [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 5 - 2025-01-22 13:03:54 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 105737 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-01-22 13:03:54 [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-22 13:03:54 [0.15ms] */
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-22 13:03:54 [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-22 13:03:54 [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 10 - 2025-01-22 13:03:54 [0.25ms] */
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-22 13:03:54 [0.22ms] */
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-22 13:03:54 [0.2ms] */
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-22 13:03:54 [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-22 13:03:54 [0.26ms] */
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-22 13:03:54 [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 16 - 2025-01-22 13:03:54 [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-22 13:03:54 [0.2ms] */
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-22 13:03:54 [0.2ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 1 - 2025-01-22 13:04:02 [2.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 2 - 2025-01-22 13:04:02 [0.71ms] */
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/exit-impersonate
   Query 3 - 2025-01-22 13:04:02 [0.59ms] */
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/exit-impersonate
   Query 4 - 2025-01-22 13:04:02 [0.73ms] */
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/exit-impersonate
   Query 5 - 2025-01-22 13:04:02 [0.27ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-01-22 13:04:02 [1.3ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-22 13:04:02 [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
   Query 3 - 2025-01-22 13:04:02 [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
   Query 4 - 2025-01-22 13:04:02 [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
   Query 5 - 2025-01-22 13:04:02 [9.68ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-22 13:04:02 [16.21ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-22' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-22 13:04:02 [17.92ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-22 13:04:02 [26.42ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-22' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-22 13:04:02 [73.83ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-21' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-22 13:04:02 [24.02ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-21' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-22 13:04:02 [218.9ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-22' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-22 13:04:03 [33.03ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-22' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/7
   Query 1 - 2025-01-22 13:04:05 [2.07ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/7
   Query 2 - 2025-01-22 13:04:05 [0.67ms] */
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/7
   Query 3 - 2025-01-22 13:04: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/impersonate/7
   Query 4 - 2025-01-22 13:04:05 [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/impersonate/7
   Query 5 - 2025-01-22 13:04:05 [0.25ms] */
select * from `users` where `users`.`id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 1 - 2025-01-22 13:04:06 [2.24ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2025-01-22 13:04:06 [0.61ms] */
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-22 13:04:06 [0.52ms] */
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-22 13:04:06 [0.59ms] */
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-22 13:04:06 [0.25ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2025-01-22 13:04:06 [0.39ms] */
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-22 13:04:06 [0.32ms] */
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` = 7 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-01-22 13:04:06 [0.27ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 7 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-22 13:04:06 [2.09ms] */
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 (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 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-22 13:04:06 [3.07ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 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-22 13:04:06 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2025-01-22 13:04:06 [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): GET https://testtra.puntlandgov.org/w/wkflw
   Query 13 - 2025-01-22 13:04:06 [0.22ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2025-01-22 13:04:06 [0.17ms] */
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
   Query 15 - 2025-01-22 13:04:06 [0.22ms] */
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
   Query 16 - 2025-01-22 13:04:06 [0.23ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 17 - 2025-01-22 13:04:06 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105737 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 18 - 2025-01-22 13:04:06 [0.22ms] */
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): GET https://testtra.puntlandgov.org/w/wkflw
   Query 19 - 2025-01-22 13:04:06 [0.17ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 20 - 2025-01-22 13:04:06 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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 21 - 2025-01-22 13:04:06 [0.19ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 22 - 2025-01-22 13:04:06 [0.18ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 23 - 2025-01-22 13:04:06 [0.28ms] */
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
   Query 24 - 2025-01-22 13:04:06 [0.27ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 25 - 2025-01-22 13:04:06 [0.47ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105736 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 26 - 2025-01-22 13:04:06 [0.35ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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 27 - 2025-01-22 13:04:06 [0.23ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 28 - 2025-01-22 13:04:06 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 29 - 2025-01-22 13:04:06 [0.23ms] */
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 30 - 2025-01-22 13:04:06 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 31 - 2025-01-22 13:04:06 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89443 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 32 - 2025-01-22 13:04:06 [0.21ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 33 - 2025-01-22 13:04:06 [0.22ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2025-01-22 13:04:06 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88595 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 35 - 2025-01-22 13:04:06 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 36 - 2025-01-22 13:04:06 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 37 - 2025-01-22 13:04:06 [0.27ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 38 - 2025-01-22 13:04:06 [0.23ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2025-01-22 13:04:06 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105688 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 40 - 2025-01-22 13:04:06 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 41 - 2025-01-22 13:04:06 [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
   Query 42 - 2025-01-22 13:04:06 [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 43 - 2025-01-22 13:04:06 [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 44 - 2025-01-22 13:04:06 [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 45 - 2025-01-22 13:04:06 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 5872 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2025-01-22 13:04:06 [0.22ms] */
select * from `party` where `party`.`id` = 29415 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 47 - 2025-01-22 13:04:06 [0.22ms] */
select * from `person` where `person`.`id` = 29415 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2025-01-22 13:04:06 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 54986 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 49 - 2025-01-22 13:04:06 [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 50 - 2025-01-22 13:04:06 [0.18ms] */
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 51 - 2025-01-22 13:04:06 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 52 - 2025-01-22 13:04:06 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105686 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 53 - 2025-01-22 13:04:06 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 54 - 2025-01-22 13:04:06 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 55 - 2025-01-22 13:04:06 [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 56 - 2025-01-22 13:04:06 [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 57 - 2025-01-22 13:04:06 [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 58 - 2025-01-22 13:04:06 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89173 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 59 - 2025-01-22 13:04:06 [0.2ms] */
select * from `party` where `party`.`id` = 58360 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 60 - 2025-01-22 13:04:06 [0.21ms] */
select * from `person` where `person`.`id` = 55865 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2025-01-22 13:04:06 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88482 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 62 - 2025-01-22 13:04:06 [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 63 - 2025-01-22 13:04:06 [0.18ms] */
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 64 - 2025-01-22 13:04:06 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 65 - 2025-01-22 13:04:06 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105685 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 66 - 2025-01-22 13:04:06 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 67 - 2025-01-22 13:04:06 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 68 - 2025-01-22 13:04:06 [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 69 - 2025-01-22 13:04:06 [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 70 - 2025-01-22 13:04:06 [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 71 - 2025-01-22 13:04:06 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 5060 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 72 - 2025-01-22 13:04:06 [0.22ms] */
select * from `party` where `party`.`id` = 58067 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 73 - 2025-01-22 13:04:06 [0.23ms] */
select * from `person` where `person`.`id` = 55666 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 74 - 2025-01-22 13:04:06 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88247 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 75 - 2025-01-22 13:04:06 [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 76 - 2025-01-22 13:04:06 [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 77 - 2025-01-22 13:04:06 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 78 - 2025-01-22 13:04:06 [0.14ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 79 - 2025-01-22 13:04:06 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105684 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 80 - 2025-01-22 13:04:06 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 81 - 2025-01-22 13:04:06 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 82 - 2025-01-22 13:04:06 [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 83 - 2025-01-22 13:04:06 [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 84 - 2025-01-22 13:04:06 [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 85 - 2025-01-22 13:04:06 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89443 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 86 - 2025-01-22 13:04:06 [0.14ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 87 - 2025-01-22 13:04:06 [0.15ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 88 - 2025-01-22 13:04:06 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88595 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 89 - 2025-01-22 13:04:06 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 90 - 2025-01-22 13:04:06 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 91 - 2025-01-22 13:04:06 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105683 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 92 - 2025-01-22 13:04:06 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 93 - 2025-01-22 13:04:06 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 94 - 2025-01-22 13:04:06 [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 95 - 2025-01-22 13:04:06 [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 96 - 2025-01-22 13:04:06 [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 97 - 2025-01-22 13:04:06 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 98 - 2025-01-22 13:04:06 [0.2ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 99 - 2025-01-22 13:04:06 [0.23ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 100 - 2025-01-22 13:04:06 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 101 - 2025-01-22 13:04:06 [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 102 - 2025-01-22 13:04:06 [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 103 - 2025-01-22 13:04:06 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 104 - 2025-01-22 13:04:06 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 105 - 2025-01-22 13:04:06 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105670 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 106 - 2025-01-22 13:04:06 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 107 - 2025-01-22 13:04:06 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 108 - 2025-01-22 13:04:06 [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 109 - 2025-01-22 13:04:06 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 110 - 2025-01-22 13:04:06 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 111 - 2025-01-22 13:04:06 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 112 - 2025-01-22 13:04:06 [0.44ms] */
select * from `party` where `party`.`id` = 38974 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 113 - 2025-01-22 13:04:06 [0.44ms] */
select * from `person` where `person`.`id` = 38974 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 114 - 2025-01-22 13:04:06 [0.47ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 82179 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 115 - 2025-01-22 13:04:06 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 116 - 2025-01-22 13:04:06 [0.24ms] */
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 117 - 2025-01-22 13:04:06 [0.22ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 118 - 2025-01-22 13:04:06 [0.23ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 119 - 2025-01-22 13:04:06 [0.4ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105662 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 120 - 2025-01-22 13:04:06 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 121 - 2025-01-22 13:04:06 [0.21ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 122 - 2025-01-22 13:04:06 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 123 - 2025-01-22 13:04:06 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 124 - 2025-01-22 13:04:06 [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 125 - 2025-01-22 13:04:06 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 89901 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 126 - 2025-01-22 13:04:06 [0.33ms] */
select * from `party` where `party`.`id` = 58746 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 127 - 2025-01-22 13:04:06 [0.35ms] */
select * from `person` where `person`.`id` = 56224 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 128 - 2025-01-22 13:04:06 [0.38ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98636 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 129 - 2025-01-22 13:04:06 [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 130 - 2025-01-22 13:04:06 [0.22ms] */
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 131 - 2025-01-22 13:04:06 [0.23ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 132 - 2025-01-22 13:04:06 [0.38ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105661 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 133 - 2025-01-22 13:04:06 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 134 - 2025-01-22 13:04:06 [0.19ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 135 - 2025-01-22 13:04:06 [0.37ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 136 - 2025-01-22 13:04:06 [0.35ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 1 - 2025-01-22 13:04:15 [2.31ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 2 - 2025-01-22 13:04:15 [0.62ms] */
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/105737
   Query 3 - 2025-01-22 13:04:15 [0.56ms] */
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/105737
   Query 4 - 2025-01-22 13:04:15 [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/w/wkflw/105737
   Query 5 - 2025-01-22 13:04:16 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 105737 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 6 - 2025-01-22 13:04:16 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 7 - 2025-01-22 13:04:16 [0.3ms] */
select * from `invoice` where `transaction_id` = 105737 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 8 - 2025-01-22 13:04:16 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 105274;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 9 - 2025-01-22 13:04:16 [0.41ms] */
select * from `payment_documents` where `transaction_id` = 105737;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 10 - 2025-01-22 13:04:16 [0.24ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105737 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 11 - 2025-01-22 13:04:16 [0.2ms] */
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/105737
   Query 12 - 2025-01-22 13:04:16 [0.2ms] */
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/105737
   Query 13 - 2025-01-22 13:04:16 [0.25ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105737 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 14 - 2025-01-22 13:04:16 [0.25ms] */
select * from `driver_license` where `driver_license`.`id` = 208 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 15 - 2025-01-22 13:04:16 [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): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 16 - 2025-01-22 13:04:16 [0.2ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 17 - 2025-01-22 13:04:16 [0.19ms] */
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/105737
   Query 18 - 2025-01-22 13:04:16 [0.38ms] */
(select * from `service_fee` where `service_id` = 14 and `dl_class` = 'A' 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/105737
   Query 19 - 2025-01-22 13:04:16 [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): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 20 - 2025-01-22 13:04:16 [0.19ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 21 - 2025-01-22 13:04:16 [0.36ms] */
select * from `workflow` where `workflow`.`id` = 14 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 22 - 2025-01-22 13:04:16 [0.31ms] */
select * from `driver_license` where `driver_license`.`id` = 208 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 23 - 2025-01-22 13:04:16 [0.41ms] */
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/105737
   Query 24 - 2025-01-22 13:04:16 [0.22ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 25 - 2025-01-22 13:04:16 [0.28ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 26 - 2025-01-22 13:04:16 [24.79ms] */
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/105737
   Query 27 - 2025-01-22 13:04:16 [0.4ms] */
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/105737
   Query 28 - 2025-01-22 13:04:16 [0.23ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 29 - 2025-01-22 13:04:16 [0.2ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 30 - 2025-01-22 13:04:16 [1.17ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 31 - 2025-01-22 13:04:16 [0.23ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 32 - 2025-01-22 13:04:16 [0.18ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 33 - 2025-01-22 13:04:16 [0.18ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 34 - 2025-01-22 13:04:16 [0.47ms] */
select * from `transaction_workflow` where `transaction_id` = 105737 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 35 - 2025-01-22 13:04:16 [0.25ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 36 - 2025-01-22 13:04:16 [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/105737
   Query 37 - 2025-01-22 13:04:16 [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/105737
   Query 38 - 2025-01-22 13:04:16 [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/105737
   Query 39 - 2025-01-22 13:04:16 [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/105737
   Query 40 - 2025-01-22 13:04:16 [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/105737
   Query 41 - 2025-01-22 13:04:16 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 14 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 42 - 2025-01-22 13:04:16 [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/105737
   Query 43 - 2025-01-22 13:04:16 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 44 - 2025-01-22 13:04:16 [0.21ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 45 - 2025-01-22 13:04:16 [0.24ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 46 - 2025-01-22 13:04:16 [0.43ms] */
(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/105737
   Query 47 - 2025-01-22 13:04:16 [0.25ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105737
   Query 48 - 2025-01-22 13:04:16 [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/105737
   Query 49 - 2025-01-22 13:04:16 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 1 - 2025-01-22 13:04:17 [1.97ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 2 - 2025-01-22 13:04:17 [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/w/wkflw/105736
   Query 3 - 2025-01-22 13:04:17 [0.58ms] */
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/105736
   Query 4 - 2025-01-22 13:04:17 [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/w/wkflw/105736
   Query 5 - 2025-01-22 13:04:18 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 6 - 2025-01-22 13:04:18 [0.31ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 7 - 2025-01-22 13:04:18 [0.27ms] */
select * from `invoice` where `transaction_id` = 105736 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 8 - 2025-01-22 13:04:18 [0.19ms] */
select * from `invoice_payment` where `invoice_id` = 105273;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 9 - 2025-01-22 13:04:18 [0.39ms] */
select * from `payment_documents` where `transaction_id` = 105736;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 10 - 2025-01-22 13:04:18 [0.22ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105736 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 11 - 2025-01-22 13:04:18 [0.14ms] */
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/105736
   Query 12 - 2025-01-22 13:04:18 [0.14ms] */
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/105736
   Query 13 - 2025-01-22 13:04:18 [0.27ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 14 - 2025-01-22 13:04:18 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 15 - 2025-01-22 13:04:18 [0.19ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 16 - 2025-01-22 13:04:18 [0.19ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 17 - 2025-01-22 13:04:18 [0.34ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 18 - 2025-01-22 13:04:18 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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/105736
   Query 19 - 2025-01-22 13:04:18 [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/105736
   Query 20 - 2025-01-22 13:04:18 [0.2ms] */
select * from `workflow` where `workflow`.`id` = 13 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 21 - 2025-01-22 13:04:18 [0.16ms] */
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/105736
   Query 22 - 2025-01-22 13:04:18 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 23 - 2025-01-22 13:04:18 [0.17ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 24 - 2025-01-22 13:04:18 [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): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 25 - 2025-01-22 13:04:18 [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/105736
   Query 26 - 2025-01-22 13:04:18 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 27 - 2025-01-22 13:04:18 [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/105736
   Query 28 - 2025-01-22 13:04:18 [0.53ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 29 - 2025-01-22 13:04:18 [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/105736
   Query 30 - 2025-01-22 13:04:18 [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/105736
   Query 31 - 2025-01-22 13:04:18 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 32 - 2025-01-22 13:04:18 [0.31ms] */
select * from `party` where `id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 33 - 2025-01-22 13:04:18 [0.15ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 34 - 2025-01-22 13:04:18 [0.2ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 35 - 2025-01-22 13:04:18 [0.24ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105736 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 36 - 2025-01-22 13:04:18 [0.24ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 37 - 2025-01-22 13:04:18 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 38 - 2025-01-22 13:04:18 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 39 - 2025-01-22 13:04:18 [0.22ms] */
select * from `eye_test` where `party_id` = 58086 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 40 - 2025-01-22 13:04:18 [0.25ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105736 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 41 - 2025-01-22 13:04:18 [0.16ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 42 - 2025-01-22 13:04:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 43 - 2025-01-22 13:04:18 [0.16ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 44 - 2025-01-22 13:04:18 [0.28ms] */
select * from `written_test` where `party_id` = 58086 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 45 - 2025-01-22 13:04:18 [0.28ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105736 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 46 - 2025-01-22 13:04:18 [0.16ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 47 - 2025-01-22 13:04:18 [0.34ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 48 - 2025-01-22 13:04:18 [0.28ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 49 - 2025-01-22 13:04:18 [0.45ms] */
select * from `road_test` where `party_id` = 58086 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 50 - 2025-01-22 13:04:18 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 51 - 2025-01-22 13:04:18 [0.25ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 52 - 2025-01-22 13:04:18 [0.23ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 53 - 2025-01-22 13:04:18 [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/105736
   Query 54 - 2025-01-22 13:04:18 [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/105736
   Query 55 - 2025-01-22 13:04:18 [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/105736
   Query 56 - 2025-01-22 13:04:18 [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/105736
   Query 57 - 2025-01-22 13:04:18 [0.39ms] */
select * from `workflow_definition` where `workflow_id` = 13 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 58 - 2025-01-22 13:04:18 [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/105736
   Query 59 - 2025-01-22 13:04:18 [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/105736
   Query 60 - 2025-01-22 13:04:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 61 - 2025-01-22 13:04:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 62 - 2025-01-22 13:04:18 [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/105736
   Query 63 - 2025-01-22 13:04:18 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 64 - 2025-01-22 13:04:18 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 65 - 2025-01-22 13:04:18 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-22 13:04:20 [2.41ms] */
select * from `users` where `id` = 7 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-22 13:04:20 [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/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-22 13:04:20 [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.view-workflow-transaction-component
   Query 4 - 2025-01-22 13:04:20 [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-22 13:04:20 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 105736 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-22 13:04:20 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` in (13) 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-22 13:04:20 [0.19ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-22 13:04:20 [0.18ms] */
select * from `workflow` where `workflow`.`id` in (13) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-22 13:04:20 [0.13ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-22 13:04:20 [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/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-22 13:04:20 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (52) 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-22 13:04:20 [0.18ms] */
select * from `roles` where `roles`.`id` in (7);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-22 13:04:20 [0.2ms] */
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-22 13:04:20 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:04:20 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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 16 - 2025-01-22 13:04:20 [0.18ms] */
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 17 - 2025-01-22 13:04:20 [0.38ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105736, 'CLAIMED', '2025-01-22 13:04:20', 7, 7, 7, 7, '2025-01-22 13:04:20', '2025-01-22 13:04:20');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-22 13:04:20 [0.45ms] */
update `transaction` set `assigned_to` = 7, `updated_by` = 7, `transaction`.`updated_at` = '2025-01-22 13:04:20' where `id` = 105736;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 1 - 2025-01-22 13:04:21 [1.43ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 2 - 2025-01-22 13:04:21 [0.41ms] */
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/105736
   Query 3 - 2025-01-22 13:04:21 [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/w/wkflw/105736
   Query 4 - 2025-01-22 13:04:21 [0.39ms] */
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/105736
   Query 5 - 2025-01-22 13:04:21 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 6 - 2025-01-22 13:04:21 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 7 - 2025-01-22 13:04:21 [0.18ms] */
select * from `invoice` where `transaction_id` = 105736 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 8 - 2025-01-22 13:04:21 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 105273;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 9 - 2025-01-22 13:04:21 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 105736;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 10 - 2025-01-22 13:04:21 [0.16ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105736 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 11 - 2025-01-22 13:04:21 [0.14ms] */
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/105736
   Query 12 - 2025-01-22 13:04:21 [0.14ms] */
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/105736
   Query 13 - 2025-01-22 13:04:21 [0.15ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 14 - 2025-01-22 13:04:21 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 15 - 2025-01-22 13:04:21 [0.14ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 16 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 17 - 2025-01-22 13:04:21 [0.2ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 18 - 2025-01-22 13:04:21 [0.26ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 19 - 2025-01-22 13:04:21 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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/105736
   Query 20 - 2025-01-22 13:04:21 [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/105736
   Query 21 - 2025-01-22 13:04:21 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 22 - 2025-01-22 13:04:21 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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/105736
   Query 23 - 2025-01-22 13:04:21 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 24 - 2025-01-22 13:04:21 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 13 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 25 - 2025-01-22 13:04:21 [0.16ms] */
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/105736
   Query 26 - 2025-01-22 13:04:21 [0.14ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 27 - 2025-01-22 13:04:21 [0.17ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 28 - 2025-01-22 13:04:21 [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/105736
   Query 29 - 2025-01-22 13:04:21 [0.14ms] */
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/105736
   Query 30 - 2025-01-22 13:04:21 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 31 - 2025-01-22 13:04:21 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 32 - 2025-01-22 13:04:21 [0.51ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 33 - 2025-01-22 13:04:21 [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/105736
   Query 34 - 2025-01-22 13:04:21 [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/105736
   Query 35 - 2025-01-22 13:04:21 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 36 - 2025-01-22 13:04:21 [0.16ms] */
select * from `party` where `id` = 58086 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 37 - 2025-01-22 13:04:21 [0.14ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 38 - 2025-01-22 13:04:21 [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/105736
   Query 39 - 2025-01-22 13:04:21 [0.16ms] */
select * from `eye_test` where `party_id` = 58086 and `transaction_id` = 105736 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 40 - 2025-01-22 13:04:21 [0.38ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 41 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 42 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 43 - 2025-01-22 13:04:21 [0.13ms] */
select * from `eye_test` where `party_id` = 58086 and `eye_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 44 - 2025-01-22 13:04:21 [0.16ms] */
select * from `written_test` where `party_id` = 58086 and `transaction_id` = 105736 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 45 - 2025-01-22 13:04:21 [0.15ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 46 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 47 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 48 - 2025-01-22 13:04:21 [0.15ms] */
select * from `written_test` where `party_id` = 58086 and `written_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 49 - 2025-01-22 13:04:21 [0.15ms] */
select * from `road_test` where `party_id` = 58086 and `transaction_id` = 105736 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 50 - 2025-01-22 13:04:21 [0.16ms] */
select * from `transaction` where `id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 51 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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/105736
   Query 52 - 2025-01-22 13:04:21 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 53 - 2025-01-22 13:04:21 [0.13ms] */
select * from `road_test` where `party_id` = 58086 and `road_test`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 54 - 2025-01-22 13:04:21 [0.41ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 55 - 2025-01-22 13:04:21 [0.16ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 56 - 2025-01-22 13:04:21 [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/105736
   Query 57 - 2025-01-22 13:04:21 [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/105736
   Query 58 - 2025-01-22 13:04:21 [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/105736
   Query 59 - 2025-01-22 13:04:21 [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/105736
   Query 60 - 2025-01-22 13:04:21 [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/105736
   Query 61 - 2025-01-22 13:04:21 [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/105736
   Query 62 - 2025-01-22 13:04:21 [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/105736
   Query 63 - 2025-01-22 13:04:21 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 13 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 64 - 2025-01-22 13:04:21 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 65 - 2025-01-22 13:04:21 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 66 - 2025-01-22 13:04:21 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 67 - 2025-01-22 13:04:21 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 68 - 2025-01-22 13:04:21 [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/105736
   Query 69 - 2025-01-22 13:04:21 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105736
   Query 70 - 2025-01-22 13:04:21 [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/105736
   Query 71 - 2025-01-22 13:04:21 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-22 13:04:23 [1.42ms] */
select * from `users` where `id` = 7 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-22 13:04: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/workflow.view-workflow-transaction-component
   Query 3 - 2025-01-22 13:04:23 [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/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-22 13:04:23 [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-22 13:04:23 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 105736 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-22 13:04:23 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (13) 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-22 13:04:23 [0.14ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-01-22 13:04:23 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (13) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-22 13:04:23 [0.15ms] */
select * from `service` where `service`.`id` in (13) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-22 13:04:23 [0.23ms] */
select * from `users` where `users`.`id` in (7) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-22 13:04:23 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (52) 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-22 13:04:23 [0.13ms] */
select * from `roles` where `roles`.`id` in (7);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-22 13:04:23 [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/workflow.view-workflow-transaction-component
   Query 14 - 2025-01-22 13:04:23 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105736 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-22 13:04:23 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 105736 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 16 - 2025-01-22 13:04:23 [0.15ms] */
select * from `invoice` where `transaction_id` = 105736 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-22 13:04:23 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 105273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-01-22 13:04:23 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 105736;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-01-22 13:04:23 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105736 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 20 - 2025-01-22 13:04:23 [0.14ms] */
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 21 - 2025-01-22 13:04:23 [0.14ms] */
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 22 - 2025-01-22 13:04:23 [0.15ms] */
select * from `driver_license` where `party_id` = 58086 and `transaction_id` = 105736 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-22 13:04:23 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 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 24 - 2025-01-22 13:04:23 [0.13ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-22 13:04:23 [0.15ms] */
select * from `service` where `service`.`id` = 13 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 26 - 2025-01-22 13:04:23 [0.21ms] */
(select * from `service_fee` where `service_id` = 13 and `dl_class` = 'B' and `fee_name` = 'Gov Fee' and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 13 and `fee_name` = 'Service Fee' and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-22 13:04:23 [0.16ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-22 13:04:23 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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-22 13:04:23 [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 30 - 2025-01-22 13:04:23 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105736 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-22 13:04:23 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 52 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 32 - 2025-01-22 13:04:23 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-22 13:04:23 [0.13ms] */
