select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 12 - 2025-04-11 18:03:06 [0.6ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 13 - 2025-04-11 18:03:06 [0.33ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 14 - 2025-04-11 18:03:06 [0.27ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 15 - 2025-04-11 18:03:06 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 16 - 2025-04-11 18:03:06 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 17 - 2025-04-11 18:03:06 [0.14ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 85666 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 18 - 2025-04-11 18:03:06 [0.13ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 19 - 2025-04-11 18:03:06 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 20 - 2025-04-11 18:03:06 [0.12ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 21 - 2025-04-11 18:03:06 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 22 - 2025-04-11 18:03:06 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 23 - 2025-04-11 18:03:06 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 24 - 2025-04-11 18:03:06 [0.22ms] */
select * from `model` where `model`.`id` = 4379 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 25 - 2025-04-11 18:03:06 [0.13ms] */
select * from `make` where `make`.`id` = 97 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 26 - 2025-04-11 18:03:06 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 13 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 27 - 2025-04-11 18:03:06 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 28 - 2025-04-11 18:03:06 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 26 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 29 - 2025-04-11 18:03:06 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 30 - 2025-04-11 18:03:06 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 85666 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 31 - 2025-04-11 18:03:06 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:07 [2.21ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:07 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:07 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:07 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:07 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:07 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:07 [0.15ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-04-11 18:03:07 [0.16ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-04-11 18:03:07 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62945 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-04-11 18:03:07 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65583 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-04-11 18:03:07 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62944 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-04-11 18:03:07 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65582 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-04-11 18:03:07 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62943 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-04-11 18:03:07 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65581 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-04-11 18:03:07 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 32621 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-04-11 18:03:07 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 32621 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-04-11 18:03:07 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 28049 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-04-11 18:03:07 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 28049 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-04-11 18:03:07 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 38313 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-04-11 18:03:07 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 38313 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-04-11 18:03:07 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 59207 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-04-11 18:03:07 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 61740 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 23 - 2025-04-11 18:03:07 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62942 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 24 - 2025-04-11 18:03:07 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65580 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 25 - 2025-04-11 18:03:07 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61592 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 26 - 2025-04-11 18:03:07 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64196 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 27 - 2025-04-11 18:03:07 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62742 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 28 - 2025-04-11 18:03:07 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65376 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 29 - 2025-04-11 18:03:07 [0.4ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 30 - 2025-04-11 18:03:07 [0.32ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 31 - 2025-04-11 18:03:07 [0.85ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 32 - 2025-04-11 18:03:07 [0.71ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 33 - 2025-04-11 18:03:07 [27.48ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:10 [1.29ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:10 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:10 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:10 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:10 [0.32ms] */
select * from `party` where `party`.`id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:10 [0.5ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:10 [0.47ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-04-11 18:03:10 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-04-11 18:03:10 [0.31ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-04-11 18:03:10 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-04-11 18:03:10 [0.16ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:12 [1.28ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:12 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:12 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:12 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:12 [0.24ms] */
select * from `party` where `party`.`id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:12 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:12 [0.15ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 1 - 2025-04-11 18:03:13 [2.08ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 2 - 2025-04-11 18:03:13 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 3 - 2025-04-11 18:03:13 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 4 - 2025-04-11 18:03:13 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 5 - 2025-04-11 18:03:13 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 6 - 2025-04-11 18:03:13 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 1 - 2025-04-11 18:03:16 [1.29ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 2 - 2025-04-11 18:03:16 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 3 - 2025-04-11 18:03:16 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 4 - 2025-04-11 18:03:16 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 5 - 2025-04-11 18:03:16 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 6 - 2025-04-11 18:03:16 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 1 - 2025-04-11 18:03:16 [1.77ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 2 - 2025-04-11 18:03:16 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 3 - 2025-04-11 18:03:16 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 4 - 2025-04-11 18:03:16 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 5 - 2025-04-11 18:03:16 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 6 - 2025-04-11 18:03:16 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 7 - 2025-04-11 18:03:16 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 8 - 2025-04-11 18:03:16 [12.89ms] */
update `party_vehicle` set `classification_id` = 2, `registration_date` = '2023-01-01 18:03:16', `updated_by` = 42, `party_vehicle`.`updated_at` = '2025-04-11 18:03:16' where `id` = 31878;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 9 - 2025-04-11 18:03:16 [0.76ms] */
select * from `party_vehicle` where `id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 10 - 2025-04-11 18:03:16 [3.51ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"classification_id":2},"old":{"classification_id":1}}', 42, 'App\Models\User', 31878, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-04-11 18:03:16', '2025-04-11 18:03:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 1 - 2025-04-11 18:03:17 [1.29ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 2 - 2025-04-11 18:03:17 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 3 - 2025-04-11 18:03:17 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 4 - 2025-04-11 18:03:17 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 5 - 2025-04-11 18:03:17 [0.75ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 6 - 2025-04-11 18:03:17 [3.99ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 7 - 2025-04-11 18:03:17 [0.33ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 8 - 2025-04-11 18:03:17 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:18 [1.28ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:18 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:18 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:18 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:18 [0.21ms] */
select * from `party` where `party`.`id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:18 [0.31ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:18 [0.15ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-04-11 18:03:18 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-04-11 18:03:18 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-04-11 18:03:18 [0.34ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 85666 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-04-11 18:03:18 [0.32ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-04-11 18:03:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-04-11 18:03:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-04-11 18:03:18 [0.13ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-04-11 18:03:18 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-04-11 18:03:18 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-04-11 18:03:18 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-04-11 18:03:18 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-04-11 18:03:18 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-04-11 18:03:18 [0.15ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 85666 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-04-11 18:03:18 [0.13ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-04-11 18:03:18 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 23 - 2025-04-11 18:03:18 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 24 - 2025-04-11 18:03:18 [0.12ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 25 - 2025-04-11 18:03:18 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 26 - 2025-04-11 18:03:18 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 27 - 2025-04-11 18:03:18 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 28 - 2025-04-11 18:03:18 [0.14ms] */
select * from `model` where `model`.`id` = 4379 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 29 - 2025-04-11 18:03:18 [0.13ms] */
select * from `make` where `make`.`id` = 97 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 30 - 2025-04-11 18:03:18 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 13 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 31 - 2025-04-11 18:03:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 32 - 2025-04-11 18:03:18 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 26 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 33 - 2025-04-11 18:03:18 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 34 - 2025-04-11 18:03:18 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 85666 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 35 - 2025-04-11 18:03:18 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 36 - 2025-04-11 18:03:18 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 37 - 2025-04-11 18:03:18 [0.16ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 38 - 2025-04-11 18:03:18 [0.39ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 39 - 2025-04-11 18:03:18 [0.36ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 40 - 2025-04-11 18:03:18 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 41 - 2025-04-11 18:03:18 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 42 - 2025-04-11 18:03:18 [0.13ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 43 - 2025-04-11 18:03:18 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 44 - 2025-04-11 18:03: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): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:19 [1.36ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:19 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:19 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:19 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:19 [0.22ms] */
select * from `party` where `party`.`id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:19 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:19 [0.15ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:21 [2.03ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:21 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:21 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:21 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:21 [0.21ms] */
select * from `party` where `party`.`id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:21 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:21 [0.15ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-04-11 18:03:21 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-04-11 18:03:21 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-04-11 18:03:21 [0.43ms] */
select * from `service_fee` where (`sub_category_id` = 15 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-04-11 18:03:21 [0.3ms] */
select * from `service_workflow` where `service_id` = 7 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-11 18:03:21 [1.52ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-11 18:03:21 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-11 18:03:21 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-11 18:03:21 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-11 18:03:22 [0.87ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-11 18:03:22 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-11 18:03:24 [1.3ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-11 18:03:24 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-11 18:03:24 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-11 18:03:24 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-11 18:03:24 [0.28ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 18:03:25 [2ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 18:03:25 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 18:03:25 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 18:03:25 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 18:03:25 [0.28ms] */
select * from `party` where `party`.`id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 18:03:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 18:03:25 [0.15ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-04-11 18:03:25 [0.27ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-04-11 18:03:25 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-04-11 18:03:25 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-04-11 18:03:25 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 31878 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-04-11 18:03:25 [0.24ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-04-11 18:03:25 [49.24ms] */
select * from `transaction` where `service_id` = 7 and `party_vehicle_id` = 31878 and `status` not in ('CANCELED') and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-04-11 18:03:25 [0.37ms] */
select * from `service_workflow` where ((`service_id` = 7)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-04-11 18:03:25 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-04-11 18:03:25 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-04-11 18:03:25 [0.25ms] */
select * from `branches` where `branches`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-04-11 18:03:25 [0.55ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 7, 85666, null, 7, 30, 12, 37, 34, 'INPROGRESS', null, null, 42, 42, '2025-04-11 18:03:25', '2025-04-11 18:03:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-04-11 18:03:25 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607939, 'INITIATED', '2025-04-11 18:03:25', 5, 42, 42, 42, '2025-04-11 18:03:25', '2025-04-11 18:03:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-04-11 18:03:25 [0.22ms] */
update `transaction` set `party_vehicle_id` = 31878, `transaction`.`updated_at` = '2025-04-11 18:03:25' where `id` = 607939;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-04-11 18:03:25 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-04-11 18:03:25 [0.25ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 1 - 2025-04-11 18:03:25 [1.97ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 2 - 2025-04-11 18:03:25 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 3 - 2025-04-11 18:03:25 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 4 - 2025-04-11 18:03:25 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-04-11 18:03:25 [42.19ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 42 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-04-11 18:03:25 [50.2ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 42 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 7 - 2025-04-11 18:03:25 [0.21ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 8 - 2025-04-11 18:03:25 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 9 - 2025-04-11 18:03:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 10 - 2025-04-11 18:03:25 [0.21ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 11 - 2025-04-11 18:03:25 [0.2ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 12 - 2025-04-11 18:03:25 [0.23ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 13 - 2025-04-11 18:03:25 [0.25ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 14 - 2025-04-11 18:03:25 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 15 - 2025-04-11 18:03:25 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 16 - 2025-04-11 18:03:25 [0.19ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 17 - 2025-04-11 18:03:25 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 18 - 2025-04-11 18:03:25 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 19 - 2025-04-11 18:03:25 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 20 - 2025-04-11 18:03:25 [0.24ms] */
select * from `party` where `party`.`id` = 51623 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 21 - 2025-04-11 18:03:25 [0.24ms] */
select * from `person` where `person`.`id` = 51623 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 22 - 2025-04-11 18:03:25 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 81144 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 23 - 2025-04-11 18:03:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 24 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 25 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 26 - 2025-04-11 18:03:25 [0.24ms] */
select * from `party` where `party`.`id` = 54175 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 27 - 2025-04-11 18:03:25 [0.22ms] */
select * from `person` where `person`.`id` = 54175 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 28 - 2025-04-11 18:03:25 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 86587 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 29 - 2025-04-11 18:03:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 30 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 31 - 2025-04-11 18:03:25 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 32 - 2025-04-11 18:03:25 [0.2ms] */
select * from `party` where `party`.`id` = 17359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 33 - 2025-04-11 18:03:25 [0.23ms] */
select * from `person` where `person`.`id` = 17359 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 34 - 2025-04-11 18:03:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 75884 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 35 - 2025-04-11 18:03:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 36 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 37 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 38 - 2025-04-11 18:03:25 [0.14ms] */
select * from `party` where `party`.`id` = 17359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 39 - 2025-04-11 18:03:25 [0.14ms] */
select * from `person` where `person`.`id` = 17359 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 40 - 2025-04-11 18:03:25 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 26462 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 41 - 2025-04-11 18:03:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 42 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 43 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 44 - 2025-04-11 18:03:25 [0.13ms] */
select * from `party` where `party`.`id` = 50293 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 45 - 2025-04-11 18:03:25 [0.16ms] */
select * from `person` where `person`.`id` = 50293 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 46 - 2025-04-11 18:03:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 77896 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 47 - 2025-04-11 18:03:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 48 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 49 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 50 - 2025-04-11 18:03:25 [0.2ms] */
select * from `party` where `party`.`id` = 57876 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 51 - 2025-04-11 18:03:25 [0.14ms] */
select * from `company` where `company`.`id` = 2163 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 52 - 2025-04-11 18:03:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 83919 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 53 - 2025-04-11 18:03:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 54 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 55 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 56 - 2025-04-11 18:03:25 [0.21ms] */
select * from `party` where `party`.`id` = 43048 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 57 - 2025-04-11 18:03:25 [0.25ms] */
select * from `person` where `person`.`id` = 43048 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 58 - 2025-04-11 18:03:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 82089 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 59 - 2025-04-11 18:03:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 60 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 61 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 62 - 2025-04-11 18:03:25 [0.2ms] */
select * from `party` where `party`.`id` = 57887 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 63 - 2025-04-11 18:03:25 [0.25ms] */
select * from `company` where `company`.`id` = 2174 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 64 - 2025-04-11 18:03:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 84116 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 65 - 2025-04-11 18:03:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 66 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 67 - 2025-04-11 18:03:25 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 68 - 2025-04-11 18:03:25 [0.22ms] */
select * from `party` where `party`.`id` = 38079 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 69 - 2025-04-11 18:03:25 [0.23ms] */
select * from `person` where `person`.`id` = 38079 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 70 - 2025-04-11 18:03:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 47402 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 71 - 2025-04-11 18:03:25 [0.17ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 72 - 2025-04-11 18:03:25 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 1 - 2025-04-11 18:03:31 [2.05ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 2 - 2025-04-11 18:03:31 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 3 - 2025-04-11 18:03:31 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 4 - 2025-04-11 18:03:31 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-04-11 18:03:44 [2.28ms] */
select * from `users` where `email` = 'Officer.sanaag@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 2 - 2025-04-11 18:03:44 [0.16ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 3 - 2025-04-11 18:03:44 [0.37ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 90 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 4 - 2025-04-11 18:03:44 [11.52ms] */
update `userprofiles` set `last_ip` = '102.223.188.30', `login_count` = 479, `last_login` = '2025-04-11 18:03:44', `userprofiles`.`updated_at` = '2025-04-11 18:03:44' where `id` = 90;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 5 - 2025-04-11 18:03:44 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 6 - 2025-04-11 18:03:44 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 7 - 2025-04-11 18:03:44 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 1 - 2025-04-11 18:03:44 [1.72ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-04-11 18:03:44 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 3 - 2025-04-11 18:03:44 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 4 - 2025-04-11 18:03:44 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 5 - 2025-04-11 18:03:44 [0.18ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-04-11 18:03:44 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-04-11' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-04-11 18:03:44 [17.73ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-04-11 18:03:44 [29.37ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-04-11' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-04-11 18:03:44 [129.24ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-04-10' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-04-11 18:03:44 [62.86ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-04-10' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-04-11 18:03:45 [456.63ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-04-11' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-04-11 18:03:47 [1619.7ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-04-11' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-04-11 18:03:47 [0.33ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-04-11 18:03:47 [0.17ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 1 - 2025-04-11 18:03:52 [2.2ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 2 - 2025-04-11 18:03:52 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 3 - 2025-04-11 18:03:52 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 4 - 2025-04-11 18:03:52 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 5 - 2025-04-11 18:03:52 [0.2ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 6 - 2025-04-11 18:03:52 [0.16ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-04-11 18:03:52 [361.55ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 8 - 2025-04-11 18:03:53 [346.94ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 9 - 2025-04-11 18:03:53 [0.41ms] */
select * from `model` where `model`.`id` in (1056, 1352, 1371, 1396, 1401, 1415, 1562, 4379) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 10 - 2025-04-11 18:03:53 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (13, 14, 15, 20, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 11 - 2025-04-11 18:03:53 [0.27ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 26, 43, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 12 - 2025-04-11 18:03:53 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 13 - 2025-04-11 18:03:53 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` in (4, 11, 13, 15) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 14 - 2025-04-11 18:03:53 [0.48ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (14082, 59111, 62518, 62570, 76348, 82466, 85666, 91534, 91797, 95670) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 15 - 2025-04-11 18:03:53 [0.23ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 16 - 2025-04-11 18:03:53 [0.12ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 17 - 2025-04-11 18:03:53 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 18 - 2025-04-11 18:03:53 [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://rta2.puntlandgov.org/m/vehicle
   Query 19 - 2025-04-11 18:03:53 [0.13ms] */
select * from `make` where `make`.`id` = 97 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 20 - 2025-04-11 18:03:53 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 21 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 22 - 2025-04-11 18:03:53 [0.15ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 23 - 2025-04-11 18:03:53 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 24 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 25 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 26 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 27 - 2025-04-11 18:03:53 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 28 - 2025-04-11 18:03:53 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 59111 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 29 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 43416 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 30 - 2025-04-11 18:03:53 [0.14ms] */
select * from `person` where `person`.`id` = 43416 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 31 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 32 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 43416 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 33 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 34 - 2025-04-11 18:03:53 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 35 - 2025-04-11 18:03:53 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 36 - 2025-04-11 18:03:53 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 91534 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 37 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 59561 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 38 - 2025-04-11 18:03:53 [0.14ms] */
select * from `person` where `person`.`id` = 57108 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 39 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 40 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 59561 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 41 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 42 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 43 - 2025-04-11 18:03:53 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 44 - 2025-04-11 18:03:53 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 76348 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 45 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 49726 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 46 - 2025-04-11 18:03:53 [0.14ms] */
select * from `person` where `person`.`id` = 49726 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 47 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 48 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 49726 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 49 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 50 - 2025-04-11 18:03:53 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 51 - 2025-04-11 18:03:53 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 62518 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 52 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 57148 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 53 - 2025-04-11 18:03:53 [0.14ms] */
select * from `company` where `company`.`id` = 1435 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 54 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 55 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 57148 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 56 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 57 - 2025-04-11 18:03:53 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 58 - 2025-04-11 18:03:53 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 59 - 2025-04-11 18:03:53 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 82466 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 60 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 52210 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 61 - 2025-04-11 18:03:53 [0.16ms] */
select * from `person` where `person`.`id` = 52210 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 62 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 63 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 52210 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 64 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 65 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 66 - 2025-04-11 18:03:53 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 67 - 2025-04-11 18:03:53 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 62570 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 68 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 44658 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 69 - 2025-04-11 18:03:53 [0.16ms] */
select * from `person` where `person`.`id` = 44658 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 70 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 71 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 44658 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 72 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 73 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 74 - 2025-04-11 18:03:53 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 75 - 2025-04-11 18:03:53 [0.22ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 91797 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 76 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 57540 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 77 - 2025-04-11 18:03:53 [0.13ms] */
select * from `company` where `company`.`id` = 1827 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 78 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 79 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 57540 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 80 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 81 - 2025-04-11 18:03:53 [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://rta2.puntlandgov.org/m/vehicle
   Query 82 - 2025-04-11 18:03:53 [0.22ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 95670 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 83 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 23823 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 84 - 2025-04-11 18:03:53 [0.15ms] */
select * from `person` where `person`.`id` = 23823 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 85 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 86 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 23823 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 87 - 2025-04-11 18:03:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 88 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 89 - 2025-04-11 18:03:53 [0.12ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 90 - 2025-04-11 18:03:53 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 14082 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 91 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 9590 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 92 - 2025-04-11 18:03:53 [0.14ms] */
select * from `person` where `person`.`id` = 9590 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 93 - 2025-04-11 18:03:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 94 - 2025-04-11 18:03:53 [0.14ms] */
select * from `party` where `party`.`id` = 9590 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 95 - 2025-04-11 18:03:53 [0.2ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 96 - 2025-04-11 18:03:53 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 1 - 2025-04-11 18:04:01 [1.96ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 2 - 2025-04-11 18:04:01 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 3 - 2025-04-11 18:04:01 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 4 - 2025-04-11 18:04:02 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 5 - 2025-04-11 18:04:02 [0.33ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 6 - 2025-04-11 18:04:02 [0.33ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 7 - 2025-04-11 18:04:02 [0.42ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 8 - 2025-04-11 18:04:02 [0.59ms] */
select * from `address` where `address`.`id` = 53660 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 9 - 2025-04-11 18:04:02 [0.27ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 10 - 2025-04-11 18:04:02 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 11 - 2025-04-11 18:04:02 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 12 - 2025-04-11 18:04:02 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 13 - 2025-04-11 18:04:02 [19.13ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 53660 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 14 - 2025-04-11 18:04:02 [0.42ms] */
select count(*) as aggregate from `transaction` where `party_id` = 53660 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 15 - 2025-04-11 18:04:02 [0.29ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 53660 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 16 - 2025-04-11 18:04:02 [0.19ms] */
select count(*) as aggregate from `invoice` where `party_id` = 53660 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 17 - 2025-04-11 18:04:02 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 18 - 2025-04-11 18:04:02 [0.14ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 19 - 2025-04-11 18:04:02 [0.14ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 20 - 2025-04-11 18:04:02 [0.13ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 21 - 2025-04-11 18:04:02 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 22 - 2025-04-11 18:04:02 [0.25ms] */
select * from `person_bio_photo` where `party_id` = 53660 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 23 - 2025-04-11 18:04:02 [0.25ms] */
select * from `person_bio_iris` where `party_id` = 53660 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 24 - 2025-04-11 18:04:02 [24.24ms] */
select * from `party_vehicle` where `party_id` = 53660 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 25 - 2025-04-11 18:04:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 26 - 2025-04-11 18:04:02 [0.14ms] */
select * from `model` where `model`.`id` = 4379 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 27 - 2025-04-11 18:04:02 [0.13ms] */
select * from `make` where `make`.`id` = 97 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 28 - 2025-04-11 18:04:02 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 29 - 2025-04-11 18:04:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 30 - 2025-04-11 18:04:02 [0.13ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 31 - 2025-04-11 18:04:02 [0.14ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 32 - 2025-04-11 18:04:02 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 31878 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 33 - 2025-04-11 18:04:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 34 - 2025-04-11 18:04:02 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 35 - 2025-04-11 18:04:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 36 - 2025-04-11 18:04:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 37 - 2025-04-11 18:04:02 [0.32ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (53660) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 38 - 2025-04-11 18:04:02 [0.28ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (53660) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 39 - 2025-04-11 18:04:02 [0.24ms] */
select * from `transaction` where `transaction`.`id` in (31878) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 40 - 2025-04-11 18:04:02 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (85666) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 41 - 2025-04-11 18:04:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 42 - 2025-04-11 18:04:02 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 43 - 2025-04-11 18:04:02 [0.24ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 44 - 2025-04-11 18:04:02 [0.13ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 45 - 2025-04-11 18:04:02 [0.19ms] */
select * from `address` where `address`.`id` in (53660) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 46 - 2025-04-11 18:04:02 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 47 - 2025-04-11 18:04:02 [0.15ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 48 - 2025-04-11 18:04:02 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 49 - 2025-04-11 18:04:02 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 50 - 2025-04-11 18:04:02 [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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 51 - 2025-04-11 18:04:02 [0.28ms] */
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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 52 - 2025-04-11 18:04:02 [1.9ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`party_id` = 53660 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 53 - 2025-04-11 18:04:02 [0.28ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 54 - 2025-04-11 18:04:02 [0.8ms] */
select count(*) as aggregate from `discount` where `party_id` = 53660 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 55 - 2025-04-11 18:04:02 [0.14ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 56 - 2025-04-11 18:04:02 [0.12ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 57 - 2025-04-11 18:04:02 [0.5ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 53660 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 58 - 2025-04-11 18:04:02 [0.19ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 59 - 2025-04-11 18:04:02 [0.13ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 1 - 2025-04-11 18:04:05 [2.05ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 2 - 2025-04-11 18:04:05 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 3 - 2025-04-11 18:04:05 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 4 - 2025-04-11 18:04:05 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 5 - 2025-04-11 18:04:05 [0.29ms] */
select * from `party` where `id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 6 - 2025-04-11 18:04:05 [1.24ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, ur.first_name,last_name 
            FROM audits a 
            left join users ur on a.user_id = ur.id 
            left join person p on a.auditable_id = p.id 
            where auditable_id = 53660 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-04-11 18:04:05 [1.26ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-04-11 18:04:05 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-04-11 18:04:05 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-04-11 18:04:05 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-04-11 18:04:05 [0.22ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-04-11 18:04:05 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-04-11 18:04:05 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-04-11 18:04:05 [0.15ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-04-11 18:04:05 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-04-11 18:04:14 [1.19ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-04-11 18:04:14 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-04-11 18:04:14 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-04-11 18:04:14 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-04-11 18:04:14 [0.21ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-04-11 18:04:14 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-04-11 18:04:14 [0.15ms] */
select * from `tax_collection_points` where `region_id` = 8 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-04-11 18:04:14 [0.15ms] */
select * from `district` where `region_id` = 8 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-04-11 18:04:14 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-04-11 18:04:16 [1.29ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-04-11 18:04:16 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-04-11 18:04:16 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-04-11 18:04:16 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-04-11 18:04:16 [0.25ms] */
select * from `district` where `district`.`id` in (39, 40, 41, 42, 43, 44);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-04-11 18:04:16 [0.16ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-04-11 18:04:16 [0.16ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (33, 32, 35, 34, 37, 31, 36);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-04-11 18:04:16 [0.16ms] */
select * from `district` where `id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-04-11 18:04:16 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-04-11 18:04:16 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-04-11 18:04:16 [0.13ms] */
select * from `tax_collection_points` where `region_id` = 8 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-04-11 18:04:16 [0.14ms] */
select * from `district` where `region_id` = 8 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-04-11 18:04:16 [0.15ms] */
select * from `branches` where `district_id` = 39 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-04-11 18:04:18 [1.51ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-04-11 18:04:18 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-04-11 18:04:18 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-04-11 18:04:18 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-04-11 18:04:18 [0.31ms] */
select * from `district` where `district`.`id` in (39, 40, 41, 42, 43, 44);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-04-11 18:04:18 [0.95ms] */
select * from `branches` where `branches`.`id` in (18);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-04-11 18:04:18 [0.16ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-04-11 18:04:18 [0.17ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (33, 32, 35, 34, 37, 31, 36);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-04-11 18:04:18 [0.17ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-04-11 18:04:18 [0.29ms] */
select * from `address` where `address`.`id` = 53660 and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-04-11 18:04:18 [14.13ms] */
update `address` set `address_line_1` = null, `district_id` = 39, `updated_by` = 90, `address`.`updated_at` = '2025-04-11 18:04:18' where `id` = 53660;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-04-11 18:04:18 [0.64ms] */
select * from `address` where `id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-04-11 18:04:18 [4.62ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('address', '{"attributes":{"address_line_1":null,"district_id":39},"old":{"address_line_1":"HODAN","district_id":null}}', 90, 'App\Models\User', 53660, 'Modules\Party\Entities\Address', 'updated', '2025-04-11 18:04:18', '2025-04-11 18:04:18');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 14 - 2025-04-11 18:04:18 [0.64ms] */
select * from `transaction` where `party_id` = 53660 and `status` <> 'PAID' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 15 - 2025-04-11 18:04:18 [5.45ms] */
update `transaction` set `deliver_district_id` = 39, `district_id` = 39, `updated_by` = 90, `transaction`.`updated_at` = '2025-04-11 18:04:18' where `id` = 31878;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 16 - 2025-04-11 18:04:18 [5.37ms] */
update `transaction` set `deliver_district_id` = 39, `district_id` = 39, `branch_id` = null, `updated_by` = 90, `transaction`.`updated_at` = '2025-04-11 18:04:18' where `id` = 607939;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/53660
   Query 1 - 2025-04-11 18:04:18 [1.92ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/53660
   Query 2 - 2025-04-11 18:04:18 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/53660
   Query 3 - 2025-04-11 18:04:18 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/53660
   Query 4 - 2025-04-11 18:04:18 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 1 - 2025-04-11 18:04:18 [1.6ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 2 - 2025-04-11 18:04:18 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 3 - 2025-04-11 18:04:18 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 4 - 2025-04-11 18:04:18 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 5 - 2025-04-11 18:04:18 [0.22ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 6 - 2025-04-11 18:04:18 [0.16ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 7 - 2025-04-11 18:04:18 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 8 - 2025-04-11 18:04:18 [0.34ms] */
select * from `address` where `address`.`id` = 53660 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 9 - 2025-04-11 18:04:18 [0.14ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 10 - 2025-04-11 18:04:18 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 11 - 2025-04-11 18:04:18 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 12 - 2025-04-11 18:04:18 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 13 - 2025-04-11 18:04:18 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 14 - 2025-04-11 18:04:18 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 15 - 2025-04-11 18:04:18 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 53660 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 16 - 2025-04-11 18:04:18 [0.39ms] */
select count(*) as aggregate from `transaction` where `party_id` = 53660 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 17 - 2025-04-11 18:04:18 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 53660 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 18 - 2025-04-11 18:04:18 [0.12ms] */
select count(*) as aggregate from `invoice` where `party_id` = 53660 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 19 - 2025-04-11 18:04:18 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 20 - 2025-04-11 18:04:18 [0.15ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 21 - 2025-04-11 18:04:18 [0.4ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 22 - 2025-04-11 18:04:18 [0.36ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 23 - 2025-04-11 18:04:18 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 24 - 2025-04-11 18:04:18 [0.14ms] */
select * from `person_bio_photo` where `party_id` = 53660 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 25 - 2025-04-11 18:04:18 [0.15ms] */
select * from `person_bio_iris` where `party_id` = 53660 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 26 - 2025-04-11 18:04:18 [0.16ms] */
select * from `party_vehicle` where `party_id` = 53660 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 27 - 2025-04-11 18:04:18 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 28 - 2025-04-11 18:04:18 [0.15ms] */
select * from `model` where `model`.`id` = 4379 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 29 - 2025-04-11 18:04:18 [0.14ms] */
select * from `make` where `make`.`id` = 97 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 30 - 2025-04-11 18:04:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 31 - 2025-04-11 18:04:18 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 32 - 2025-04-11 18:04:18 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 33 - 2025-04-11 18:04:18 [0.18ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 34 - 2025-04-11 18:04:19 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 31878 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 35 - 2025-04-11 18:04:19 [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://rta2.puntlandgov.org/m/party/53660
   Query 36 - 2025-04-11 18:04:19 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 37 - 2025-04-11 18:04:19 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 38 - 2025-04-11 18:04:19 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 39 - 2025-04-11 18:04:19 [0.16ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (53660) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 40 - 2025-04-11 18:04:19 [0.16ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (53660) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 41 - 2025-04-11 18:04:19 [0.4ms] */
select * from `transaction` where `transaction`.`id` in (31878) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 42 - 2025-04-11 18:04:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (85666) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 43 - 2025-04-11 18:04:19 [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://rta2.puntlandgov.org/m/party/53660
   Query 44 - 2025-04-11 18:04:19 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 45 - 2025-04-11 18:04:19 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 46 - 2025-04-11 18:04:19 [0.13ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 47 - 2025-04-11 18:04:19 [0.4ms] */
select * from `address` where `address`.`id` in (53660) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 48 - 2025-04-11 18:04:19 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 49 - 2025-04-11 18:04:19 [0.15ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 50 - 2025-04-11 18:04:19 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 51 - 2025-04-11 18:04:19 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 52 - 2025-04-11 18:04:19 [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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 53 - 2025-04-11 18:04:19 [0.15ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 54 - 2025-04-11 18:04:19 [0.51ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`party_id` = 53660 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 55 - 2025-04-11 18:04:19 [0.68ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`party_id` = 53660 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 56 - 2025-04-11 18:04:19 [0.27ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 57 - 2025-04-11 18:04:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 58 - 2025-04-11 18:04:19 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 59 - 2025-04-11 18:04:19 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 60 - 2025-04-11 18:04:19 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 61 - 2025-04-11 18:04:19 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 62 - 2025-04-11 18:04:19 [0.15ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 63 - 2025-04-11 18:04:19 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 64 - 2025-04-11 18:04:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 65 - 2025-04-11 18:04:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 66 - 2025-04-11 18:04:19 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 607939 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 67 - 2025-04-11 18:04:19 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 68 - 2025-04-11 18:04:19 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 69 - 2025-04-11 18:04:19 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 70 - 2025-04-11 18:04:19 [0.14ms] */
select count(*) as aggregate from `discount` where `party_id` = 53660 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 71 - 2025-04-11 18:04:19 [0.13ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 72 - 2025-04-11 18:04:19 [0.12ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 73 - 2025-04-11 18:04:19 [0.13ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 53660 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 74 - 2025-04-11 18:04:19 [0.18ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/53660
   Query 75 - 2025-04-11 18:04:19 [0.13ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 1 - 2025-04-11 18:04:22 [1.33ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 2 - 2025-04-11 18:04:22 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 3 - 2025-04-11 18:04:22 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 4 - 2025-04-11 18:04:22 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 5 - 2025-04-11 18:04:22 [0.18ms] */
select * from `party` where `id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=53660&model=Person
   Query 6 - 2025-04-11 18:04:22 [0.17ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, ur.first_name,last_name 
            FROM audits a 
            left join users ur on a.user_id = ur.id 
            left join person p on a.auditable_id = p.id 
            where auditable_id = 53660 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 1 - 2025-04-11 18:04:26 [2.01ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-04-11 18:04:26 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 3 - 2025-04-11 18:04:26 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 4 - 2025-04-11 18:04:26 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 5 - 2025-04-11 18:04:26 [0.18ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-04-11 18:04:26 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-04-11' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-04-11 18:04:26 [0.14ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-04-11 18:04:26 [0.13ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-04-11' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-04-11 18:04:26 [105.95ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-04-10' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-04-11 18:04:26 [63.36ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-04-10' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-04-11 18:04:27 [510.02ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-04-11' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-04-11 18:04:28 [1558.35ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-04-11' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-04-11 18:04:28 [0.27ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-04-11 18:04:28 [0.17ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 1 - 2025-04-11 18:04:30 [2.03ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 2 - 2025-04-11 18:04:30 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 3 - 2025-04-11 18:04:30 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 4 - 2025-04-11 18:04:30 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 5 - 2025-04-11 18:04:30 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 6 - 2025-04-11 18:04:30 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 7 - 2025-04-11 18:04:30 [0.18ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 8 - 2025-04-11 18:04:30 [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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-04-11 18:04:31 [210.58ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-04-11 18:04:31 [79.22ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 11 - 2025-04-11 18:04:31 [0.32ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 12 - 2025-04-11 18:04:31 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 13 - 2025-04-11 18:04:31 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 14 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 15 - 2025-04-11 18:04:31 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 16 - 2025-04-11 18:04:31 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 17 - 2025-04-11 18:04:31 [0.16ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 18 - 2025-04-11 18:04:31 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 19 - 2025-04-11 18:04:31 [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://rta2.puntlandgov.org/w/wkflw
   Query 20 - 2025-04-11 18:04:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 21 - 2025-04-11 18:04:31 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 607939 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 22 - 2025-04-11 18:04:31 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 23 - 2025-04-11 18:04:31 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 24 - 2025-04-11 18:04:31 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 25 - 2025-04-11 18:04:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 26 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 27 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 28 - 2025-04-11 18:04:31 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 46773 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 29 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 37499 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 30 - 2025-04-11 18:04:31 [0.15ms] */
select * from `person` where `person`.`id` = 37499 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 31 - 2025-04-11 18:04:31 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 46184 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 32 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 33 - 2025-04-11 18:04:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 34 - 2025-04-11 18:04:31 [1.12ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 597856 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 35 - 2025-04-11 18:04:31 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 36 - 2025-04-11 18:04:31 [0.22ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 37 - 2025-04-11 18:04:31 [0.49ms] */
select * from `transaction_workflow` where `transaction_id` = 597856 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 38 - 2025-04-11 18:04:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 39 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 40 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 41 - 2025-04-11 18:04:31 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 65515 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 42 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 45312 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 43 - 2025-04-11 18:04:31 [0.14ms] */
select * from `person` where `person`.`id` = 45312 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 44 - 2025-04-11 18:04:31 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 56616 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 45 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 46 - 2025-04-11 18:04:31 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 47 - 2025-04-11 18:04:31 [0.7ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 597369 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 48 - 2025-04-11 18:04:31 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 49 - 2025-04-11 18:04:31 [0.23ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 50 - 2025-04-11 18:04:31 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 597369 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 51 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 52 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 53 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 54 - 2025-04-11 18:04:31 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 44203 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 55 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 34376 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 56 - 2025-04-11 18:04:31 [0.15ms] */
select * from `person` where `person`.`id` = 34376 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 57 - 2025-04-11 18:04:31 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 86131 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 58 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 59 - 2025-04-11 18:04:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 60 - 2025-04-11 18:04:31 [1.02ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 578662 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 61 - 2025-04-11 18:04:31 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 62 - 2025-04-11 18:04:31 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 63 - 2025-04-11 18:04:31 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 578662 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 64 - 2025-04-11 18:04:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 65 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 66 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 67 - 2025-04-11 18:04:31 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 47083 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 68 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 37843 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 69 - 2025-04-11 18:04:31 [0.14ms] */
select * from `person` where `person`.`id` = 37843 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 70 - 2025-04-11 18:04:31 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32877 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 71 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 72 - 2025-04-11 18:04:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 73 - 2025-04-11 18:04:31 [0.99ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 578549 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 74 - 2025-04-11 18:04:31 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 75 - 2025-04-11 18:04:31 [0.22ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 76 - 2025-04-11 18:04:31 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 578549 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 77 - 2025-04-11 18:04:31 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 78 - 2025-04-11 18:04:31 [0.18ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 79 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 80 - 2025-04-11 18:04:31 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 60704 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 81 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 32140 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 82 - 2025-04-11 18:04:31 [0.15ms] */
select * from `person` where `person`.`id` = 32140 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 83 - 2025-04-11 18:04:31 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25103 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 84 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 85 - 2025-04-11 18:04:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 86 - 2025-04-11 18:04:31 [1.07ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 502018 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 87 - 2025-04-11 18:04:31 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 88 - 2025-04-11 18:04:31 [0.23ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 89 - 2025-04-11 18:04:31 [0.47ms] */
select * from `transaction_workflow` where `transaction_id` = 502018 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 90 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 91 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 92 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 93 - 2025-04-11 18:04:31 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 71590 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 94 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 37577 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 95 - 2025-04-11 18:04:31 [0.15ms] */
select * from `person` where `person`.`id` = 37577 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 96 - 2025-04-11 18:04:31 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 51655 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 97 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 98 - 2025-04-11 18:04:31 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 99 - 2025-04-11 18:04:31 [0.49ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 497151 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 100 - 2025-04-11 18:04:31 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 101 - 2025-04-11 18:04:31 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 102 - 2025-04-11 18:04:31 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 497151 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 104 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-04-11 18:04:31 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 84181 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-04-11 18:04:31 [0.13ms] */
select * from `party` where `party`.`id` = 52251 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 108 - 2025-04-11 18:04:31 [0.14ms] */
select * from `person` where `person`.`id` = 52251 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 109 - 2025-04-11 18:04:31 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31645 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 110 - 2025-04-11 18:04:31 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 111 - 2025-04-11 18:04:31 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 112 - 2025-04-11 18:04:31 [0.87ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 493503 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 113 - 2025-04-11 18:04:31 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 114 - 2025-04-11 18:04:31 [0.22ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 115 - 2025-04-11 18:04:31 [0.56ms] */
select * from `transaction_workflow` where `transaction_id` = 493503 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 116 - 2025-04-11 18:04:31 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 117 - 2025-04-11 18:04:31 [0.22ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 118 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 119 - 2025-04-11 18:04:31 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 53190 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 120 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 39736 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 121 - 2025-04-11 18:04:31 [0.15ms] */
select * from `person` where `person`.`id` = 39736 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 122 - 2025-04-11 18:04:31 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 33631 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 123 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 124 - 2025-04-11 18:04:31 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 125 - 2025-04-11 18:04:31 [1.11ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 491932 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 126 - 2025-04-11 18:04:31 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 127 - 2025-04-11 18:04:31 [0.22ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 128 - 2025-04-11 18:04:31 [0.49ms] */
select * from `transaction_workflow` where `transaction_id` = 491932 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 129 - 2025-04-11 18:04:31 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 130 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 131 - 2025-04-11 18:04:31 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 132 - 2025-04-11 18:04:31 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 57336 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 133 - 2025-04-11 18:04:31 [0.14ms] */
select * from `party` where `party`.`id` = 57243 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 134 - 2025-04-11 18:04:31 [0.15ms] */
select * from `company` where `company`.`id` = 1530 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 135 - 2025-04-11 18:04:31 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 77658 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 136 - 2025-04-11 18:04:31 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 137 - 2025-04-11 18:04:31 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 138 - 2025-04-11 18:04:31 [0.87ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 491327 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 139 - 2025-04-11 18:04:31 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 140 - 2025-04-11 18:04:31 [0.22ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 141 - 2025-04-11 18:04:31 [0.56ms] */
select * from `transaction_workflow` where `transaction_id` = 491327 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 142 - 2025-04-11 18:04:31 [0.18ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 143 - 2025-04-11 18:04:31 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 1 - 2025-04-11 18:04:38 [2.29ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2025-04-11 18:04:38 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 3 - 2025-04-11 18:04:38 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2025-04-11 18:04:38 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2025-04-11 18:04:38 [0.24ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2025-04-11 18:04:38 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 607939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2025-04-11 18:04:38 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 8 - 2025-04-11 18:04:38 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-04-11 18:04:38 [1.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607939, 'CLAIMED', '2025-04-11 18:04:38', 6, 90, 90, 90, '2025-04-11 18:04:38', '2025-04-11 18:04:38');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-04-11 18:04:38 [0.3ms] */
update `transaction` set `assigned_to` = 90, `transaction`.`updated_at` = '2025-04-11 18:04:38' where `id` = 607939;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 1 - 2025-04-11 18:04:39 [1.32ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 2 - 2025-04-11 18:04:39 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 3 - 2025-04-11 18:04:39 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 4 - 2025-04-11 18:04:39 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 5 - 2025-04-11 18:04:39 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 607939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 6 - 2025-04-11 18:04:39 [0.34ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 7 - 2025-04-11 18:04:39 [0.61ms] */
select * from `invoice` where `transaction_id` = 607939 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 8 - 2025-04-11 18:04:39 [12.04ms] */
select * from `payment_documents` where `transaction_id` = 607939;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 9 - 2025-04-11 18:04:39 [1.65ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 607939 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 10 - 2025-04-11 18:04:39 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 11 - 2025-04-11 18:04:39 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 12 - 2025-04-11 18:04:39 [0.15ms] */
select * from `users` where `users`.`id` = 90 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 13 - 2025-04-11 18:04:39 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 14 - 2025-04-11 18:04:39 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 15 - 2025-04-11 18:04:39 [1.25ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 16 - 2025-04-11 18:04:39 [0.44ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 17 - 2025-04-11 18:04:39 [397.95ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 18 - 2025-04-11 18:04:39 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 19 - 2025-04-11 18:04:39 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 20 - 2025-04-11 18:04:39 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 21 - 2025-04-11 18:04:39 [6.23ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 85666 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 22 - 2025-04-11 18:04:39 [0.81ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 23 - 2025-04-11 18:04:39 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 24 - 2025-04-11 18:04:39 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 25 - 2025-04-11 18:04:39 [0.26ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 26 - 2025-04-11 18:04:39 [0.24ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 27 - 2025-04-11 18:04:39 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 28 - 2025-04-11 18:04:39 [0.24ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 29 - 2025-04-11 18:04:39 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 30 - 2025-04-11 18:04:39 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 31 - 2025-04-11 18:04:39 [0.26ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 85666 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 32 - 2025-04-11 18:04:39 [0.13ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 33 - 2025-04-11 18:04:39 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 34 - 2025-04-11 18:04:39 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 35 - 2025-04-11 18:04:39 [0.11ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 36 - 2025-04-11 18:04:39 [0.11ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 37 - 2025-04-11 18:04:39 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 38 - 2025-04-11 18:04:39 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 39 - 2025-04-11 18:04:39 [0.13ms] */
select * from `model` where `model`.`id` = 4379 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 40 - 2025-04-11 18:04:39 [0.13ms] */
select * from `make` where `make`.`id` = 97 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 41 - 2025-04-11 18:04:39 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 13 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 42 - 2025-04-11 18:04:39 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 43 - 2025-04-11 18:04:39 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 26 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 44 - 2025-04-11 18:04:39 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 45 - 2025-04-11 18:04:39 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 85666 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 46 - 2025-04-11 18:04:39 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 47 - 2025-04-11 18:04:39 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 48 - 2025-04-11 18:04:39 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 49 - 2025-04-11 18:04:39 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 50 - 2025-04-11 18:04:39 [0.14ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 51 - 2025-04-11 18:04:39 [0.22ms] */
select * from `person` where `person`.`id` = 53660 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 52 - 2025-04-11 18:04:39 [0.17ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 53 - 2025-04-11 18:04:39 [0.16ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 53660 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 54 - 2025-04-11 18:04:39 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53660 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 55 - 2025-04-11 18:04:39 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 56 - 2025-04-11 18:04:39 [0.13ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 57 - 2025-04-11 18:04:39 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 58 - 2025-04-11 18:04:39 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 59 - 2025-04-11 18:04:39 [0.59ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 31878 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 60 - 2025-04-11 18:04:39 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 61 - 2025-04-11 18:04: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://rta2.puntlandgov.org/w/wkflw/607939
   Query 62 - 2025-04-11 18:04:39 [0.59ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 63 - 2025-04-11 18:04:39 [0.2ms] */
select * from `users` where `users`.`id` = 90 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 64 - 2025-04-11 18:04:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 65 - 2025-04-11 18:04:39 [0.52ms] */
select * from `users` where `users`.`id` = 42 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 66 - 2025-04-11 18:04:39 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 67 - 2025-04-11 18:04:39 [0.55ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 68 - 2025-04-11 18:04:39 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 69 - 2025-04-11 18:04:39 [0.15ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 70 - 2025-04-11 18:04:39 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 71 - 2025-04-11 18:04:39 [0.23ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 72 - 2025-04-11 18:04:39 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 73 - 2025-04-11 18:04:39 [0.22ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/607939
   Query 74 - 2025-04-11 18:04:39 [0.15ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-04-11 18:04:42 [2.06ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-04-11 18:04:42 [0.85ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-04-11 18:04:42 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-04-11 18:04:42 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-04-11 18:04:43 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 607939 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-11 18:04:43 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` in (7) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-11 18:04:43 [0.21ms] */
select * from `service` where `service`.`id` in (7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-11 18:04:43 [0.23ms] */
select * from `workflow` where `workflow`.`id` in (7) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-11 18:04:43 [0.16ms] */
select * from `users` where `users`.`id` in (90) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-11 18:04:43 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (30) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-11 18:04:43 [0.12ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-11 18:04:43 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (85666) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-11 18:04:43 [0.14ms] */
select * from `party` where `party`.`id` in (53660) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-11 18:04:43 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (31878) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-04-11 18:04:43 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 607939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-11 18:04:43 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-04-11 18:04:43 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-04-11 18:04:43 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-04-11 18:04:43 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 607939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-11 18:04:43 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-11 18:04:43 [0.14ms] */
select * from `invoice` where `transaction_id` = 607939 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-04-11 18:04:43 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 607939;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-04-11 18:04:43 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 607939 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-04-11 18:04:43 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-04-11 18:04:43 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-11 18:04:43 [0.14ms] */
select * from `users` where `users`.`id` = 90 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-04-11 18:04:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-04-11 18:04:43 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-04-11 18:04:43 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-04-11 18:04:43 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-04-11 18:04:43 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-04-11 18:04:43 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-04-11 18:04:43 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-04-11 18:04:43 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 607939 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-04-11 18:04:43 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-11 18:04:43 [2.66ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-11 18:04:43 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-11 18:04:43 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-11 18:04:43 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-11 18:04:43 [0.6ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-04-11 18:04:43 [0.21ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-04-11 18:04:45 [2.31ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-04-11 18:04:45 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-04-11 18:04:45 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-04-11 18:04:45 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-04-11 18:04:45 [0.29ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-04-11 18:04:46 [1.99ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-04-11 18:04:46 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-04-11 18:04:46 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-04-11 18:04:46 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-04-11 18:04:46 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 607939 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-04-11 18:04:46 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (7) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-04-11 18:04:46 [0.14ms] */
select * from `service` where `service`.`id` in (7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-04-11 18:04:46 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (7) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-04-11 18:04:46 [0.15ms] */
select * from `users` where `users`.`id` in (90) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-04-11 18:04:46 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (30) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-04-11 18:04:46 [0.13ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-04-11 18:04:46 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 607939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-04-11 18:04:46 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 607939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-04-11 18:04:46 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-04-11 18:04:46 [0.18ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-04-11 18:04:46 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-04-11 18:04:46 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-04-11 18:04:46 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607939, 'APPROVED', '2025-04-11 18:04:46', 6, 90, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-04-11 18:04:46 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-04-11 18:04:46 [0.3ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 31, `status` = 'END', `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607939;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-04-11 18:04:46 [0.19ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-04-11 18:04:46 [0.15ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-04-11 18:04:46 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-04-11 18:04:46 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31878 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-04-11 18:04:46 [0.22ms] */
update `party_vehicle` set `updated_by` = 90, `party_vehicle`.`updated_at` = '2025-04-11 18:04:46' where `id` = 31878;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-04-11 18:04:46 [0.19ms] */
select * from `party_vehicle` where `id` = 31878 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-04-11 18:04:46 [0.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":[],"old":[]}', 90, 'App\Models\User', 31878, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-04-11 18:04:46 [0.73ms] */
update `party` set `updated_by` = 90, `party`.`updated_at` = '2025-04-11 18:04:46' where `id` = 53660;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-04-11 18:04:46 [0.17ms] */
select * from `party` where `id` = 53660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 90, 'App\Models\User', 53660, 'Modules\Party\Entities\Party', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-04-11 18:04:46 [0.27ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":1}', '{"updated_by":90}', 'updated', 53660, 'Modules\Party\Entities\Party', 90, 'App\Models\User', null, '102.223.188.30', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-04-11 18:04:46 [0.24ms] */
update `vehicle` set `provisional` = 'N', `updated_by` = 90, `vehicle`.`updated_at` = '2025-04-11 18:04:46' where `id` = 85666;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-04-11 18:04:46 [0.19ms] */
select * from `vehicle` where `id` = 85666 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-04-11 18:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"provisional":"N"},"old":{"provisional":"Y"}}', 90, 'App\Models\User', 85666, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-04-11 18:04:46 [0.19ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"provisional":"Y","updated_by":42}', '{"provisional":"N","updated_by":90}', 'updated', 85666, 'Modules\Vehicle\Entities\Vehicle', 90, 'App\Models\User', null, '102.223.188.30', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-04-11 18:04:46 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-04-11 18:04:46 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 85666 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-04-11 18:04:46 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 85666 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-04-11 18:04:46 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 31878 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-04-11 18:04:46 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-04-11 18:04:46 [0.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-04-11 18:04:46 [0.18ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-04-11 18:04:46 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 85666 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-04-11 18:04:46 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-04-11 18:04:46 [0.32ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-04-11 18:04:46 [0.14ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-04-11 18:04:46 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2025-04-11 18:04:46 [0.15ms] */
select * from `branches` where `branches`.`id` = 18 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2025-04-11 18:04:46 [0.52ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2025-04-11 18:04:46 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607940, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-04-11 18:04:46 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-04-11 18:04:46 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2025-04-11 18:04:46 [0.3ms] */
select * from `term` where `year` = 2023 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2025-04-11 18:04:46 [0.37ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'P5B-31878-564', 85666, 93, 53660, 31878, 607940, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-04-11 18:04:46 [0.25ms] */
select * from `vehicle_tax` where `id` = 483996 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-04-11 18:04:46 [0.39ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"P5B-31878-564","tax_sticker_id":null,"vehicle_id":85666,"term_id":93,"party_id":53660,"transaction_id":607940,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 483996, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-04-11 18:04:46 [0.37ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2025-04-11 18:04:46 [1.11ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2025-04-11 18:04:46 [0.44ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2025-04-11 18:04:46 [0.48ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2025-04-11 18:04:46 [0.65ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607940, '2023-01-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2025-04-11 18:04:46 [0.34ms] */
select * from `invoice` where `id` = 582014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-04-11 18:04:46 [0.38ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607940,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2023-01-01 00:00:00","due_date":"2022-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582014, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-04-11 18:04:46 [0.39ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax fee for 25-36 TANS', 'Yearly tax fee for 25-36 TANS', 1, 151.00, 151.00, 582014, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-04-11 18:04:46 [0.28ms] */
select * from `invoice_item` where `id` = 1050951 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-04-11 18:04:46 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly tax fee for 25-36 TANS","description":"Yearly tax fee for 25-36 TANS","unit_price":"151.00","quantity":1,"total_price":"151.00","invoice_id":582014}}', 90, 'App\Models\User', 1050951, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-04-11 18:04:46 [0.2ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Service Fee for Yearly Tax', 1, 8.00, 8.00, 582014, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-04-11 18:04:46 [0.21ms] */
select * from `invoice_item` where `id` = 1050952 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-04-11 18:04:46 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":582014}}', 90, 'App\Models\User', 1050952, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-04-11 18:04:46 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 582014 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-04-11 18:04:46 [0.37ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 582014 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2025-04-11 18:04:46 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 582014 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-04-11 18:04:46 [0.26ms] */
update `invoice` set `invoice_amount` = 159, `outstanding_balance` = 159, `discounts` = 0, `total_invoice_amount` = 159, `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582014;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2025-04-11 18:04:46 [0.27ms] */
select * from `invoice` where `id` = 582014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-04-11 18:04:46 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"159.00","outstanding_balance":"159.00","discounts":"0.00","total_invoice_amount":"159.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 582014, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2025-04-11 18:04:46 [0.25ms] */
update `invoice` set `invoice_number` = 'INV-404-582014183', `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582014;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2025-04-11 18:04:46 [0.28ms] */
select * from `invoice` where `id` = 582014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-04-11 18:04:46 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"159.00","outstanding_balance":"159.00","discounts":"0.00","total_invoice_amount":"159.00","invoice_number":"INV-404-582014183","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 582014, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-04-11 18:04:46 [0.27ms] */
update `transaction` set `party_vehicle_id` = 31878, `vehicle_tax_id` = 483996, `invoice_id` = 582014, `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607940;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2025-04-11 18:04:46 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2025-04-11 18:04:46 [0.28ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2025-04-11 18:04:46 [0.5ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2025-04-11 18:04:46 [0.52ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2025-04-11 18:04:46 [0.41ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607941, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2025-04-11 18:04:46 [0.46ms] */
select * from `term` where `year` = 2023 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2025-04-11 18:04:46 [0.64ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'PMV-31878-479', 85666, 94, 53660, 31878, 607941, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-04-11 18:04:46 [0.48ms] */
select * from `vehicle_tax` where `id` = 483997 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-04-11 18:04:46 [0.63ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"PMV-31878-479","tax_sticker_id":null,"vehicle_id":85666,"term_id":94,"party_id":53660,"transaction_id":607941,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 483997, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2025-04-11 18:04:46 [0.88ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2025-04-11 18:04:46 [0.59ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2025-04-11 18:04:46 [0.26ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2025-04-11 18:04:46 [0.29ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-04-11 18:04:46 [0.28ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607941, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2025-04-11 18:04:46 [0.31ms] */
select * from `invoice` where `id` = 582015 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-04-11 18:04:46 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607941,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2023-03-01 00:00:00","due_date":"2023-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582015, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-04-11 18:04:46 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 25-36 TANS', '25-36 TANS Quarterly Tax', 1, 118.00, 118.00, 582015, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-04-11 18:04:46 [0.26ms] */
select * from `invoice_item` where `id` = 1050953 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-04-11 18:04:46 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 25-36 TANS","description":"25-36 TANS Quarterly Tax","unit_price":"118.00","quantity":1,"total_price":"118.00","invoice_id":582015}}', 90, 'App\Models\User', 1050953, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-04-11 18:04:46 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 582015, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-04-11 18:04:46 [0.28ms] */
select * from `invoice_item` where `id` = 1050954 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-04-11 18:04:46 [0.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":582015}}', 90, 'App\Models\User', 1050954, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2025-04-11 18:04:46 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 582015 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-04-11 18:04:46 [0.38ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 582015 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2025-04-11 18:04:46 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 582015 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-04-11 18:04:46 [0.26ms] */
update `invoice` set `invoice_amount` = 126, `outstanding_balance` = 126, `discounts` = 0, `total_invoice_amount` = 126, `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582015;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582015 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 582015, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-04-11 18:04:46 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-843-582015544', `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582015;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-04-11 18:04:46 [0.18ms] */
select * from `invoice` where `id` = 582015 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00","invoice_number":"INV-843-582015544","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 582015, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-04-11 18:04:46 [0.19ms] */
update `transaction` set `party_vehicle_id` = 31878, `vehicle_tax_id` = 483997, `invoice_id` = 582015, `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607941;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2025-04-11 18:04:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2025-04-11 18:04:46 [0.2ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2025-04-11 18:04:46 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2025-04-11 18:04:46 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2025-04-11 18:04:46 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607942, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2025-04-11 18:04:46 [0.2ms] */
select * from `term` where `year` = 2023 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-04-11 18:04:46 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'RUE-31878-149', 85666, 95, 53660, 31878, 607942, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2025-04-11 18:04:46 [0.18ms] */
select * from `vehicle_tax` where `id` = 483998 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-04-11 18:04:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"RUE-31878-149","tax_sticker_id":null,"vehicle_id":85666,"term_id":95,"party_id":53660,"transaction_id":607942,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 483998, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2025-04-11 18:04:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2025-04-11 18:04:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2025-04-11 18:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2025-04-11 18:04:46 [0.19ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-04-11 18:04:46 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607942, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2025-04-11 18:04:46 [0.18ms] */
select * from `invoice` where `id` = 582016 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607942,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2023-06-01 00:00:00","due_date":"2023-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582016, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-04-11 18:04:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 25-36 TANS', '25-36 TANS Quarterly Tax', 1, 118.00, 118.00, 582016, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-04-11 18:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 1050955 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-04-11 18:04:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 25-36 TANS","description":"25-36 TANS Quarterly Tax","unit_price":"118.00","quantity":1,"total_price":"118.00","invoice_id":582016}}', 90, 'App\Models\User', 1050955, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-04-11 18:04:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 582016, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-04-11 18:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 1050956 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-04-11 18:04:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":582016}}', 90, 'App\Models\User', 1050956, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 582016 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-04-11 18:04:46 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 582016 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2025-04-11 18:04:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 582016 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-04-11 18:04:46 [0.18ms] */
update `invoice` set `invoice_amount` = 126, `outstanding_balance` = 126, `discounts` = 0, `total_invoice_amount` = 126, `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582016;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2025-04-11 18:04:46 [0.18ms] */
select * from `invoice` where `id` = 582016 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 582016, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-04-11 18:04:46 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-193-582016172', `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582016;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-04-11 18:04:46 [0.18ms] */
select * from `invoice` where `id` = 582016 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00","invoice_number":"INV-193-582016172","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 582016, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-04-11 18:04:46 [0.19ms] */
update `transaction` set `party_vehicle_id` = 31878, `vehicle_tax_id` = 483998, `invoice_id` = 582016, `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607942;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2025-04-11 18:04:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2025-04-11 18:04:46 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2025-04-11 18:04:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2025-04-11 18:04:46 [0.25ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2025-04-11 18:04:46 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607943, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2025-04-11 18:04:46 [0.21ms] */
select * from `term` where `year` = 2023 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2025-04-11 18:04:46 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'U0I-31878-956', 85666, 96, 53660, 31878, 607943, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2025-04-11 18:04:46 [0.18ms] */
select * from `vehicle_tax` where `id` = 483999 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"U0I-31878-956","tax_sticker_id":null,"vehicle_id":85666,"term_id":96,"party_id":53660,"transaction_id":607943,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 483999, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2025-04-11 18:04:46 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2025-04-11 18:04:46 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2025-04-11 18:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2025-04-11 18:04:46 [0.18ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2025-04-11 18:04:46 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607943, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582017 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607943,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2023-09-01 00:00:00","due_date":"2023-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582017, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-04-11 18:04:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 25-36 TANS', '25-36 TANS Quarterly Tax', 1, 118.00, 118.00, 582017, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-04-11 18:04:46 [0.16ms] */
select * from `invoice_item` where `id` = 1050957 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 25-36 TANS","description":"25-36 TANS Quarterly Tax","unit_price":"118.00","quantity":1,"total_price":"118.00","invoice_id":582017}}', 90, 'App\Models\User', 1050957, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2025-04-11 18:04:46 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 582017, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2025-04-11 18:04:46 [0.18ms] */
select * from `invoice_item` where `id` = 1050958 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":582017}}', 90, 'App\Models\User', 1050958, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2025-04-11 18:04:46 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 582017 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2025-04-11 18:04:46 [0.31ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 582017 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2025-04-11 18:04:46 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 582017 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2025-04-11 18:04:46 [0.19ms] */
update `invoice` set `invoice_amount` = 126, `outstanding_balance` = 126, `discounts` = 0, `total_invoice_amount` = 126, `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582017;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582017 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2025-04-11 18:04:46 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 582017, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2025-04-11 18:04:46 [0.25ms] */
update `invoice` set `invoice_number` = 'INV-264-582017840', `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582017;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2025-04-11 18:04:46 [0.21ms] */
select * from `invoice` where `id` = 582017 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00","invoice_number":"INV-264-582017840","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 582017, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2025-04-11 18:04:46 [0.2ms] */
update `transaction` set `party_vehicle_id` = 31878, `vehicle_tax_id` = 483999, `invoice_id` = 582017, `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607943;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2025-04-11 18:04:46 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2025-04-11 18:04:46 [0.2ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2025-04-11 18:04:46 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2025-04-11 18:04:46 [0.27ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2025-04-11 18:04:46 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607944, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2025-04-11 18:04:46 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2025-04-11 18:04:46 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2025-04-11 18:04:46 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2025-04-11 18:04:46 [0.2ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'N9R-31878-452', 85666, 97, 53660, 31878, 607944, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2025-04-11 18:04:46 [0.18ms] */
select * from `vehicle_tax` where `id` = 484000 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"N9R-31878-452","tax_sticker_id":null,"vehicle_id":85666,"term_id":97,"party_id":53660,"transaction_id":607944,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 484000, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2025-04-11 18:04:46 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2025-04-11 18:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2025-04-11 18:04:46 [0.19ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2025-04-11 18:04:46 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607944, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582018 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2025-04-11 18:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607944,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2023-12-01 00:00:00","due_date":"2023-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582018, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2025-04-11 18:04:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax fee for 25-36 TANS', 'Yearly tax fee for 25-36 TANS', 1, 151.00, 151.00, 582018, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2025-04-11 18:04:46 [0.17ms] */
select * from `invoice_item` where `id` = 1050959 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly tax fee for 25-36 TANS","description":"Yearly tax fee for 25-36 TANS","unit_price":"151.00","quantity":1,"total_price":"151.00","invoice_id":582018}}', 90, 'App\Models\User', 1050959, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 196 - 2025-04-11 18:04:46 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Service Fee for Yearly Tax', 1, 8.00, 8.00, 582018, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 197 - 2025-04-11 18:04:46 [0.17ms] */
select * from `invoice_item` where `id` = 1050960 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 198 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":582018}}', 90, 'App\Models\User', 1050960, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 199 - 2025-04-11 18:04:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 582018 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 200 - 2025-04-11 18:04:46 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 582018 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 201 - 2025-04-11 18:04:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 582018 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 202 - 2025-04-11 18:04:46 [0.18ms] */
update `invoice` set `invoice_amount` = 159, `outstanding_balance` = 159, `discounts` = 0, `total_invoice_amount` = 159, `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582018;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 203 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582018 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 204 - 2025-04-11 18:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"159.00","outstanding_balance":"159.00","discounts":"0.00","total_invoice_amount":"159.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 582018, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 205 - 2025-04-11 18:04:46 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-560-582018546', `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582018;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 206 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582018 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 207 - 2025-04-11 18:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"159.00","outstanding_balance":"159.00","discounts":"0.00","total_invoice_amount":"159.00","invoice_number":"INV-560-582018546","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 582018, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 208 - 2025-04-11 18:04:46 [0.19ms] */
update `transaction` set `party_vehicle_id` = 31878, `vehicle_tax_id` = 484000, `invoice_id` = 582018, `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607944;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 209 - 2025-04-11 18:04:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 210 - 2025-04-11 18:04:46 [0.2ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 211 - 2025-04-11 18:04:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 212 - 2025-04-11 18:04:46 [0.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 213 - 2025-04-11 18:04:46 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607945, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 214 - 2025-04-11 18:04:46 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2025-04-11 18:04:46 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '03X-31878-335', 85666, 98, 53660, 31878, 607945, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 216 - 2025-04-11 18:04:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 484001 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 217 - 2025-04-11 18:04:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"03X-31878-335","tax_sticker_id":null,"vehicle_id":85666,"term_id":98,"party_id":53660,"transaction_id":607945,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 484001, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 218 - 2025-04-11 18:04:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 219 - 2025-04-11 18:04:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 220 - 2025-04-11 18:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 221 - 2025-04-11 18:04:46 [0.19ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 222 - 2025-04-11 18:04:46 [0.3ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607945, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 223 - 2025-04-11 18:04:46 [0.5ms] */
select * from `invoice` where `id` = 582019 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 224 - 2025-04-11 18:04:46 [0.42ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607945,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2024-03-01 00:00:00","due_date":"2024-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582019, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 225 - 2025-04-11 18:04:46 [0.31ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 25-36 TANS', '25-36 TANS Quarterly Tax', 1, 118.00, 118.00, 582019, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 226 - 2025-04-11 18:04:46 [0.33ms] */
select * from `invoice_item` where `id` = 1050961 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 227 - 2025-04-11 18:04:46 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 25-36 TANS","description":"25-36 TANS Quarterly Tax","unit_price":"118.00","quantity":1,"total_price":"118.00","invoice_id":582019}}', 90, 'App\Models\User', 1050961, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 228 - 2025-04-11 18:04:46 [0.3ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 582019, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 229 - 2025-04-11 18:04:46 [0.33ms] */
select * from `invoice_item` where `id` = 1050962 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 230 - 2025-04-11 18:04:46 [0.39ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":582019}}', 90, 'App\Models\User', 1050962, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 231 - 2025-04-11 18:04:46 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 582019 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 232 - 2025-04-11 18:04:46 [0.3ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 582019 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 233 - 2025-04-11 18:04:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 582019 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 234 - 2025-04-11 18:04:46 [0.19ms] */
update `invoice` set `invoice_amount` = 126, `outstanding_balance` = 126, `discounts` = 0, `total_invoice_amount` = 126, `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582019;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 235 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582019 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 236 - 2025-04-11 18:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 582019, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 237 - 2025-04-11 18:04:46 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-420-582019957', `invoice`.`updated_at` = '2025-04-11 18:04:46' where `id` = 582019;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 238 - 2025-04-11 18:04:46 [0.19ms] */
select * from `invoice` where `id` = 582019 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 239 - 2025-04-11 18:04:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"126.00","outstanding_balance":"126.00","discounts":"0.00","total_invoice_amount":"126.00","invoice_number":"INV-420-582019957","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 582019, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 240 - 2025-04-11 18:04:46 [0.21ms] */
update `transaction` set `party_vehicle_id` = 31878, `vehicle_tax_id` = 484001, `invoice_id` = 582019, `transaction`.`updated_at` = '2025-04-11 18:04:46' where `id` = 607945;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 241 - 2025-04-11 18:04:46 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 85666 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 242 - 2025-04-11 18:04:46 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 243 - 2025-04-11 18:04:46 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 244 - 2025-04-11 18:04:46 [0.27ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (53660, 2, 85666, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 245 - 2025-04-11 18:04:46 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607946, 'INITIATED', '2025-04-11 18:04:46', 5, 90, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 246 - 2025-04-11 18:04:46 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 247 - 2025-04-11 18:04:46 [0.22ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'KS5-31878-309', 85666, 99, 53660, 31878, 607946, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 248 - 2025-04-11 18:04:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 484002 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 249 - 2025-04-11 18:04:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"KS5-31878-309","tax_sticker_id":null,"vehicle_id":85666,"term_id":99,"party_id":53660,"transaction_id":607946,"party_vehicle_id":31878,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 484002, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 250 - 2025-04-11 18:04:46 [0.25ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 251 - 2025-04-11 18:04:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 15 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 15 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 252 - 2025-04-11 18:04:46 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 253 - 2025-04-11 18:04:46 [0.21ms] */
select * from `party` where `party`.`id` = 53660 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 254 - 2025-04-11 18:04:46 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607946, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 53660, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 255 - 2025-04-11 18:04:46 [0.21ms] */
select * from `invoice` where `id` = 582020 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 256 - 2025-04-11 18:04:46 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607946,"party_id":53660,"invoice_amount":"0.00","invoice_date":"2024-06-01 00:00:00","due_date":"2024-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 90, 'App\Models\User', 582020, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 257 - 2025-04-11 18:04:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 25-36 TANS', '25-36 TANS Quarterly Tax', 1, 118.00, 118.00, 582020, 90, 90, '2025-04-11 18:04:46', '2025-04-11 18:04:46');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 258 - 2025-04-11 18:04:46 [0.17ms] */
