select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62331 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 11 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64955 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/party
   Query 12 - 2025-04-07 12:01:32 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 60384 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 13 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 62951 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/party
   Query 14 - 2025-04-07 12:01:32 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62330 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 15 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64954 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/party
   Query 16 - 2025-04-07 12:01:32 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62329 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 17 - 2025-04-07 12:01:32 [0.16ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64953 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/party
   Query 18 - 2025-04-07 12:01:32 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62324 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 19 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64948 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/party
   Query 20 - 2025-04-07 12:01:32 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62325 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 21 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64949 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/party
   Query 22 - 2025-04-07 12:01:32 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62326 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 23 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64950 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/party
   Query 24 - 2025-04-07 12:01:32 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62327 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 25 - 2025-04-07 12:01:32 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64951 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/party
   Query 26 - 2025-04-07 12:01:32 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62328 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 27 - 2025-04-07 12:01:32 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64952 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/party
   Query 28 - 2025-04-07 12:01:32 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 29 - 2025-04-07 12:01:32 [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/party.list-party-component
   Query 1 - 2025-04-07 12:01:35 [1.64ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:01:35 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:01:35 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:01:35 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:01:35 [0.16ms] */
select count(*) as aggregate from `company` where `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:01:35 [0.15ms] */
select * from `company` where `company`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:01:35 [0.14ms] */
select * from `company_type` where `company_type`.`id` in (1, 3) and `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:01:35 [0.17ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:01:35 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2626 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.list-party-component
   Query 10 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`id` = 59180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:01:35 [0.16ms] */
select * from `person` where `person`.`id` = 56739 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:01:35 [0.16ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64957 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.list-party-component
   Query 13 - 2025-04-07 12:01:35 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1781 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.list-party-component
   Query 14 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57494 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.list-party-component
   Query 17 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2625 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.list-party-component
   Query 18 - 2025-04-07 12:01:35 [0.14ms] */
select * from `party` where `party`.`id` = 59180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 56739 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:01:35 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64956 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.list-party-component
   Query 21 - 2025-04-07 12:01:35 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 946 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.list-party-component
   Query 22 - 2025-04-07 12:01:35 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:01:35 [0.16ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56659 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.list-party-component
   Query 25 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2086 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.list-party-component
   Query 26 - 2025-04-07 12:01:35 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 27 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 28 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57799 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.list-party-component
   Query 29 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2295 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.list-party-component
   Query 30 - 2025-04-07 12:01:35 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 31 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 32 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58008 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.list-party-component
   Query 33 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 638 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.list-party-component
   Query 34 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 35 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 36 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56351 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.list-party-component
   Query 37 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2624 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.list-party-component
   Query 38 - 2025-04-07 12:01:35 [0.14ms] */
select * from `party` where `party`.`id` = 64938 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 39 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 62315 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 40 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64939 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.list-party-component
   Query 41 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2623 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.list-party-component
   Query 42 - 2025-04-07 12:01:35 [0.14ms] */
select * from `party` where `party`.`id` = 64936 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 43 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 62314 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 44 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64937 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.list-party-component
   Query 45 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1551 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.list-party-component
   Query 46 - 2025-04-07 12:01:35 [0.15ms] */
select * from `party` where `party`.`id` = 58169 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 47 - 2025-04-07 12:01:35 [0.15ms] */
select * from `person` where `person`.`id` = 55777 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 48 - 2025-04-07 12:01:35 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57264 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/party/57799
   Query 1 - 2025-04-07 12:01:38 [1.45ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 2 - 2025-04-07 12:01:38 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 3 - 2025-04-07 12:01:39 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 4 - 2025-04-07 12:01:39 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 5 - 2025-04-07 12:01:39 [0.29ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 6 - 2025-04-07 12:01:39 [0.18ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 7 - 2025-04-07 12:01:39 [0.22ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 8 - 2025-04-07 12:01:39 [0.22ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 9 - 2025-04-07 12:01:39 [0.19ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 10 - 2025-04-07 12:01:39 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 11 - 2025-04-07 12:01:39 [0.15ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 12 - 2025-04-07 12:01:39 [0.16ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 13 - 2025-04-07 12:01:39 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 14 - 2025-04-07 12:01:39 [0.14ms] */
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/m/party/57799
   Query 15 - 2025-04-07 12:01:39 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 16 - 2025-04-07 12:01:39 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 57799 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 17 - 2025-04-07 12:01:39 [0.26ms] */
select count(*) as aggregate from `transaction` where `party_id` = 57799 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 18 - 2025-04-07 12:01:39 [0.25ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 57799 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 19 - 2025-04-07 12:01:39 [0.19ms] */
select count(*) as aggregate from `invoice` where `party_id` = 57799 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 20 - 2025-04-07 12:01:39 [0.23ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 21 - 2025-04-07 12:01:39 [0.21ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 22 - 2025-04-07 12:01:39 [0.21ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 57799 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 23 - 2025-04-07 12:01:39 [0.2ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 2086 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 24 - 2025-04-07 12:01:39 [0.2ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 25 - 2025-04-07 12:01:39 [0.23ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2086 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 26 - 2025-04-07 12:01:39 [0.19ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 27 - 2025-04-07 12:01:39 [0.21ms] */
select * from `party_vehicle` where `party_id` = 57799 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 28 - 2025-04-07 12:01:39 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 29 - 2025-04-07 12:01:39 [0.17ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 30 - 2025-04-07 12:01:39 [0.17ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 31 - 2025-04-07 12:01:39 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 32 - 2025-04-07 12:01:39 [0.17ms] */
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/m/party/57799
   Query 33 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 34 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 35 - 2025-04-07 12:01:39 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 36 - 2025-04-07 12:01:39 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 81185 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 37 - 2025-04-07 12:01:39 [0.17ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 38 - 2025-04-07 12:01:39 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 39 - 2025-04-07 12:01:39 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 40 - 2025-04-07 12:01:39 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 41 - 2025-04-07 12:01:39 [0.16ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 42 - 2025-04-07 12:01:39 [0.15ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 43 - 2025-04-07 12:01:39 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 57017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 44 - 2025-04-07 12:01:39 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 45 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 46 - 2025-04-07 12:01:39 [0.57ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 47 - 2025-04-07 12:01:39 [0.18ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 48 - 2025-04-07 12:01:39 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 81183 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 49 - 2025-04-07 12:01:39 [0.17ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 50 - 2025-04-07 12:01:39 [0.17ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 51 - 2025-04-07 12:01:39 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 52 - 2025-04-07 12:01:39 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 53 - 2025-04-07 12:01:39 [0.16ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 54 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 55 - 2025-04-07 12:01:39 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 56968 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 56 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 57 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 58 - 2025-04-07 12:01:39 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 59 - 2025-04-07 12:01:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 60 - 2025-04-07 12:01:39 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 81184 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 61 - 2025-04-07 12:01:39 [0.17ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 62 - 2025-04-07 12:01:39 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 63 - 2025-04-07 12:01:39 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 64 - 2025-04-07 12:01:39 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 65 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 66 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 67 - 2025-04-07 12:01:39 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 33986 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 68 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 69 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 70 - 2025-04-07 12:01:39 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 71 - 2025-04-07 12:01:39 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 72 - 2025-04-07 12:01:39 [0.2ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57799) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 73 - 2025-04-07 12:01:39 [0.21ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57799) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 74 - 2025-04-07 12:01:39 [0.21ms] */
select * from `transaction` where `transaction`.`id` in (33986, 56968, 57017, 510484, 510485, 510486, 510487, 510488, 510494) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 75 - 2025-04-07 12:01:39 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` in (81183, 81184, 81185, 93251) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 76 - 2025-04-07 12:01:39 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 77 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 78 - 2025-04-07 12:01:39 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 79 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 80 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 81 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 82 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 83 - 2025-04-07 12:01:39 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 84 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 85 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 86 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 87 - 2025-04-07 12:01:39 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 88 - 2025-04-07 12:01:39 [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/m/party/57799
   Query 89 - 2025-04-07 12:01:39 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 90 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 91 - 2025-04-07 12:01:39 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 92 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 93 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 94 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 95 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` in (57799) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 96 - 2025-04-07 12:01:39 [0.17ms] */
select * from `address` where `address`.`id` in (57799) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 97 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 98 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 99 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 100 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 101 - 2025-04-07 12:01:39 [0.19ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 102 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 103 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 104 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 105 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 106 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 107 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 108 - 2025-04-07 12:01:39 [0.15ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 109 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 110 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 111 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 112 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 113 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 114 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 115 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 116 - 2025-04-07 12:01:39 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 117 - 2025-04-07 12:01:39 [0.21ms] */
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` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 118 - 2025-04-07 12:01:39 [0.19ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57799 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 119 - 2025-04-07 12:01:39 [0.23ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57799 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/m/party/57799
   Query 120 - 2025-04-07 12:01:39 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 121 - 2025-04-07 12:01:39 [0.18ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 122 - 2025-04-07 12:01:39 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 123 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 124 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 125 - 2025-04-07 12:01:39 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 126 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 127 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 128 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 129 - 2025-04-07 12:01:39 [0.17ms] */
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/m/party/57799
   Query 130 - 2025-04-07 12:01:39 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 131 - 2025-04-07 12:01:39 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 132 - 2025-04-07 12:01:39 [0.17ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 133 - 2025-04-07 12:01:39 [0.18ms] */
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/m/party/57799
   Query 134 - 2025-04-07 12:01:39 [0.17ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510494 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/m/party/57799
   Query 135 - 2025-04-07 12:01:39 [0.16ms] */
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/m/party/57799
   Query 136 - 2025-04-07 12:01:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 137 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 138 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 139 - 2025-04-07 12:01:39 [0.16ms] */
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/m/party/57799
   Query 140 - 2025-04-07 12:01:39 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 141 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 142 - 2025-04-07 12:01:39 [0.17ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 143 - 2025-04-07 12:01:39 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 144 - 2025-04-07 12:01:39 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 145 - 2025-04-07 12:01:39 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 146 - 2025-04-07 12:01:39 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 147 - 2025-04-07 12:01:39 [0.18ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510486 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/m/party/57799
   Query 148 - 2025-04-07 12:01:39 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 149 - 2025-04-07 12:01:39 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 150 - 2025-04-07 12:01:39 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 151 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 152 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 153 - 2025-04-07 12:01:39 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 154 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 155 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 156 - 2025-04-07 12:01:39 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 157 - 2025-04-07 12:01:39 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 158 - 2025-04-07 12:01:39 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 159 - 2025-04-07 12:01:39 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 160 - 2025-04-07 12:01:39 [0.19ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510487 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/m/party/57799
   Query 161 - 2025-04-07 12:01:39 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 162 - 2025-04-07 12:01:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 163 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 164 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 165 - 2025-04-07 12:01:39 [0.16ms] */
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/m/party/57799
   Query 166 - 2025-04-07 12:01:39 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 167 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 168 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 169 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 170 - 2025-04-07 12:01:39 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 171 - 2025-04-07 12:01:39 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 172 - 2025-04-07 12:01:39 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 173 - 2025-04-07 12:01:39 [0.18ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510488 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/m/party/57799
   Query 174 - 2025-04-07 12:01:39 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 175 - 2025-04-07 12:01:39 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 176 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 177 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 178 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 179 - 2025-04-07 12:01:39 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 180 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 181 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 182 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 183 - 2025-04-07 12:01:39 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 184 - 2025-04-07 12:01:39 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 185 - 2025-04-07 12:01:39 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 186 - 2025-04-07 12:01:39 [0.17ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510484 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 187 - 2025-04-07 12:01:39 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 188 - 2025-04-07 12:01:39 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 189 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 190 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 191 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 192 - 2025-04-07 12:01:39 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 81185 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 193 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 194 - 2025-04-07 12:01:39 [0.15ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 195 - 2025-04-07 12:01:39 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 57017 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 196 - 2025-04-07 12:01:39 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 197 - 2025-04-07 12:01:39 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 198 - 2025-04-07 12:01:39 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 199 - 2025-04-07 12:01:39 [0.18ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 200 - 2025-04-07 12:01:39 [0.17ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 57017 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/m/party/57799
   Query 201 - 2025-04-07 12:01:39 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 202 - 2025-04-07 12:01:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 203 - 2025-04-07 12:01:39 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 204 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 205 - 2025-04-07 12:01:39 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 206 - 2025-04-07 12:01:39 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 81183 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 207 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 208 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 209 - 2025-04-07 12:01:39 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 56968 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 210 - 2025-04-07 12:01:39 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 211 - 2025-04-07 12:01:39 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 212 - 2025-04-07 12:01:39 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 213 - 2025-04-07 12:01:39 [0.18ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 214 - 2025-04-07 12:01:39 [0.17ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 56968 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/m/party/57799
   Query 215 - 2025-04-07 12:01:39 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 216 - 2025-04-07 12:01:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 217 - 2025-04-07 12:01:39 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 218 - 2025-04-07 12:01:39 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 219 - 2025-04-07 12:01:39 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 220 - 2025-04-07 12:01:39 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 81184 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 221 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 222 - 2025-04-07 12:01:39 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 223 - 2025-04-07 12:01:39 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 33986 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 224 - 2025-04-07 12:01:39 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 225 - 2025-04-07 12:01:39 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 226 - 2025-04-07 12:01:39 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 227 - 2025-04-07 12:01:39 [0.18ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 228 - 2025-04-07 12:01:39 [0.18ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 33986 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/m/party/57799
   Query 229 - 2025-04-07 12:01:39 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 230 - 2025-04-07 12:01:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 231 - 2025-04-07 12:01:39 [0.19ms] */
select count(*) as aggregate from `discount` where `party_id` = 57799 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 232 - 2025-04-07 12:01:39 [0.17ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 233 - 2025-04-07 12:01:39 [0.17ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 234 - 2025-04-07 12:01:39 [0.17ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 57799 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 235 - 2025-04-07 12:01:39 [0.36ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 236 - 2025-04-07 12:01:39 [0.25ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 1 - 2025-04-07 12:01:39 [1.57ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 2 - 2025-04-07 12:01:39 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 3 - 2025-04-07 12:01:39 [0.27ms] */
select * from `party` where `id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 4 - 2025-04-07 12:01:39 [0.24ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 2086 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 1 - 2025-04-07 12:04:04 [2.07ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 2 - 2025-04-07 12:04:04 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 3 - 2025-04-07 12:04:04 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 4 - 2025-04-07 12:04:04 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 5 - 2025-04-07 12:04:04 [0.18ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 6 - 2025-04-07 12:04:04 [0.15ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 7 - 2025-04-07 12:04:04 [0.15ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 8 - 2025-04-07 12:04:04 [0.17ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 9 - 2025-04-07 12:04:04 [0.16ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 10 - 2025-04-07 12:04:04 [0.13ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 11 - 2025-04-07 12:04:04 [0.14ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 12 - 2025-04-07 12:04:04 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 13 - 2025-04-07 12:04:04 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 14 - 2025-04-07 12:04:04 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 15 - 2025-04-07 12:04:04 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 16 - 2025-04-07 12:04:04 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 57799 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 17 - 2025-04-07 12:04:04 [0.14ms] */
select count(*) as aggregate from `transaction` where `party_id` = 57799 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 18 - 2025-04-07 12:04:04 [0.16ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 57799 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 19 - 2025-04-07 12:04:04 [0.13ms] */
select count(*) as aggregate from `invoice` where `party_id` = 57799 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 20 - 2025-04-07 12:04:04 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 21 - 2025-04-07 12:04:04 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 22 - 2025-04-07 12:04:04 [0.15ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 57799 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 23 - 2025-04-07 12:04:04 [0.13ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 2086 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 24 - 2025-04-07 12:04:04 [0.15ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 25 - 2025-04-07 12:04:04 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2086 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 26 - 2025-04-07 12:04:04 [0.14ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 27 - 2025-04-07 12:04:04 [0.19ms] */
select * from `party_vehicle` where `party_id` = 57799 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 28 - 2025-04-07 12:04:04 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 29 - 2025-04-07 12:04:04 [0.14ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 30 - 2025-04-07 12:04:04 [0.14ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 31 - 2025-04-07 12:04:04 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 32 - 2025-04-07 12:04:04 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 33 - 2025-04-07 12:04:04 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 34 - 2025-04-07 12:04:04 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 35 - 2025-04-07 12:04:04 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 36 - 2025-04-07 12:04:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 81185 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 37 - 2025-04-07 12:04:04 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 38 - 2025-04-07 12:04:04 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 39 - 2025-04-07 12:04:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 40 - 2025-04-07 12:04:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 41 - 2025-04-07 12:04:04 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 42 - 2025-04-07 12:04:04 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 43 - 2025-04-07 12:04:04 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 57017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 44 - 2025-04-07 12:04:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 45 - 2025-04-07 12:04:04 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 46 - 2025-04-07 12:04:04 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 47 - 2025-04-07 12:04:04 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 48 - 2025-04-07 12:04:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 81183 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 49 - 2025-04-07 12:04:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 50 - 2025-04-07 12:04:04 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 51 - 2025-04-07 12:04:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 52 - 2025-04-07 12:04:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 53 - 2025-04-07 12:04:04 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 54 - 2025-04-07 12:04:04 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 55 - 2025-04-07 12:04:04 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 56968 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 56 - 2025-04-07 12:04:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 57 - 2025-04-07 12:04:04 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 58 - 2025-04-07 12:04:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 59 - 2025-04-07 12:04:04 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 60 - 2025-04-07 12:04:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 81184 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 61 - 2025-04-07 12:04:04 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 62 - 2025-04-07 12:04:04 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 63 - 2025-04-07 12:04:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 64 - 2025-04-07 12:04:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 65 - 2025-04-07 12:04:04 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 66 - 2025-04-07 12:04:04 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 67 - 2025-04-07 12:04:04 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 33986 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 68 - 2025-04-07 12:04:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 69 - 2025-04-07 12:04:04 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 70 - 2025-04-07 12:04:04 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 71 - 2025-04-07 12:04:05 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 72 - 2025-04-07 12:04:05 [0.25ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57799) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 73 - 2025-04-07 12:04:05 [0.18ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57799) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 74 - 2025-04-07 12:04:05 [0.19ms] */
select * from `transaction` where `transaction`.`id` in (33986, 56968, 57017, 510484, 510485, 510486, 510487, 510488, 510494) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 75 - 2025-04-07 12:04:05 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (81183, 81184, 81185, 93251) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 76 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 77 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 78 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 79 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 80 - 2025-04-07 12:04:05 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 81 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 82 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 83 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 84 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 85 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 86 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 87 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 88 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 89 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 90 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 91 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 92 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 93 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 94 - 2025-04-07 12:04:05 [0.18ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 95 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` in (57799) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 96 - 2025-04-07 12:04:05 [0.14ms] */
select * from `address` where `address`.`id` in (57799) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 97 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 98 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 99 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 100 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 101 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 102 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 103 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 104 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 105 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 106 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 107 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 108 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 109 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 110 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 111 - 2025-04-07 12:04:05 [0.16ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 112 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 113 - 2025-04-07 12:04:05 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 114 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 115 - 2025-04-07 12:04:05 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 116 - 2025-04-07 12:04:05 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 117 - 2025-04-07 12:04:05 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 118 - 2025-04-07 12:04:05 [0.16ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57799 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 119 - 2025-04-07 12:04:05 [0.2ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57799 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/m/party/57799
   Query 120 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 121 - 2025-04-07 12:04:05 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 122 - 2025-04-07 12:04:05 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 123 - 2025-04-07 12:04:05 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 124 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 125 - 2025-04-07 12:04:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 126 - 2025-04-07 12:04:05 [0.16ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 127 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 128 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 129 - 2025-04-07 12:04:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 130 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 131 - 2025-04-07 12:04:05 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 132 - 2025-04-07 12:04:05 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 133 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 134 - 2025-04-07 12:04:05 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510494 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/m/party/57799
   Query 135 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 136 - 2025-04-07 12:04:05 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 137 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 138 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 139 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 140 - 2025-04-07 12:04:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 141 - 2025-04-07 12:04:05 [0.22ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 142 - 2025-04-07 12:04:05 [0.26ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 143 - 2025-04-07 12:04:05 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 144 - 2025-04-07 12:04:05 [0.23ms] */
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/m/party/57799
   Query 145 - 2025-04-07 12:04:05 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 146 - 2025-04-07 12:04:05 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 147 - 2025-04-07 12:04:05 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510486 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/m/party/57799
   Query 148 - 2025-04-07 12:04:05 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 149 - 2025-04-07 12:04:05 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 150 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 151 - 2025-04-07 12:04:05 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 152 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 153 - 2025-04-07 12:04:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 154 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 155 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 156 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 157 - 2025-04-07 12:04:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 158 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 159 - 2025-04-07 12:04:05 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 160 - 2025-04-07 12:04:05 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510487 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/m/party/57799
   Query 161 - 2025-04-07 12:04:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 162 - 2025-04-07 12:04:05 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 163 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 164 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 165 - 2025-04-07 12:04:05 [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/m/party/57799
   Query 166 - 2025-04-07 12:04:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 167 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 168 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 169 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 170 - 2025-04-07 12:04:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 171 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 172 - 2025-04-07 12:04:05 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 173 - 2025-04-07 12:04:05 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510488 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/m/party/57799
   Query 174 - 2025-04-07 12:04:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 175 - 2025-04-07 12:04:05 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 176 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 177 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 178 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 179 - 2025-04-07 12:04:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 180 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 181 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 182 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 183 - 2025-04-07 12:04:05 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 184 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 185 - 2025-04-07 12:04:05 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 186 - 2025-04-07 12:04:05 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510484 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 187 - 2025-04-07 12:04:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 188 - 2025-04-07 12:04:05 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 189 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 190 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 191 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 192 - 2025-04-07 12:04:05 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81185 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 193 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 194 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 195 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 57017 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 196 - 2025-04-07 12:04:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 197 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 198 - 2025-04-07 12:04:05 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 199 - 2025-04-07 12:04:05 [0.15ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 200 - 2025-04-07 12:04:05 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 57017 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/m/party/57799
   Query 201 - 2025-04-07 12:04:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 202 - 2025-04-07 12:04:05 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 203 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 204 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 205 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 206 - 2025-04-07 12:04:05 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81183 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 207 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 208 - 2025-04-07 12:04:05 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 209 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 56968 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 210 - 2025-04-07 12:04:05 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 211 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 212 - 2025-04-07 12:04:05 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 213 - 2025-04-07 12:04:05 [0.15ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 214 - 2025-04-07 12:04:05 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 56968 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/m/party/57799
   Query 215 - 2025-04-07 12:04:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 216 - 2025-04-07 12:04:05 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 217 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 218 - 2025-04-07 12:04:05 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 219 - 2025-04-07 12:04:05 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 220 - 2025-04-07 12:04:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 81184 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 221 - 2025-04-07 12:04:05 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 222 - 2025-04-07 12:04:05 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 223 - 2025-04-07 12:04:05 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 33986 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 224 - 2025-04-07 12:04:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 225 - 2025-04-07 12:04:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 226 - 2025-04-07 12:04:05 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 227 - 2025-04-07 12:04:05 [0.14ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 228 - 2025-04-07 12:04:05 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 33986 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/m/party/57799
   Query 229 - 2025-04-07 12:04:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 230 - 2025-04-07 12:04:05 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 231 - 2025-04-07 12:04:05 [0.15ms] */
select count(*) as aggregate from `discount` where `party_id` = 57799 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 232 - 2025-04-07 12:04:05 [0.13ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 233 - 2025-04-07 12:04:05 [0.13ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 234 - 2025-04-07 12:04:05 [0.13ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 57799 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 235 - 2025-04-07 12:04:05 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 236 - 2025-04-07 12:04:05 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 1 - 2025-04-07 12:04:05 [1.36ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 2 - 2025-04-07 12:04:05 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 3 - 2025-04-07 12:04:06 [0.23ms] */
select * from `party` where `id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 4 - 2025-04-07 12:04:06 [0.18ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 2086 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 1 - 2025-04-07 12:05:17 [2.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 2 - 2025-04-07 12:05:17 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 3 - 2025-04-07 12:05:17 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 4 - 2025-04-07 12:05:17 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 5 - 2025-04-07 12:05:17 [0.27ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 6 - 2025-04-07 12:05:17 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 7 - 2025-04-07 12:05:17 [0.24ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 8 - 2025-04-07 12:05:17 [0.22ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 9 - 2025-04-07 12:05:17 [0.17ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 10 - 2025-04-07 12:05:17 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 11 - 2025-04-07 12:05:17 [0.15ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 12 - 2025-04-07 12:05:17 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 13 - 2025-04-07 12:05:17 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 14 - 2025-04-07 12:05:17 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 15 - 2025-04-07 12:05:17 [0.17ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 16 - 2025-04-07 12:05:17 [0.17ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 57799 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 17 - 2025-04-07 12:05:17 [0.15ms] */
select count(*) as aggregate from `transaction` where `party_id` = 57799 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 18 - 2025-04-07 12:05:17 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 57799 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 19 - 2025-04-07 12:05:17 [0.13ms] */
select count(*) as aggregate from `invoice` where `party_id` = 57799 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 20 - 2025-04-07 12:05:17 [0.17ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 21 - 2025-04-07 12:05:17 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 22 - 2025-04-07 12:05:17 [0.15ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 57799 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 23 - 2025-04-07 12:05:17 [0.14ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 2086 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 24 - 2025-04-07 12:05:17 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 25 - 2025-04-07 12:05:17 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2086 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 26 - 2025-04-07 12:05:17 [0.14ms] */
select * from `address` where `address`.`id` = 57799 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 27 - 2025-04-07 12:05:17 [0.17ms] */
select * from `party_vehicle` where `party_id` = 57799 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 28 - 2025-04-07 12:05:17 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 29 - 2025-04-07 12:05:17 [0.15ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 30 - 2025-04-07 12:05:17 [0.14ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 31 - 2025-04-07 12:05:17 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 32 - 2025-04-07 12:05:17 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 33 - 2025-04-07 12:05:17 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 34 - 2025-04-07 12:05:17 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 35 - 2025-04-07 12:05:17 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 36 - 2025-04-07 12:05:17 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 81185 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 37 - 2025-04-07 12:05:17 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 38 - 2025-04-07 12:05:17 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 39 - 2025-04-07 12:05:17 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 40 - 2025-04-07 12:05:17 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 41 - 2025-04-07 12:05:17 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 42 - 2025-04-07 12:05:17 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 43 - 2025-04-07 12:05:17 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 57017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 44 - 2025-04-07 12:05:17 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 45 - 2025-04-07 12:05:17 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 46 - 2025-04-07 12:05:17 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 47 - 2025-04-07 12:05:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 48 - 2025-04-07 12:05:17 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 81183 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 49 - 2025-04-07 12:05:17 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 50 - 2025-04-07 12:05:17 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 51 - 2025-04-07 12:05:17 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 52 - 2025-04-07 12:05:17 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 53 - 2025-04-07 12:05:17 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 54 - 2025-04-07 12:05:17 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 55 - 2025-04-07 12:05:17 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 56968 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 56 - 2025-04-07 12:05:17 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 57 - 2025-04-07 12:05:17 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 58 - 2025-04-07 12:05:17 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 59 - 2025-04-07 12:05:17 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 60 - 2025-04-07 12:05:17 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 81184 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 61 - 2025-04-07 12:05:17 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 62 - 2025-04-07 12:05:17 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 63 - 2025-04-07 12:05:17 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 64 - 2025-04-07 12:05:17 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 65 - 2025-04-07 12:05:17 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 66 - 2025-04-07 12:05:17 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 67 - 2025-04-07 12:05:17 [0.59ms] */
select * from `transaction` where `transaction`.`id` = 33986 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 68 - 2025-04-07 12:05:17 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 69 - 2025-04-07 12:05:17 [0.25ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 70 - 2025-04-07 12:05:17 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 71 - 2025-04-07 12:05:17 [0.24ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 72 - 2025-04-07 12:05:17 [0.35ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57799) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 73 - 2025-04-07 12:05:17 [0.34ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57799) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 74 - 2025-04-07 12:05:17 [0.38ms] */
select * from `transaction` where `transaction`.`id` in (33986, 56968, 57017, 510484, 510485, 510486, 510487, 510488, 510494) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 75 - 2025-04-07 12:05:17 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` in (81183, 81184, 81185, 93251) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 76 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 77 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 78 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 79 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 80 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 81 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 82 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 83 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 84 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 85 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 86 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 87 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 88 - 2025-04-07 12:05:18 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 89 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 90 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 91 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 92 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 93 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 94 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 95 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` in (57799) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 96 - 2025-04-07 12:05:18 [0.14ms] */
select * from `address` where `address`.`id` in (57799) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 97 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 98 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 99 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 100 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 101 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 102 - 2025-04-07 12:05:18 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 103 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 104 - 2025-04-07 12:05:18 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 105 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 106 - 2025-04-07 12:05:18 [0.16ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 107 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 108 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 109 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 110 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 111 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 112 - 2025-04-07 12:05:18 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 113 - 2025-04-07 12:05:18 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 114 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 115 - 2025-04-07 12:05:18 [0.16ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 116 - 2025-04-07 12:05:18 [0.86ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 117 - 2025-04-07 12:05:18 [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` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 118 - 2025-04-07 12:05:18 [0.21ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57799 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 119 - 2025-04-07 12:05:18 [0.2ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57799 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/m/party/57799
   Query 120 - 2025-04-07 12:05:18 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 121 - 2025-04-07 12:05:18 [0.17ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 122 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 123 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 124 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 125 - 2025-04-07 12:05:18 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 126 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 127 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 128 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 129 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 130 - 2025-04-07 12:05:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 131 - 2025-04-07 12:05: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/m/party/57799
   Query 132 - 2025-04-07 12:05:18 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 133 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 134 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510494 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/m/party/57799
   Query 135 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 136 - 2025-04-07 12:05: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/m/party/57799
   Query 137 - 2025-04-07 12:05:18 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 138 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 139 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 140 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 141 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 142 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 143 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 144 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 145 - 2025-04-07 12:05:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 146 - 2025-04-07 12:05:18 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 147 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510486 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/m/party/57799
   Query 148 - 2025-04-07 12:05:18 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 149 - 2025-04-07 12:05:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 150 - 2025-04-07 12:05:18 [0.16ms] */
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/m/party/57799
   Query 151 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 152 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 153 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 154 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 155 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 156 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 157 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 158 - 2025-04-07 12:05:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 159 - 2025-04-07 12:05:18 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 160 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510487 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/m/party/57799
   Query 161 - 2025-04-07 12:05:18 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 162 - 2025-04-07 12:05:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 163 - 2025-04-07 12:05:18 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 164 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 165 - 2025-04-07 12:05:18 [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/m/party/57799
   Query 166 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 167 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 168 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 169 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 170 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 171 - 2025-04-07 12:05:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 172 - 2025-04-07 12:05: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/m/party/57799
   Query 173 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510488 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/m/party/57799
   Query 174 - 2025-04-07 12:05:18 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 175 - 2025-04-07 12:05:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 176 - 2025-04-07 12:05:18 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 177 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 178 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 179 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 180 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 181 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 182 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 183 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 184 - 2025-04-07 12:05:18 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 185 - 2025-04-07 12:05:18 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 186 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510484 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 187 - 2025-04-07 12:05:18 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 188 - 2025-04-07 12:05: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/m/party/57799
   Query 189 - 2025-04-07 12:05:18 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 190 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 191 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 192 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81185 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 193 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 194 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 195 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 57017 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 196 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 197 - 2025-04-07 12:05:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 198 - 2025-04-07 12:05:18 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 199 - 2025-04-07 12:05:18 [0.16ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 200 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 57017 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/m/party/57799
   Query 201 - 2025-04-07 12:05:18 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 202 - 2025-04-07 12:05: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/m/party/57799
   Query 203 - 2025-04-07 12:05:18 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 204 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 205 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 206 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81183 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 207 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 208 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 209 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 56968 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 210 - 2025-04-07 12:05:18 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 211 - 2025-04-07 12:05:18 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 212 - 2025-04-07 12:05:18 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 213 - 2025-04-07 12:05:18 [0.16ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 214 - 2025-04-07 12:05:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 56968 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/m/party/57799
   Query 215 - 2025-04-07 12:05:18 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 216 - 2025-04-07 12:05: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/m/party/57799
   Query 217 - 2025-04-07 12:05:18 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 218 - 2025-04-07 12:05:18 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 219 - 2025-04-07 12:05:18 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 220 - 2025-04-07 12:05:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 81184 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 221 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 222 - 2025-04-07 12:05:18 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 223 - 2025-04-07 12:05:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 33986 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 224 - 2025-04-07 12:05:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 225 - 2025-04-07 12:05:18 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 226 - 2025-04-07 12:05:18 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 227 - 2025-04-07 12:05:18 [1.11ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 228 - 2025-04-07 12:05:18 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 33986 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/m/party/57799
   Query 229 - 2025-04-07 12:05:18 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 230 - 2025-04-07 12:05: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/m/party/57799
   Query 231 - 2025-04-07 12:05:18 [0.34ms] */
select count(*) as aggregate from `discount` where `party_id` = 57799 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 232 - 2025-04-07 12:05:18 [0.15ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 233 - 2025-04-07 12:05:18 [0.12ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 234 - 2025-04-07 12:05:18 [0.13ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 57799 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57799
   Query 235 - 2025-04-07 12:05:18 [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/party/57799
   Query 236 - 2025-04-07 12:05:18 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 1 - 2025-04-07 12:05:18 [1.33ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 2 - 2025-04-07 12:05:18 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 3 - 2025-04-07 12:05:18 [0.25ms] */
select * from `party` where `id` = 57799 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=57799&model=Company
   Query 4 - 2025-04-07 12:05:18 [0.16ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at,first_name,last_name
                FROM audits a 
                left join users ur on a.user_id = ur.id 
              
                left join company c on a.auditable_id = c.id 
                
                where auditable_id = 2086 and a.auditable_type = 'Company' ORDER BY a.id DESC
                ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 1 - 2025-04-07 12:05:59 [2.24ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 2 - 2025-04-07 12:05:59 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 3 - 2025-04-07 12:05:59 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 4 - 2025-04-07 12:05:59 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 5 - 2025-04-07 12:05:59 [0.19ms] */
select * from `vehicle` where `id` = 93251 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 6 - 2025-04-07 12:05:59 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 7 - 2025-04-07 12:05:59 [0.15ms] */
select * from `vehicle` where `id` = 93251 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 8 - 2025-04-07 12:05:59 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 9 - 2025-04-07 12:05:59 [0.26ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 10 - 2025-04-07 12:05:59 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 11 - 2025-04-07 12:05:59 [0.17ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 12 - 2025-04-07 12:05:59 [0.13ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 13 - 2025-04-07 12:05:59 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 14 - 2025-04-07 12:05:59 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 15 - 2025-04-07 12:05:59 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 16 - 2025-04-07 12:05:59 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 17 - 2025-04-07 12:05:59 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 18 - 2025-04-07 12:05:59 [0.15ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 19 - 2025-04-07 12:05:59 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 93251 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 20 - 2025-04-07 12:05:59 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 21 - 2025-04-07 12:05:59 [0.37ms] */
select * from `model` where `model`.`id` = 1528 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 22 - 2025-04-07 12:05:59 [0.14ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 23 - 2025-04-07 12:05:59 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 24 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 25 - 2025-04-07 12:05:59 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 26 - 2025-04-07 12:05:59 [0.15ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 27 - 2025-04-07 12:05:59 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 510484 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 28 - 2025-04-07 12:05:59 [0.22ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 93251 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 29 - 2025-04-07 12:05:59 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 30 - 2025-04-07 12:05:59 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 31 - 2025-04-07 12:05:59 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 32 - 2025-04-07 12:05:59 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 33 - 2025-04-07 12:05:59 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 34 - 2025-04-07 12:05:59 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 510485 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 35 - 2025-04-07 12:05:59 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 36 - 2025-04-07 12:05:59 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 37 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 38 - 2025-04-07 12:05:59 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 39 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 40 - 2025-04-07 12:05:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 41 - 2025-04-07 12:05:59 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 42 - 2025-04-07 12:05:59 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 43 - 2025-04-07 12:05:59 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 44 - 2025-04-07 12:05:59 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 45 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 46 - 2025-04-07 12:05:59 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 510486 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 47 - 2025-04-07 12:05:59 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 48 - 2025-04-07 12:05:59 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 49 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 50 - 2025-04-07 12:05:59 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 51 - 2025-04-07 12:05:59 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 52 - 2025-04-07 12:05:59 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 53 - 2025-04-07 12:05:59 [0.15ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 54 - 2025-04-07 12:05:59 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 55 - 2025-04-07 12:05:59 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 56 - 2025-04-07 12:05:59 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 57 - 2025-04-07 12:05:59 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 58 - 2025-04-07 12:05:59 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 510487 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 59 - 2025-04-07 12:05:59 [0.13ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 60 - 2025-04-07 12:05:59 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 61 - 2025-04-07 12:05:59 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 62 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 63 - 2025-04-07 12:05:59 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 64 - 2025-04-07 12:05:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 65 - 2025-04-07 12:05:59 [0.14ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 66 - 2025-04-07 12:05:59 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 67 - 2025-04-07 12:05:59 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 68 - 2025-04-07 12:05:59 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 69 - 2025-04-07 12:05:59 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 70 - 2025-04-07 12:05:59 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 510488 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 71 - 2025-04-07 12:05:59 [0.13ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 72 - 2025-04-07 12:05:59 [0.12ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 73 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 74 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 75 - 2025-04-07 12:05:59 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 76 - 2025-04-07 12:05:59 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 77 - 2025-04-07 12:05:59 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 78 - 2025-04-07 12:05:59 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 79 - 2025-04-07 12:05:59 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 80 - 2025-04-07 12:05:59 [0.16ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 93251 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 81 - 2025-04-07 12:05:59 [0.19ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 93251 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/m/vehicle/93251
   Query 82 - 2025-04-07 12:05:59 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 83 - 2025-04-07 12:05:59 [0.17ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 84 - 2025-04-07 12:05:59 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 85 - 2025-04-07 12:05:59 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 86 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 87 - 2025-04-07 12:05:59 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 88 - 2025-04-07 12:05:59 [0.14ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 89 - 2025-04-07 12:05:59 [0.14ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 90 - 2025-04-07 12:05:59 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 91 - 2025-04-07 12:05:59 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 92 - 2025-04-07 12:05:59 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 93 - 2025-04-07 12:05:59 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 94 - 2025-04-07 12:05:59 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 95 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 96 - 2025-04-07 12:05:59 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510494 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/m/vehicle/93251
   Query 97 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 98 - 2025-04-07 12:05:59 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 99 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 100 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 101 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 102 - 2025-04-07 12:05:59 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 103 - 2025-04-07 12:05:59 [0.13ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 104 - 2025-04-07 12:05:59 [0.13ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 105 - 2025-04-07 12:05:59 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 106 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 107 - 2025-04-07 12:05:59 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 108 - 2025-04-07 12:05:59 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 109 - 2025-04-07 12:05:59 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510486 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/m/vehicle/93251
   Query 110 - 2025-04-07 12:05:59 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 111 - 2025-04-07 12:05:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 112 - 2025-04-07 12:05:59 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 113 - 2025-04-07 12:05:59 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 114 - 2025-04-07 12:05:59 [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/m/vehicle/93251
   Query 115 - 2025-04-07 12:05:59 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 116 - 2025-04-07 12:05:59 [0.13ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 117 - 2025-04-07 12:05:59 [0.12ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 118 - 2025-04-07 12:05:59 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 119 - 2025-04-07 12:05:59 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 120 - 2025-04-07 12:05:59 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 121 - 2025-04-07 12:05:59 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 122 - 2025-04-07 12:05:59 [0.13ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510487 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/m/vehicle/93251
   Query 123 - 2025-04-07 12:05:59 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 124 - 2025-04-07 12:05:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 125 - 2025-04-07 12:05:59 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 126 - 2025-04-07 12:05:59 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 127 - 2025-04-07 12:05:59 [0.22ms] */
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/m/vehicle/93251
   Query 128 - 2025-04-07 12:05:59 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 129 - 2025-04-07 12:05:59 [0.23ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 130 - 2025-04-07 12:05:59 [0.23ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 131 - 2025-04-07 12:05:59 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 132 - 2025-04-07 12:05:59 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 133 - 2025-04-07 12:05:59 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 134 - 2025-04-07 12:05:59 [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/vehicle/93251
   Query 135 - 2025-04-07 12:05:59 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510488 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/m/vehicle/93251
   Query 136 - 2025-04-07 12:05:59 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 137 - 2025-04-07 12:05:59 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 138 - 2025-04-07 12:05:59 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 139 - 2025-04-07 12:05:59 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 140 - 2025-04-07 12:05:59 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 141 - 2025-04-07 12:05:59 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 93251 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 142 - 2025-04-07 12:05:59 [0.25ms] */
select * from `party` where `party`.`id` = 57799 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 143 - 2025-04-07 12:05:59 [0.23ms] */
select * from `company` where `company`.`id` = 2086 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 144 - 2025-04-07 12:05:59 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99843 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 145 - 2025-04-07 12:05:59 [0.23ms] */
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/m/vehicle/93251
   Query 146 - 2025-04-07 12:05:59 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 147 - 2025-04-07 12:05:59 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 148 - 2025-04-07 12:05:59 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510484 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 149 - 2025-04-07 12:05:59 [0.21ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 93251 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 150 - 2025-04-07 12:05:59 [0.22ms] */
select * from `title_reprint_history` where `vehicle_id` = 93251 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 151 - 2025-04-07 12:05:59 [0.3ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/93251
   Query 152 - 2025-04-07 12:05:59 [0.22ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=93251&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-04-07 12:05:59 [2.23ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=93251&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-04-07 12:05:59 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=93251&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-04-07 12:05:59 [0.2ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 93251 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 1 - 2025-04-07 12:06:23 [1.87ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 2 - 2025-04-07 12:06:23 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 3 - 2025-04-07 12:06:23 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 4 - 2025-04-07 12:06:23 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 5 - 2025-04-07 12:06:23 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 574420 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 6 - 2025-04-07 12:06:23 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 7 - 2025-04-07 12:06:23 [0.36ms] */
select * from `invoice` where `transaction_id` = 574420 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 8 - 2025-04-07 12:06:23 [0.18ms] */
select * from `invoice_payment` where `invoice_id` = 550086;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 9 - 2025-04-07 12:06:23 [0.15ms] */
select * from `payment_documents` where `transaction_id` = 574420;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 10 - 2025-04-07 12:06:23 [0.16ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574420 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 11 - 2025-04-07 12:06:23 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 12 - 2025-04-07 12:06:23 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 13 - 2025-04-07 12:06:23 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99875 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 14 - 2025-04-07 12:06:23 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99875 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 15 - 2025-04-07 12:06:23 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 16 - 2025-04-07 12:06:23 [321.65ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 17 - 2025-04-07 12:06:23 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 99514 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 18 - 2025-04-07 12:06:23 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 99514 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 19 - 2025-04-07 12:06:23 [0.17ms] */
select * from `model` where `model`.`id` = 196 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 20 - 2025-04-07 12:06:23 [0.16ms] */
select * from `make` where `make`.`id` = 10 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 21 - 2025-04-07 12:06:23 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 22 - 2025-04-07 12:06:23 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99514 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 23 - 2025-04-07 12:06:23 [0.17ms] */
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/574420
   Query 24 - 2025-04-07 12:06:23 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 32 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 25 - 2025-04-07 12:06:23 [0.25ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 13 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 26 - 2025-04-07 12:06:23 [0.25ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 27 - 2025-04-07 12:06:23 [0.19ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 28 - 2025-04-07 12:06:23 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 29 - 2025-04-07 12:06:23 [0.17ms] */
select * from `party` where `party`.`id` = 64957 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 30 - 2025-04-07 12:06:23 [0.17ms] */
select * from `party` where `party`.`id` = 64957 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 31 - 2025-04-07 12:06:23 [0.17ms] */
select * from `company` where `company`.`id` = 2626 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 32 - 2025-04-07 12:06:23 [0.17ms] */
select * from `party` where `party`.`id` = 59180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 33 - 2025-04-07 12:06:23 [0.18ms] */
select * from `person` where `person`.`id` = 56739 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 34 - 2025-04-07 12:06:23 [0.15ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 35 - 2025-04-07 12:06:23 [0.17ms] */
select * from `address` where `address`.`id` = 64957 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 36 - 2025-04-07 12:06:23 [0.16ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 37 - 2025-04-07 12:06:23 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 38 - 2025-04-07 12:06:23 [0.15ms] */
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/574420
   Query 39 - 2025-04-07 12:06:23 [0.15ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 40 - 2025-04-07 12:06:23 [0.18ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 41 - 2025-04-07 12:06:23 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 42 - 2025-04-07 12:06:23 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 43 - 2025-04-07 12:06:23 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 44 - 2025-04-07 12:06:23 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 45 - 2025-04-07 12:06:23 [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/574420
   Query 46 - 2025-04-07 12:06:23 [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/574420
   Query 47 - 2025-04-07 12:06:23 [0.43ms] */
select * from `transaction_workflow` where `transaction_id` = 574420 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 48 - 2025-04-07 12:06:23 [0.19ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 49 - 2025-04-07 12:06:23 [0.16ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 50 - 2025-04-07 12:06:23 [0.16ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 51 - 2025-04-07 12:06:23 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 52 - 2025-04-07 12:06:23 [0.16ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 53 - 2025-04-07 12:06:23 [0.15ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 54 - 2025-04-07 12:06:23 [0.17ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 55 - 2025-04-07 12:06:23 [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/574420
   Query 56 - 2025-04-07 12:06: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): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 57 - 2025-04-07 12:06:23 [0.31ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 58 - 2025-04-07 12:06:23 [0.26ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 59 - 2025-04-07 12:06:23 [0.2ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 60 - 2025-04-07 12:06:23 [0.22ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 61 - 2025-04-07 12:06:23 [0.19ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 62 - 2025-04-07 12:06:23 [0.28ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 63 - 2025-04-07 12:06:23 [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/574420
   Query 64 - 2025-04-07 12:06:23 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 65 - 2025-04-07 12:06:23 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 66 - 2025-04-07 12:06:23 [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/574420
   Query 67 - 2025-04-07 12:06:23 [0.23ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 68 - 2025-04-07 12:06:23 [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/574420
   Query 69 - 2025-04-07 12:06:23 [0.23ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 70 - 2025-04-07 12:06:23 [0.22ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 71 - 2025-04-07 12:06:23 [0.21ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 72 - 2025-04-07 12:06:23 [0.18ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 73 - 2025-04-07 12:06:23 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574420
   Query 74 - 2025-04-07 12:06:23 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 1 - 2025-04-07 12:06:26 [1.33ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 2 - 2025-04-07 12:06:26 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 3 - 2025-04-07 12:06:26 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 4 - 2025-04-07 12:06:26 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 5 - 2025-04-07 12:06:26 [0.15ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 6 - 2025-04-07 12:06:26 [0.16ms] */
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/party
   Query 7 - 2025-04-07 12:06:26 [0.16ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 8 - 2025-04-07 12:06:26 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56739 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 9 - 2025-04-07 12:06:26 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59180 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/party
   Query 10 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62331 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 11 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64955 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/party
   Query 12 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 60384 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 13 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 62951 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/party
   Query 14 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62330 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 15 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64954 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/party
   Query 16 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62329 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 17 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64953 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/party
   Query 18 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62324 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 19 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64948 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/party
   Query 20 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62325 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 21 - 2025-04-07 12:06:26 [0.16ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64949 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/party
   Query 22 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62326 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 23 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64950 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/party
   Query 24 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62327 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 25 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64951 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/party
   Query 26 - 2025-04-07 12:06:26 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62328 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 27 - 2025-04-07 12:06:26 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64952 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/party
   Query 28 - 2025-04-07 12:06:26 [0.3ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party
   Query 29 - 2025-04-07 12:06:26 [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/party.list-party-component
   Query 1 - 2025-04-07 12:06:28 [1.5ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 2 - 2025-04-07 12:06:28 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 3 - 2025-04-07 12:06:28 [0.54ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 4 - 2025-04-07 12:06:28 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-04-07 12:06:28 [0.22ms] */
select count(*) as aggregate from `company` where `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-04-07 12:06:28 [0.2ms] */
select * from `company` where `company`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 7 - 2025-04-07 12:06:28 [0.19ms] */
select * from `company_type` where `company_type`.`id` in (1, 3) and `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 8 - 2025-04-07 12:06:28 [0.18ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 9 - 2025-04-07 12:06:28 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2626 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.list-party-component
   Query 10 - 2025-04-07 12:06:28 [0.14ms] */
select * from `party` where `party`.`id` = 59180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 11 - 2025-04-07 12:06:28 [0.15ms] */
select * from `person` where `person`.`id` = 56739 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 12 - 2025-04-07 12:06:28 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64957 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.list-party-component
   Query 13 - 2025-04-07 12:06:28 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1781 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.list-party-component
   Query 14 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 15 - 2025-04-07 12:06:28 [0.14ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 16 - 2025-04-07 12:06:28 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57494 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.list-party-component
   Query 17 - 2025-04-07 12:06:28 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2625 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.list-party-component
   Query 18 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`id` = 59180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 19 - 2025-04-07 12:06:28 [0.14ms] */
select * from `person` where `person`.`id` = 56739 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 20 - 2025-04-07 12:06:28 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64956 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.list-party-component
   Query 21 - 2025-04-07 12:06:28 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 946 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.list-party-component
   Query 22 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 23 - 2025-04-07 12:06:28 [0.14ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 24 - 2025-04-07 12:06:28 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56659 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.list-party-component
   Query 25 - 2025-04-07 12:06:28 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2086 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.list-party-component
   Query 26 - 2025-04-07 12:06:28 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 27 - 2025-04-07 12:06:28 [0.16ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 28 - 2025-04-07 12:06:28 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57799 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.list-party-component
   Query 29 - 2025-04-07 12:06:28 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2295 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.list-party-component
   Query 30 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 31 - 2025-04-07 12:06:28 [0.13ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 32 - 2025-04-07 12:06:28 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58008 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.list-party-component
   Query 33 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 638 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.list-party-component
   Query 34 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 35 - 2025-04-07 12:06:28 [0.14ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 36 - 2025-04-07 12:06:28 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 56351 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.list-party-component
   Query 37 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2624 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.list-party-component
   Query 38 - 2025-04-07 12:06:28 [0.12ms] */
select * from `party` where `party`.`id` = 64938 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 39 - 2025-04-07 12:06:28 [0.14ms] */
select * from `person` where `person`.`id` = 62315 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 40 - 2025-04-07 12:06:28 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64939 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.list-party-component
   Query 41 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 2623 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.list-party-component
   Query 42 - 2025-04-07 12:06:28 [0.14ms] */
select * from `party` where `party`.`id` = 64936 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 43 - 2025-04-07 12:06:28 [0.13ms] */
select * from `person` where `person`.`id` = 62314 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 44 - 2025-04-07 12:06:28 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64937 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.list-party-component
   Query 45 - 2025-04-07 12:06:28 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1551 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.list-party-component
   Query 46 - 2025-04-07 12:06:28 [0.13ms] */
select * from `party` where `party`.`id` = 58169 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 47 - 2025-04-07 12:06:28 [0.14ms] */
select * from `person` where `person`.`id` = 55777 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 48 - 2025-04-07 12:06:28 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 57264 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/party/57264
   Query 1 - 2025-04-07 12:06:31 [1.27ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 2 - 2025-04-07 12:06:31 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 3 - 2025-04-07 12:06:31 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 4 - 2025-04-07 12:06:31 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 5 - 2025-04-07 12:06:31 [0.2ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 6 - 2025-04-07 12:06:31 [0.15ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 7 - 2025-04-07 12:06:31 [0.15ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 8 - 2025-04-07 12:06:31 [0.15ms] */
select * from `party` where `party`.`id` = 58169 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 9 - 2025-04-07 12:06:31 [0.16ms] */
select * from `person` where `person`.`id` = 55777 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 10 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company_type` where `company_type`.`id` = 3 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 11 - 2025-04-07 12:06:31 [0.14ms] */
select * from `address` where `address`.`id` = 57264 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 12 - 2025-04-07 12:06:31 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 13 - 2025-04-07 12:06:31 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 14 - 2025-04-07 12:06:31 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 15 - 2025-04-07 12:06:31 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 16 - 2025-04-07 12:06:31 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 57264 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 17 - 2025-04-07 12:06:31 [0.14ms] */
select count(*) as aggregate from `transaction` where `party_id` = 57264 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 18 - 2025-04-07 12:06:31 [0.13ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 57264 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 19 - 2025-04-07 12:06:31 [0.12ms] */
select count(*) as aggregate from `invoice` where `party_id` = 57264 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 20 - 2025-04-07 12:06:31 [0.15ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 21 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 22 - 2025-04-07 12:06:31 [0.14ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 57264 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 23 - 2025-04-07 12:06:31 [0.14ms] */
select * from `activity_log` where `log_name` = 'company' and `subject_id` = 1551 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 24 - 2025-04-07 12:06:31 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 3 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 25 - 2025-04-07 12:06:31 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Company' and `party`.`partyable_id` = 1551 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 26 - 2025-04-07 12:06:31 [0.14ms] */
select * from `address` where `address`.`id` = 57264 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 27 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 28 - 2025-04-07 12:06:31 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 29 - 2025-04-07 12:06:31 [0.16ms] */
select * from `party_vehicle` where `party_id` = 57264 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 30 - 2025-04-07 12:06:31 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 99452 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 31 - 2025-04-07 12:06:31 [0.14ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 32 - 2025-04-07 12:06:31 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 33 - 2025-04-07 12:06:31 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 34 - 2025-04-07 12:06:31 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 35 - 2025-04-07 12:06:31 [0.15ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 36 - 2025-04-07 12:06:31 [0.14ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 37 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 509798 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 38 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99239 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 39 - 2025-04-07 12:06:31 [0.13ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 40 - 2025-04-07 12:06:31 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 41 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 42 - 2025-04-07 12:06:31 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 43 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 44 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 45 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 502877 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 46 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 98557 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 47 - 2025-04-07 12:06:31 [0.14ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 48 - 2025-04-07 12:06:31 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 49 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 50 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 51 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 52 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 53 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 358410 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 54 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 91186 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 55 - 2025-04-07 12:06:31 [0.13ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 56 - 2025-04-07 12:06:31 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 57 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 58 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 59 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 60 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 61 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 352055 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 62 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90634 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 63 - 2025-04-07 12:06:31 [0.13ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 64 - 2025-04-07 12:06:31 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 65 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 66 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 67 - 2025-04-07 12:06:31 [0.15ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 68 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 69 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 172968 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 70 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 58056 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 71 - 2025-04-07 12:06:31 [0.17ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 72 - 2025-04-07 12:06:31 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 73 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 74 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 75 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 76 - 2025-04-07 12:06:31 [0.14ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 77 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 32081 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 78 - 2025-04-07 12:06:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 79 - 2025-04-07 12:06:31 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 80 - 2025-04-07 12:06:31 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 81 - 2025-04-07 12:06:31 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 82 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 58057 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 83 - 2025-04-07 12:06:31 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 84 - 2025-04-07 12:06:31 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 85 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 86 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 87 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 88 - 2025-04-07 12:06:31 [0.14ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 89 - 2025-04-07 12:06:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 1962 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 90 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 91 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 92 - 2025-04-07 12:06:31 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 93 - 2025-04-07 12:06:31 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 94 - 2025-04-07 12:06:31 [0.15ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57264) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 95 - 2025-04-07 12:06:31 [0.17ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (57264) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 96 - 2025-04-07 12:06:31 [0.17ms] */
select * from `transaction` where `transaction`.`id` in (1962, 32081, 165454, 172968, 352055) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 97 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (58056, 58057, 90634, 91186) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 98 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 99 - 2025-04-07 12:06:31 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 100 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 101 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 102 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 103 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 104 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 105 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 106 - 2025-04-07 12:06:31 [0.32ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 107 - 2025-04-07 12:06:31 [0.25ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 108 - 2025-04-07 12:06:31 [0.25ms] */
select * from `service` where `service`.`id` in (1, 2, 3) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 109 - 2025-04-07 12:06:31 [0.26ms] */
select * from `party` where `party`.`id` in (57264) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 110 - 2025-04-07 12:06:31 [0.25ms] */
select * from `address` where `address`.`id` in (57264) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 111 - 2025-04-07 12:06:31 [0.27ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 112 - 2025-04-07 12:06:31 [0.25ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 113 - 2025-04-07 12:06:31 [0.27ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 114 - 2025-04-07 12:06:31 [0.28ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 115 - 2025-04-07 12:06:31 [0.27ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 116 - 2025-04-07 12:06:31 [0.25ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 117 - 2025-04-07 12:06:31 [0.27ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 118 - 2025-04-07 12:06:31 [0.25ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 119 - 2025-04-07 12:06:31 [0.28ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 120 - 2025-04-07 12:06:31 [0.25ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 121 - 2025-04-07 12:06:31 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 122 - 2025-04-07 12:06:31 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 123 - 2025-04-07 12:06:31 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 124 - 2025-04-07 12:06:31 [0.15ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57264 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 125 - 2025-04-07 12:06:31 [0.2ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`party_id` = 57264 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/m/party/57264
   Query 126 - 2025-04-07 12:06:31 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 127 - 2025-04-07 12:06:31 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 128 - 2025-04-07 12:06:31 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 129 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 130 - 2025-04-07 12:06:31 [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/m/party/57264
   Query 131 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99452 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 132 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 133 - 2025-04-07 12:06:31 [0.14ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 134 - 2025-04-07 12:06:31 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99801 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 135 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 136 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 137 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 138 - 2025-04-07 12:06:31 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509803 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/m/party/57264
   Query 139 - 2025-04-07 12:06:31 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 140 - 2025-04-07 12:06:31 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 141 - 2025-04-07 12:06:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 142 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 143 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 144 - 2025-04-07 12:06:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99452 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 145 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 146 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 147 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99801 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 148 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 149 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 150 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 151 - 2025-04-07 12:06:31 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 509798 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/m/party/57264
   Query 152 - 2025-04-07 12:06:31 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 153 - 2025-04-07 12:06:31 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 154 - 2025-04-07 12:06:31 [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/m/party/57264
   Query 155 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 156 - 2025-04-07 12:06:31 [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/m/party/57264
   Query 157 - 2025-04-07 12:06:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99239 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 158 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 159 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 160 - 2025-04-07 12:06:31 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99571 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 161 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 162 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 163 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 164 - 2025-04-07 12:06:31 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 502930 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/m/party/57264
   Query 165 - 2025-04-07 12:06:31 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 166 - 2025-04-07 12:06:31 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 167 - 2025-04-07 12:06:31 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 168 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 169 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 170 - 2025-04-07 12:06:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99239 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 171 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 172 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 173 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99571 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 174 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 175 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 176 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 177 - 2025-04-07 12:06:31 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 502877 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/m/party/57264
   Query 178 - 2025-04-07 12:06:31 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 179 - 2025-04-07 12:06:31 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 180 - 2025-04-07 12:06:31 [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/m/party/57264
   Query 181 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 182 - 2025-04-07 12:06:31 [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/m/party/57264
   Query 183 - 2025-04-07 12:06:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 98557 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 184 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 185 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 186 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98787 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 187 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 188 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 189 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 190 - 2025-04-07 12:06:31 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 358411 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/m/party/57264
   Query 191 - 2025-04-07 12:06:31 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 192 - 2025-04-07 12:06:31 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 193 - 2025-04-07 12:06:31 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 194 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 195 - 2025-04-07 12:06:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 196 - 2025-04-07 12:06:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 98557 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 197 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party` where `party`.`id` = 57264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 198 - 2025-04-07 12:06:31 [0.13ms] */
select * from `company` where `company`.`id` = 1551 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 199 - 2025-04-07 12:06:31 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98787 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 200 - 2025-04-07 12:06:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 201 - 2025-04-07 12:06:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 202 - 2025-04-07 12:06:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/party/57264
   Query 203 - 2025-04-07 12:06:31 [0.14ms] */
