select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:26:17 [0.67ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:26:17 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:26:18 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:26:18 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:26:18 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:26:18 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:26:18 [0.32ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:26:18 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:26:18 [0.25ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 42200 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:26:18 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:26:18 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:26:18 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:26:18 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:26:19 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:26:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:26:19 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:26:19 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:26:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:26:19 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:26:19 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:31:04 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:31:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:31:04 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:31:04 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:31:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:31:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:31:04 [0.34ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UC240' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:31:04 [0.16ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:31:04 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:31:04 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:31:05 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:31:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:31:05 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:31:05 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:31:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:31:05 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:31:05 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:31:05 [0.16ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:31:05 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:31:05 [0.28ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 42200 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:31:05 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:31:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:31:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:31:05 [0.18ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:31:05 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:31:05 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:31:05 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:31:06 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:31:06 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:31:06 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:31:06 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:31:06 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:31:06 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:31:06 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:36:40 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:36:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:36:40 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:36:40 [0.18ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:36:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:36:40 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:36:40 [0.5ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UC240' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:36:40 [0.27ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:36:40 [0.24ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:36:40 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:36:40 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:36:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:36:40 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:36:40 [0.26ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:36:40 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:36:40 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:36:40 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:36:40 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:36:40 [0.19ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:36:40 [0.27ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 42200 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:36:41 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:36:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:36:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:36:41 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:36:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:36:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:36:41 [0.27ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:36:41 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:36:41 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:36:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:36:41 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:36:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:36:41 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:36:41 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 08:39:32 [1.47ms] */
select * from `users` where `email` = 'mahamed.nuur@puntulandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 08:40:02 [1.39ms] */
select * from `users` where `email` = 'mahamed.nuur@puntulandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 08:40:19 [1.49ms] */
select * from `users` where `email` = 'mahamed.nuur@puntulandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 08:41:44 [1.61ms] */
select * from `users` where `email` = 'mahamed.nuur@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 08:41:44 [0.43ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 08:41:44 [0.36ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 157 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 08:41:44 [14.57ms] */
update `userprofiles` set `last_ip` = '102.223.188.30', `login_count` = 12, `last_login` = '2025-06-27 08:41:44', `userprofiles`.`updated_at` = '2025-06-27 08:41:44' where `id` = 157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 08:41:44 [0.49ms] */
select * from `users` where `email` = 'mahamed.nuur@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 08:41:44 [0.7ms] */
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/api/login
   Query 7 - 2025-06-27 08:41:44 [0.52ms] */
select `id`, `name`, `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` in (157) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 08:41:44 [0.15ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 08:41:44 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 08:41:44 [0.15ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 08:41:44 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 08:41:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 08:41:44 [3.25ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696', 157, 5, '[]', 0, '2025-06-27 08:41:44', '2025-06-27 08:41:44', '2026-06-27 08:41:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 08:41:44 [0.37ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 08:41:44 [3.02ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:43:00 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:43:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:43:00 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:43:00 [0.29ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:43:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:43:00 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:43:00 [0.6ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'M1114' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:43:00 [0.26ms] */
select * from `vehicle` where `license_plate` = 'M1114' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:43:09 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:43:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:43:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:43:09 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:43:09 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:43:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:43:09 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'M1114' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:43:09 [0.16ms] */
select * from `vehicle` where `license_plate` = 'M1114' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:43:24 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:43:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:43:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:43:24 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:43:24 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:43:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:43:24 [1.14ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'M3114' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:43:24 [0.66ms] */
select * from `party` where `party`.`id` = 53493 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:43:24 [0.88ms] */
select * from `vehicle` where `id` = 85240 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:43:24 [0.63ms] */
select * from `party_vehicle` where `vehicle_id` = 85240 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:43:54 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:43:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:43:54 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:43:54 [0.16ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:43:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:43:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:43:54 [0.85ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'E214' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:43:54 [0.61ms] */
select * from `party` where `party`.`id` = 25645 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:43:54 [0.42ms] */
select * from `vehicle` where `id` = 37132 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:43:54 [0.47ms] */
select * from `party_vehicle` where `vehicle_id` = 37132 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:44:02 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:44:02 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:44:02 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:44:02 [0.31ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:44:02 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:44:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:44:02 [0.76ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'E244' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:44:02 [0.24ms] */
select * from `party` where `party`.`id` = 27912 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:44:02 [0.21ms] */
select * from `vehicle` where `id` = 39081 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:44:02 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 39081 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:44:03 [1.93ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:44:03 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:44:03 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:44:03 [0.36ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:44:03 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:44:03 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:44:03 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 39081 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:44:03 [0.22ms] */
select * from `vehicle` where `id` = 39081 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:44:03 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 39081 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:44:03 [0.9ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 39081 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:44:04 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:44:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:44:04 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:44:04 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:44:04 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:44:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:44:04 [0.16ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:44:04 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:44:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:44:04 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:44:04 [0.16ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:44:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:44:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:44:04 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:46:40 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:46:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:46:40 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:46:40 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:46:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:46:40 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:46:40 [0.77ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'E242' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:46:40 [0.25ms] */
select * from `party` where `party`.`id` = 27770 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:46:40 [0.24ms] */
select * from `vehicle` where `id` = 38973 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:46:40 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 38973 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:46:46 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:46:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:46:46 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:46:46 [0.19ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:46:46 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '42af5b71ff0a3b07786e2dbe11acfd3a04d2711322df3a42f2f60216916343fc107288a82e0ac696' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:46:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:46:46 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'E242' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:46:46 [0.16ms] */
select * from `party` where `party`.`id` = 27770 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:46:46 [0.16ms] */
select * from `vehicle` where `id` = 38973 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:46:46 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 38973 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:49:24 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:49:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:49:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:49:24 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:49:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:49:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:49:24 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UC240' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:49:24 [0.15ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:49:24 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:49:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:49:25 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:49:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:49:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:49:25 [0.18ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:49:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:49:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:49:25 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:49:25 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:49:25 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:49:25 [0.26ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 42200 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:49:25 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:49:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:49:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:49:25 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:49:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:49:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:49:25 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:49:26 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:49:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:49:26 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:49:26 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:49:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:49:26 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:49:26 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:50:14 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:50:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:50:14 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:50:14 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:50:14 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:50:14 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:50:14 [0.34ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UC240' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:50:14 [0.16ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:50:14 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:50:14 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:50:15 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:50:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:50:15 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:50:15 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:50:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:50:15 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:50:15 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:50:15 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:50:15 [0.19ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:50:15 [0.27ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 42200 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:50:15 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:50:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:50:15 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:50:15 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:50:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:50:15 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:50:15 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:50:16 [1.24ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:50:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:50:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:50:16 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:50:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:50:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:50:16 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:51:22 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:51:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:51:22 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:51:22 [0.18ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:51:22 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:51:22 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:51:22 [0.34ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'UC240' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:51:22 [0.17ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:51:22 [0.16ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:51:22 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 08:51:23 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:51:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:51:23 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:51:23 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 08:51:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:51:23 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:51:23 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:51:23 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:51:23 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 08:51:23 [0.26ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 42200 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 08:51:24 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:51:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:51:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:51:24 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 08:51:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:51:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:51:24 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:51:24 [1.24ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:51:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:51:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:51:24 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 08:51:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:51:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:51:24 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 08:52:41 [1.36ms] */
select * from `users` where `email` = 'mahamed.nuur@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 08:52:41 [0.18ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 08:52:41 [0.41ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 157 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 08:52:41 [11.01ms] */
update `userprofiles` set `login_count` = 13, `last_login` = '2025-06-27 08:52:41', `userprofiles`.`updated_at` = '2025-06-27 08:52:41' where `id` = 157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 08:52:41 [0.32ms] */
select * from `users` where `email` = 'mahamed.nuur@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 08:52:41 [0.7ms] */
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/api/login
   Query 7 - 2025-06-27 08:52:41 [0.34ms] */
select `id`, `name`, `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` in (157) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 08:52:41 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 08:52:41 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 08:52:41 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 08:52:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 08:52:41 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 08:52:41 [3.14ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('d4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec', 157, 5, '[]', 0, '2025-06-27 08:52:41', '2025-06-27 08:52:41', '2026-06-27 08:52:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 08:52:41 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 08:52:41 [2.89ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:52:58 [1.49ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:52:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:52:58 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:52:58 [0.16ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:52:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:52:58 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:52:58 [0.64ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RC15O' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:52:58 [0.25ms] */
select * from `vehicle` where `license_plate` = 'RC15O' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:53:12 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:53:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:53:12 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:53:12 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:53:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:53:12 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:53:12 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RC15O' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:53:12 [0.17ms] */
select * from `vehicle` where `license_plate` = 'RC15O' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:54:42 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:54:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:54:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:54:42 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:54:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:54:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:54:42 [0.78ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RC150' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:54:42 [0.24ms] */
select * from `party` where `party`.`id` = 39184 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:54:42 [0.25ms] */
select * from `vehicle` where `id` = 58616 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:54:42 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 58616 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:57:45 [1.47ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:57:45 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:57:45 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:57:45 [0.19ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:57:45 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:57:45 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:57:45 [0.43ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RC150' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:57:45 [0.17ms] */
select * from `party` where `party`.`id` = 39184 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:57:45 [0.17ms] */
select * from `vehicle` where `id` = 58616 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:57:45 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 58616 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:58:18 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:58:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:58:18 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:58:18 [0.18ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 08:58:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'd4cb71e02f6f41b5ca045759e36f588438f4aea1ce700ff1ea63dde684de05bd9199813a58f442ec' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:58:18 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:58:18 [0.34ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RC150' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 08:58:18 [0.16ms] */
select * from `party` where `party`.`id` = 39184 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:58:18 [0.16ms] */
select * from `vehicle` where `id` = 58616 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:58:18 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 58616 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-27 08:59:30 [1.46ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-27 08:59:30 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-06-27 08:59:30 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-27 08:59:30 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-06-27 08:59:30 [0.3ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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.update-vehicle-component
   Query 1 - 2025-06-27 08:59:35 [1.38ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 2 - 2025-06-27 08:59:35 [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.update-vehicle-component
   Query 3 - 2025-06-27 08:59:35 [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/service.update-vehicle-component
   Query 4 - 2025-06-27 08:59:35 [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/service.update-vehicle-component
   Query 5 - 2025-06-27 08:59:35 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 6 - 2025-06-27 08:59:35 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 7 - 2025-06-27 08:59:35 [0.47ms] */
select * from `transaction` where `vehicle_id` = 42200 and `service_id` in (7, 1) and `status` = 'END' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 8 - 2025-06-27 08:59:35 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 9 - 2025-06-27 08:59:35 [0.18ms] */
select * from `transaction` where `vehicle_id` = 42200 and `service_id` = 8 and `status` not in ('END', 'CANCELED') and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-06-27 08:59:35 [1.31ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-27 08:59:35 [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/vehicle.create-vehicle-component
   Query 3 - 2025-06-27 08:59:35 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 4 - 2025-06-27 08:59:35 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 5 - 2025-06-27 08:59:35 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 20, 16, 11, 12, 13, 17, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-27 08:59:35 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 1, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-06-27 08:59:35 [0.22ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 8 - 2025-06-27 08:59:35 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (38, 2, 1, 3, 4, 28, 5, 6, 7, 8, 9, 10, 36, 30, 34, 11, 12, 32, 13, 14, 35, 15, 16, 17, 18, 19, 31, 20, 21, 37, 22, 23, 24, 25, 26, 29, 33);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 9 - 2025-06-27 08:59:35 [0.27ms] */
select * from `vehicle` where `id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 10 - 2025-06-27 08:59:35 [0.14ms] */
select * from `service` where `name` = 'UpdateVehicle' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 11 - 2025-06-27 08:59:35 [0.12ms] */
select * from `subcategory_service` where `service_id` = 8;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 12 - 2025-06-27 08:59:35 [0.2ms] */
select * from `sub_category` where `id` = 12 and 1 = 1 and `migration_id` is null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 13 - 2025-06-27 08:59:35 [0.13ms] */
select * from `service` where `name` = 'UpdateVehicle' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 14 - 2025-06-27 08:59:35 [0.12ms] */
select * from `subcategory_service` where `service_id` = 8;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 15 - 2025-06-27 08:59:35 [0.14ms] */
select * from `sub_category` where 1 = 1 and `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 16 - 2025-06-27 08:59:35 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 17 - 2025-06-27 08:59:35 [0.16ms] */
select * from `vehicle_color` where `vehicle_color`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 18 - 2025-06-27 08:59:35 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-06-27 08:59:36 [1.33ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 2 - 2025-06-27 08:59:36 [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-make-model-component
   Query 3 - 2025-06-27 08:59:36 [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-make-model-component
   Query 4 - 2025-06-27 08:59:36 [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/config.select-make-model-component
   Query 5 - 2025-06-27 08:59:36 [0.35ms] */
select * from `make` where `make`.`id` in (2, 3, 98, 4, 5, 77, 6, 7, 90, 8, 9, 92, 10, 11, 12, 13, 14, 15, 16, 86, 17, 18, 19, 20, 21, 22, 23, 1, 24, 25, 26, 27, 80, 28, 97, 29, 30, 31, 32, 88, 85, 33, 34, 35, 36, 91, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 79, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 99, 78, 75, 76, 89);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-06-27 08:59:36 [0.16ms] */
select * from `model` where `id` = 1440 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 7 - 2025-06-27 08:59:36 [0.2ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 8 - 2025-06-27 08:59:36 [0.28ms] */
select * from `model` where `make_id` = 74 and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-06-27 08:59:41 [1.3ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-27 08:59:41 [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/vehicle.create-vehicle-component
   Query 3 - 2025-06-27 08:59:41 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 4 - 2025-06-27 08:59:41 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 5 - 2025-06-27 08:59:41 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 20, 16, 11, 12, 13, 17, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-27 08:59:41 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 1, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-06-27 08:59:41 [0.22ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 8 - 2025-06-27 08:59:41 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (38, 2, 1, 3, 4, 28, 5, 6, 7, 8, 9, 10, 36, 30, 34, 11, 12, 32, 13, 14, 35, 15, 16, 17, 18, 19, 31, 20, 21, 37, 22, 23, 24, 25, 26, 29, 33);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 9 - 2025-06-27 08:59:41 [0.18ms] */
select * from `vehicle` where `id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 10 - 2025-06-27 08:59:41 [6.74ms] */
update `vehicle` set `sub_category_id` = 13, `vehicle`.`updated_at` = '2025-06-27 08:59:41' where `id` = 42200;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 11 - 2025-06-27 08:59:41 [0.24ms] */
select * from `vehicle` where `id` = 42200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 12 - 2025-06-27 08:59:41 [3.36ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"sub_category_id":13},"old":{"sub_category_id":12}}', 137, 'App\Models\User', 42200, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-06-27 08:59:41', '2025-06-27 08:59:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 13 - 2025-06-27 08:59:41 [3.52ms] */
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 ('{"sub_category_id":12}', '{"sub_category_id":"13"}', 'updated', 42200, 'Modules\Vehicle\Entities\Vehicle', 137, 'App\Models\User', null, '102.223.190.17', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component', '2025-06-27 08:59:41', '2025-06-27 08:59:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 1 - 2025-06-27 08:59:41 [1.29ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 2 - 2025-06-27 08:59:42 [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.update-vehicle-component
   Query 3 - 2025-06-27 08:59:42 [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.update-vehicle-component
   Query 4 - 2025-06-27 08:59:42 [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.update-vehicle-component
   Query 5 - 2025-06-27 08:59:42 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 6 - 2025-06-27 08:59:42 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 7 - 2025-06-27 08:59:42 [0.18ms] */
select * from `transaction` where `vehicle_id` = 42200 and `service_id` = 8 and `status` not in ('END', 'CANCELED') and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 1 - 2025-06-27 08:59:42 [1.28ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 2 - 2025-06-27 08:59:42 [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/vehicle.vehicle-history-component
   Query 3 - 2025-06-27 08:59:42 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 4 - 2025-06-27 08:59:42 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-06-27 08:59:42 [1.36ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 2 - 2025-06-27 08:59:42 [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-make-model-component
   Query 3 - 2025-06-27 08:59:42 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 4 - 2025-06-27 08:59: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/vehicle.vehicle-history-component
   Query 5 - 2025-06-27 08:59:42 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 6 - 2025-06-27 08:59:42 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 7 - 2025-06-27 08:59:42 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 8 - 2025-06-27 08:59:42 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 9 - 2025-06-27 08:59:42 [0.43ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 42200 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 10 - 2025-06-27 08:59:42 [0.27ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 85798 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 11 - 2025-06-27 08:59:42 [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/vehicle.vehicle-history-component
   Query 12 - 2025-06-27 08:59:42 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 13 - 2025-06-27 08:59:42 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 14 - 2025-06-27 08:59:42 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 15 - 2025-06-27 08:59:42 [0.29ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 42200 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 16 - 2025-06-27 08:59:42 [0.29ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 85798 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 17 - 2025-06-27 08:59:42 [0.26ms] */
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/vehicle.vehicle-history-component
   Query 18 - 2025-06-27 08:59:42 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 19 - 2025-06-27 08:59:42 [0.27ms] */
select * from `model` where `model`.`id` = 1440 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 20 - 2025-06-27 08:59:42 [0.27ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 21 - 2025-06-27 08:59:42 [0.26ms] */
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 22 - 2025-06-27 08:59:42 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 23 - 2025-06-27 08:59:42 [0.26ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 24 - 2025-06-27 08:59:42 [0.26ms] */
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/config.select-make-model-component
   Query 5 - 2025-06-27 08:59:42 [0.49ms] */
select * from `model` where `model`.`id` in (1283, 1284, 1285, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1315, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1316, 1317, 1318, 1319, 1320, 1321, 1538, 1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 4386, 1335, 1336, 1337, 1288, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 4380, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1365, 1366, 1367, 1368, 1622, 1287, 1369, 1370, 1371, 1372, 1373, 1374, 1620, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 4369, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 4367, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1286, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1282, 1539, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 4387, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1364, 1454, 1455, 4371, 1456, 1457, 1458, 1459, 1460, 1461);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 25 - 2025-06-27 08:59:42 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 42200 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 26 - 2025-06-27 08:59:42 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-06-27 08:59:42 [0.28ms] */
select * from `make` where `make`.`id` in (2, 3, 98, 4, 5, 77, 6, 7, 90, 8, 9, 92, 10, 11, 12, 13, 14, 15, 16, 86, 17, 18, 19, 20, 21, 22, 23, 1, 24, 25, 26, 27, 80, 28, 97, 29, 30, 31, 32, 88, 85, 33, 34, 35, 36, 91, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 79, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 99, 78, 75, 76, 89);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 7 - 2025-06-27 08:59:42 [0.21ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 8 - 2025-06-27 08:59:42 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 1 - 2025-06-27 08:59:42 [2.05ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 2 - 2025-06-27 08:59:42 [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/vehicle.vehicle-history-component
   Query 3 - 2025-06-27 08:59:42 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 4 - 2025-06-27 08:59:42 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 5 - 2025-06-27 08:59:42 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 6 - 2025-06-27 08:59:42 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 7 - 2025-06-27 08:59:42 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 8 - 2025-06-27 08:59:42 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 9 - 2025-06-27 08:59:42 [0.15ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 42200 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 10 - 2025-06-27 08:59:42 [0.14ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 85798 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 11 - 2025-06-27 08:59:42 [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/vehicle.vehicle-history-component
   Query 12 - 2025-06-27 08:59:42 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 13 - 2025-06-27 08:59:42 [0.15ms] */
select * from `model` where `model`.`id` = 1440 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 14 - 2025-06-27 08:59:42 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 15 - 2025-06-27 08:59:42 [0.14ms] */
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 16 - 2025-06-27 08:59:42 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 17 - 2025-06-27 08:59:42 [0.16ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 18 - 2025-06-27 08:59:42 [0.14ms] */
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 19 - 2025-06-27 08:59:42 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 42200 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 20 - 2025-06-27 08:59:42 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 1 - 2025-06-27 08:59:43 [2.01ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 2 - 2025-06-27 08:59:43 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 3 - 2025-06-27 08:59:43 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 4 - 2025-06-27 08:59:43 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 5 - 2025-06-27 08:59:43 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 6 - 2025-06-27 08:59:43 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 7 - 2025-06-27 08:59:43 [0.4ms] */
select * from `service_fee` where (`sub_category_id` = 13 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.update-vehicle-component
   Query 8 - 2025-06-27 08:59:43 [0.14ms] */
select * from `service_workflow` where `service_id` = 8 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 9 - 2025-06-27 08:59:43 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 10 - 2025-06-27 08:59:43 [0.18ms] */
select * from `transaction` where `vehicle_id` = 42200 and `service_id` = 8 and `status` not in ('END', 'CANCELED') and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-27 08:59:44 [1.45ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-27 08:59:44 [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/workflow.workflow-checklist-component
   Query 3 - 2025-06-27 08:59:44 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-27 08:59:44 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-06-27 08:59:44 [0.34ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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-06-27 08:59:44 [0.22ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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-06-27 08:59:54 [2.1ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-27 08:59:54 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-06-27 08:59:54 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-27 08:59:54 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-06-27 08:59:54 [0.28ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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.update-vehicle-component
   Query 1 - 2025-06-27 08:59:54 [2.03ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 2 - 2025-06-27 08:59:54 [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/service.update-vehicle-component
   Query 3 - 2025-06-27 08:59:54 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 4 - 2025-06-27 08:59:54 [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/service.update-vehicle-component
   Query 5 - 2025-06-27 08:59:54 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 6 - 2025-06-27 08:59:54 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 7 - 2025-06-27 08:59:54 [0.21ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 8 - 2025-06-27 08:59:54 [0.25ms] */
select * from `service_workflow` where ((`service_id` = 8)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 9 - 2025-06-27 08:59:54 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 10 - 2025-06-27 08:59:54 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 11 - 2025-06-27 08:59:54 [0.25ms] */
select * from `branches` where `branches`.`id` = 14 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 12 - 2025-06-27 08:59:54 [0.67ms] */
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 (null, 8, 42200, null, 8, 33, 14, 37, 37, 'INPROGRESS', null, null, 137, 137, '2025-06-27 08:59:54', '2025-06-27 08:59:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 13 - 2025-06-27 08:59:54 [0.34ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638283, 'INITIATED', '2025-06-27 08:59:54', 5, 137, 137, 137, '2025-06-27 08:59:54', '2025-06-27 08:59:54');
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 1 - 2025-06-27 08:59:55 [1.43ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 2 - 2025-06-27 08:59:55 [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/mytrn
   Query 3 - 2025-06-27 08:59:55 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 4 - 2025-06-27 08:59:55 [0.62ms] */
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-06-27 08:59:55 [9.33ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 137 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-06-27 08:59:55 [8.29ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 137 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-06-27 08:59:55 [0.17ms] */
select * from `region` where `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 8 - 2025-06-27 08:59:55 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 9 - 2025-06-27 08:59:55 [0.13ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 10 - 2025-06-27 08:59:55 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 11 - 2025-06-27 08:59:55 [0.61ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 12 - 2025-06-27 08:59:55 [0.57ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 13 - 2025-06-27 08:59:55 [0.66ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 14 - 2025-06-27 08:59:55 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 15 - 2025-06-27 08:59:55 [0.28ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 16 - 2025-06-27 08:59:55 [0.68ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 17 - 2025-06-27 08:59:55 [0.67ms] */
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 18 - 2025-06-27 08:59:55 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 19 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 20 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 21 - 2025-06-27 08:59:55 [0.14ms] */
select * from `party` where `party`.`id` = 56889 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 22 - 2025-06-27 08:59:55 [0.14ms] */
select * from `company` where `company`.`id` = 1176 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 23 - 2025-06-27 08:59:55 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 24 - 2025-06-27 08:59:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 25 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 26 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 27 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 28 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 29 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 30 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 31 - 2025-06-27 08:59:55 [0.13ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 32 - 2025-06-27 08:59:55 [0.15ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 33 - 2025-06-27 08:59:55 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 34 - 2025-06-27 08:59:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 35 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 36 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 37 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 38 - 2025-06-27 08:59:55 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 39 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 40 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 41 - 2025-06-27 08:59:55 [0.13ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 42 - 2025-06-27 08:59:55 [0.14ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 43 - 2025-06-27 08:59:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 44 - 2025-06-27 08:59:55 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 45 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 46 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 47 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 48 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 49 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 50 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 51 - 2025-06-27 08:59:55 [0.13ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 52 - 2025-06-27 08:59:55 [0.14ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 53 - 2025-06-27 08:59:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 54 - 2025-06-27 08:59:55 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 55 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 56 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 57 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 58 - 2025-06-27 08:59:55 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 59 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 60 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 61 - 2025-06-27 08:59:55 [0.13ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 62 - 2025-06-27 08:59:55 [0.14ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 63 - 2025-06-27 08:59:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 64 - 2025-06-27 08:59:55 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 65 - 2025-06-27 08:59:55 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 66 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 67 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 68 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 69 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 70 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 71 - 2025-06-27 08:59:55 [0.13ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 72 - 2025-06-27 08:59:55 [0.14ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 73 - 2025-06-27 08:59:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 74 - 2025-06-27 08:59:55 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 75 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 76 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 77 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 78 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 79 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 80 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 81 - 2025-06-27 08:59:55 [0.13ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 82 - 2025-06-27 08:59:55 [0.14ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 83 - 2025-06-27 08:59:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 84 - 2025-06-27 08:59:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 85 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 86 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 87 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 88 - 2025-06-27 08:59:55 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 89 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 90 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 91 - 2025-06-27 08:59:55 [0.14ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 92 - 2025-06-27 08:59:55 [0.17ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 93 - 2025-06-27 08:59:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 94 - 2025-06-27 08:59:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 95 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 96 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 97 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 98 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 99 - 2025-06-27 08:59:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 100 - 2025-06-27 08:59:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 101 - 2025-06-27 08:59:55 [0.35ms] */
select * from `party` where `party`.`id` = 53492 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 102 - 2025-06-27 08:59:55 [0.33ms] */
select * from `person` where `person`.`id` = 53492 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 103 - 2025-06-27 08:59:55 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 91887 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 104 - 2025-06-27 08:59:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 105 - 2025-06-27 08:59:55 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 106 - 2025-06-27 08:59:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 107 - 2025-06-27 08:59:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 108 - 2025-06-27 08:59:55 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 109 - 2025-06-27 08:59:55 [0.13ms] */
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-06-27 08:59:59 [2.54ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 2 - 2025-06-27 08:59:59 [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/logout
   Query 3 - 2025-06-27 08:59:59 [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/logout
   Query 4 - 2025-06-27 08:59:59 [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-06-27 09:00:04 [1.57ms] */
select * from `users` where `email` = 'nugaalcheckpoints.officer@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 2 - 2025-06-27 09:00:04 [0.45ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 3 - 2025-06-27 09:00:04 [0.38ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 104 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-06-27 09:00:04 [11.61ms] */
update `userprofiles` set `last_ip` = '102.223.190.17', `login_count` = 1348, `last_login` = '2025-06-27 09:00:04', `userprofiles`.`updated_at` = '2025-06-27 09:00:04' where `id` = 104;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 5 - 2025-06-27 09:00:04 [0.82ms] */
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-06-27 09:00:04 [0.78ms] */
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-06-27 09:00:04 [0.51ms] */
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-06-27 09:00:05 [1.38ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-06-27 09:00:05 [0.47ms] */
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-06-27 09:00:05 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 4 - 2025-06-27 09:00:05 [0.71ms] */
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-06-27 09:00:05 [0.22ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-06-27 09:00:05 [0.14ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-06-27' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-06-27 09:00:05 [18.55ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-06-27 09:00:05 [30.31ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-06-27' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-06-27 09:00:05 [1.68ms] */
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-06-26' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-06-27 09:00:05 [0.93ms] */
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-06-26' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-06-27 09:00:05 [443.31ms] */
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-06-27' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-06-27 09:00:07 [2141.92ms] */
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-06-27' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-06-27 09:00:07 [0.28ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-06-27 09:00:07 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 1 - 2025-06-27 09:00:10 [2.34ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 2 - 2025-06-27 09:00:10 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 3 - 2025-06-27 09:00:10 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 4 - 2025-06-27 09:00:10 [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/w/wkflw
   Query 5 - 2025-06-27 09:00:10 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 6 - 2025-06-27 09:00:10 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 7 - 2025-06-27 09:00:10 [0.41ms] */
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` = 104 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 8 - 2025-06-27 09:00:10 [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` = 104 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-06-27 09:00:10 [13.53ms] */
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` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-06-27 09:00:10 [7.78ms] */
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` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 11 - 2025-06-27 09:00:10 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 12 - 2025-06-27 09:00:10 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 13 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 14 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 15 - 2025-06-27 09:00:10 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 16 - 2025-06-27 09:00:10 [0.15ms] */
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/w/wkflw
   Query 17 - 2025-06-27 09:00:10 [0.41ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 638283 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 18 - 2025-06-27 09:00:10 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 19 - 2025-06-27 09:00:10 [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
   Query 20 - 2025-06-27 09:00:10 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 21 - 2025-06-27 09:00:10 [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 22 - 2025-06-27 09:00:10 [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 23 - 2025-06-27 09:00:10 [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/w/wkflw
   Query 24 - 2025-06-27 09:00:10 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 77877 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 25 - 2025-06-27 09:00:10 [0.25ms] */
select * from `party` where `party`.`id` = 48208 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 26 - 2025-06-27 09:00:10 [0.29ms] */
select * from `person` where `person`.`id` = 48208 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 27 - 2025-06-27 09:00:10 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 64854 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 28 - 2025-06-27 09:00:10 [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 29 - 2025-06-27 09:00:10 [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 30 - 2025-06-27 09:00:10 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 637702 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 31 - 2025-06-27 09:00:10 [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): GET https://rta2.puntlandgov.org/w/wkflw
   Query 32 - 2025-06-27 09:00:10 [0.13ms] */
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 33 - 2025-06-27 09:00:10 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 637702 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 34 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 35 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 36 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 37 - 2025-06-27 09:00:10 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 82333 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 38 - 2025-06-27 09:00:10 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 39 - 2025-06-27 09:00:10 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 637631 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 40 - 2025-06-27 09:00:10 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 41 - 2025-06-27 09:00:10 [0.14ms] */
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 42 - 2025-06-27 09:00:10 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 637631 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 43 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 44 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 45 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 46 - 2025-06-27 09:00:10 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 35609 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 47 - 2025-06-27 09:00:10 [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 48 - 2025-06-27 09:00:10 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 637082 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 49 - 2025-06-27 09:00:10 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 50 - 2025-06-27 09:00:10 [0.14ms] */
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 51 - 2025-06-27 09:00:10 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 637082 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 52 - 2025-06-27 09:00:10 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 53 - 2025-06-27 09:00:10 [0.18ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 54 - 2025-06-27 09:00:10 [0.19ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 55 - 2025-06-27 09:00:10 [0.23ms] */
select * from `party` where `party`.`id` = 66455 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-06-27 09:00:10 [0.25ms] */
select * from `person` where `person`.`id` = 63790 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 57 - 2025-06-27 09:00:10 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 636775 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 58 - 2025-06-27 09:00:10 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 59 - 2025-06-27 09:00:10 [0.13ms] */
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 60 - 2025-06-27 09:00:10 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 636775 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 61 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 62 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 63 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 64 - 2025-06-27 09:00:10 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 77080 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 65 - 2025-06-27 09:00:10 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 66 - 2025-06-27 09:00:10 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 636480 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 67 - 2025-06-27 09:00:10 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 68 - 2025-06-27 09:00:10 [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 69 - 2025-06-27 09:00:10 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 636480 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 70 - 2025-06-27 09:00:10 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 71 - 2025-06-27 09:00:10 [0.22ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 72 - 2025-06-27 09:00:10 [0.27ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 73 - 2025-06-27 09:00:10 [0.37ms] */
select * from `party` where `party`.`id` = 66421 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 74 - 2025-06-27 09:00:10 [0.4ms] */
select * from `person` where `person`.`id` = 63756 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 75 - 2025-06-27 09:00:10 [0.52ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 636142 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 76 - 2025-06-27 09:00:10 [0.31ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 77 - 2025-06-27 09:00:10 [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 78 - 2025-06-27 09:00:10 [0.35ms] */
select * from `transaction_workflow` where `transaction_id` = 636142 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 79 - 2025-06-27 09:00:10 [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 80 - 2025-06-27 09:00:10 [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 81 - 2025-06-27 09:00:10 [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 82 - 2025-06-27 09:00:10 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 37353 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 83 - 2025-06-27 09:00:10 [0.28ms] */
select * from `party` where `party`.`id` = 55745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 84 - 2025-06-27 09:00:10 [0.28ms] */
select * from `company` where `company`.`id` = 32 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 85 - 2025-06-27 09:00:10 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 17514 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 86 - 2025-06-27 09:00:10 [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 87 - 2025-06-27 09:00:10 [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 88 - 2025-06-27 09:00:10 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 635474 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 89 - 2025-06-27 09:00:10 [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 90 - 2025-06-27 09:00:10 [0.13ms] */
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 91 - 2025-06-27 09:00:10 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 635474 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 92 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 93 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 94 - 2025-06-27 09:00:10 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 95 - 2025-06-27 09:00:10 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 93786 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 96 - 2025-06-27 09:00:10 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 97 - 2025-06-27 09:00:10 [0.32ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 634864 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 98 - 2025-06-27 09:00:10 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 99 - 2025-06-27 09:00:10 [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 100 - 2025-06-27 09:00:10 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 634864 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 101 - 2025-06-27 09:00:10 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 102 - 2025-06-27 09:00:10 [0.14ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-06-27 09:00:10 [0.12ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 104 - 2025-06-27 09:00:10 [0.5ms] */
select * from `party` where `party`.`id` = 66375 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-06-27 09:00:10 [0.45ms] */
select * from `person` where `person`.`id` = 63711 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-06-27 09:00:10 [0.43ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-06-27 09:00:10 [0.47ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 634486 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 108 - 2025-06-27 09:00:10 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 109 - 2025-06-27 09:00:10 [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 110 - 2025-06-27 09:00:10 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 111 - 2025-06-27 09:00:10 [0.15ms] */
select * from `region` where `region`.`id` = 7 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-06-27 09:00:36 [1.91ms] */
select * from `users` where `id` = 104 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-06-27 09:00:36 [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-06-27 09:00:36 [0.59ms] */
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-06-27 09:00:36 [0.65ms] */
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-06-27 09:00:36 [0.5ms] */
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-06-27 09:00:36 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 637702 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-06-27 09:00:36 [0.38ms] */
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-06-27 09:00:36 [0.33ms] */
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-06-27 09:00:36 [0.76ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (637702, 'CLAIMED', '2025-06-27 09:00:36', 6, 104, 104, 104, '2025-06-27 09:00:36', '2025-06-27 09:00:36');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-06-27 09:00:36 [0.72ms] */
update `transaction` set `assigned_to` = 104, `updated_by` = 104, `transaction`.`updated_at` = '2025-06-27 09:00:36' where `id` = 637702;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 1 - 2025-06-27 09:00:36 [2.43ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 2 - 2025-06-27 09:00:36 [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/w/wkflw/637702
   Query 3 - 2025-06-27 09:00:36 [0.62ms] */
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/637702
   Query 4 - 2025-06-27 09:00:36 [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/637702
   Query 5 - 2025-06-27 09:00:36 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 637702 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 6 - 2025-06-27 09:00:36 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 637702 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 7 - 2025-06-27 09:00:36 [0.27ms] */
select * from `invoice` where `transaction_id` = 637702 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 8 - 2025-06-27 09:00:36 [10.17ms] */
select * from `payment_documents` where `transaction_id` = 637702;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 9 - 2025-06-27 09:00:36 [0.29ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 637702 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 10 - 2025-06-27 09:00:36 [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/w/wkflw/637702
   Query 11 - 2025-06-27 09:00:36 [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/637702
   Query 12 - 2025-06-27 09:00:36 [0.15ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 13 - 2025-06-27 09:00:36 [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/637702
   Query 14 - 2025-06-27 09:00:36 [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/637702
   Query 15 - 2025-06-27 09:00:37 [0.26ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 16 - 2025-06-27 09:00:37 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 637702 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 17 - 2025-06-27 09:00:37 [322.93ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 18 - 2025-06-27 09:00:37 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 77877 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 19 - 2025-06-27 09:00:37 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 77877 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 20 - 2025-06-27 09:00:37 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 77877 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 21 - 2025-06-27 09:00:37 [0.66ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 77877 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 22 - 2025-06-27 09:00:37 [0.77ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 64854 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 23 - 2025-06-27 09:00:37 [0.19ms] */
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/637702
   Query 24 - 2025-06-27 09:00:37 [0.3ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 25 - 2025-06-27 09:00:37 [0.31ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 26 - 2025-06-27 09:00:37 [0.31ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 27 - 2025-06-27 09:00:37 [0.29ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 28 - 2025-06-27 09:00:37 [0.3ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 29 - 2025-06-27 09:00:37 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 77877 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 30 - 2025-06-27 09:00:37 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 77877 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 31 - 2025-06-27 09:00:37 [0.17ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 77877 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 32 - 2025-06-27 09:00:37 [0.18ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 64854 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 33 - 2025-06-27 09:00:37 [0.16ms] */
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/637702
   Query 34 - 2025-06-27 09:00:37 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 35 - 2025-06-27 09:00:37 [0.16ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 36 - 2025-06-27 09:00:37 [0.15ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 37 - 2025-06-27 09:00:37 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 38 - 2025-06-27 09:00:37 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 39 - 2025-06-27 09:00:37 [0.14ms] */
select * from `model` where `model`.`id` = 1366 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 40 - 2025-06-27 09:00:37 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 41 - 2025-06-27 09:00:37 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 42 - 2025-06-27 09:00:37 [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/637702
   Query 43 - 2025-06-27 09:00:37 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 44 - 2025-06-27 09:00:37 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 45 - 2025-06-27 09:00:37 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 77877 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/637702
   Query 46 - 2025-06-27 09:00:37 [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/637702
   Query 47 - 2025-06-27 09:00:37 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 637702 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 48 - 2025-06-27 09:00:37 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 49 - 2025-06-27 09:00:37 [0.16ms] */
select * from `party` where `party`.`id` = 48208 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 50 - 2025-06-27 09:00:37 [0.29ms] */
select * from `party` where `party`.`id` = 48208 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 51 - 2025-06-27 09:00:37 [0.18ms] */
select * from `person` where `person`.`id` = 48208 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 52 - 2025-06-27 09:00:37 [1.79ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 48208 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 53 - 2025-06-27 09:00:37 [1.34ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 48208 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 54 - 2025-06-27 09:00:37 [0.41ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 48208 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 55 - 2025-06-27 09:00:37 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 637702 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 56 - 2025-06-27 09:00:37 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 57 - 2025-06-27 09:00:37 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 64854 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 58 - 2025-06-27 09:00:37 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 64854 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 59 - 2025-06-27 09:00:37 [0.48ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 64854 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 60 - 2025-06-27 09:00:37 [0.18ms] */
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/637702
   Query 61 - 2025-06-27 09:00:37 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 62 - 2025-06-27 09:00:37 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 637702 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 63 - 2025-06-27 09:00:37 [0.2ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 64 - 2025-06-27 09:00:37 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 65 - 2025-06-27 09:00:37 [0.24ms] */
select * from `users` where `users`.`id` = 100 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 66 - 2025-06-27 09:00:37 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 67 - 2025-06-27 09:00:37 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 68 - 2025-06-27 09:00:37 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 69 - 2025-06-27 09:00:37 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 70 - 2025-06-27 09:00:37 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 71 - 2025-06-27 09:00:37 [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/637702
   Query 72 - 2025-06-27 09:00:37 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 73 - 2025-06-27 09:00:37 [0.33ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/637702
   Query 74 - 2025-06-27 09:00:37 [0.22ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/dl/transaction/list
   Query 1 - 2025-06-27 09:00:41 [1.38ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/dl/transaction/list
   Query 2 - 2025-06-27 09:00:41 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/dl/transaction/list
   Query 3 - 2025-06-27 09:00:41 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/dl/transaction/list
   Query 4 - 2025-06-27 09:00:41 [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/w/wkflw/dl/transaction/list
   Query 5 - 2025-06-27 09:00:42 [0.28ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/dl/transaction/list
   Query 6 - 2025-06-27 09:00:42 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 1 - 2025-06-27 09:00:42 [2.01ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 2 - 2025-06-27 09:00:42 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 3 - 2025-06-27 09:00:42 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 4 - 2025-06-27 09:00:42 [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/w/wkflw
   Query 5 - 2025-06-27 09:00:42 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 6 - 2025-06-27 09:00:42 [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-06-27 09:00:42 [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` = 104 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 8 - 2025-06-27 09:00:42 [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` = 104 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-06-27 09:00:42 [9.3ms] */
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` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-06-27 09:00:42 [8.01ms] */
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` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 11 - 2025-06-27 09:00:42 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 12 - 2025-06-27 09:00:43 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 13 - 2025-06-27 09:00:43 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 14 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 15 - 2025-06-27 09:00:43 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 16 - 2025-06-27 09:00:43 [0.14ms] */
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/w/wkflw
   Query 17 - 2025-06-27 09:00:43 [0.33ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 638283 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 18 - 2025-06-27 09:00:43 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 19 - 2025-06-27 09:00:43 [0.13ms] */
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 20 - 2025-06-27 09:00:43 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 21 - 2025-06-27 09:00: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): GET https://rta2.puntlandgov.org/w/wkflw
   Query 22 - 2025-06-27 09:00:43 [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 23 - 2025-06-27 09:00:43 [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 24 - 2025-06-27 09:00:43 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 77877 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 25 - 2025-06-27 09:00:43 [0.14ms] */
select * from `party` where `party`.`id` = 48208 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 26 - 2025-06-27 09:00:43 [0.18ms] */
select * from `person` where `person`.`id` = 48208 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 27 - 2025-06-27 09:00:43 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 64854 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 28 - 2025-06-27 09:00:43 [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 29 - 2025-06-27 09:00:43 [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 30 - 2025-06-27 09:00:43 [0.15ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 31 - 2025-06-27 09:00:43 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 637702 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 32 - 2025-06-27 09:00:43 [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 33 - 2025-06-27 09:00:43 [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 34 - 2025-06-27 09:00:43 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 35 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 36 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 37 - 2025-06-27 09:00:43 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 82333 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 38 - 2025-06-27 09:00:43 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 39 - 2025-06-27 09:00:43 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 637631 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 40 - 2025-06-27 09:00:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 41 - 2025-06-27 09:00:43 [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 42 - 2025-06-27 09:00:43 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 637631 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 43 - 2025-06-27 09:00:43 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 44 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 45 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 46 - 2025-06-27 09:00:43 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 35609 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 47 - 2025-06-27 09:00:43 [0.13ms] */
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 48 - 2025-06-27 09:00:43 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 637082 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 49 - 2025-06-27 09:00:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 50 - 2025-06-27 09:00:43 [0.14ms] */
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 51 - 2025-06-27 09:00:43 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 637082 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 52 - 2025-06-27 09:00:43 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 53 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 54 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 55 - 2025-06-27 09:00:43 [0.14ms] */
select * from `party` where `party`.`id` = 66455 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-06-27 09:00:43 [0.14ms] */
select * from `person` where `person`.`id` = 63790 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 57 - 2025-06-27 09:00:43 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 636775 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 58 - 2025-06-27 09:00:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 59 - 2025-06-27 09:00:43 [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 60 - 2025-06-27 09:00:43 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 636775 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 61 - 2025-06-27 09:00:43 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 62 - 2025-06-27 09:00:43 [0.14ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 63 - 2025-06-27 09:00:43 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 64 - 2025-06-27 09:00:43 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 77080 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 65 - 2025-06-27 09:00:43 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 66 - 2025-06-27 09:00:43 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 636480 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 67 - 2025-06-27 09:00:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 68 - 2025-06-27 09:00:43 [0.13ms] */
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 69 - 2025-06-27 09:00:43 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 636480 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 70 - 2025-06-27 09:00:43 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 71 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 72 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 73 - 2025-06-27 09:00:43 [0.14ms] */
select * from `party` where `party`.`id` = 66421 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 74 - 2025-06-27 09:00:43 [0.15ms] */
select * from `person` where `person`.`id` = 63756 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 75 - 2025-06-27 09:00:43 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 636142 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 76 - 2025-06-27 09:00:43 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 77 - 2025-06-27 09:00:43 [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 78 - 2025-06-27 09:00:43 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 636142 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 79 - 2025-06-27 09:00: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): GET https://rta2.puntlandgov.org/w/wkflw
   Query 80 - 2025-06-27 09:00:43 [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 81 - 2025-06-27 09:00: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): GET https://rta2.puntlandgov.org/w/wkflw
   Query 82 - 2025-06-27 09:00:43 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 37353 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 83 - 2025-06-27 09:00:43 [0.13ms] */
select * from `party` where `party`.`id` = 55745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 84 - 2025-06-27 09:00:43 [0.14ms] */
select * from `company` where `company`.`id` = 32 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 85 - 2025-06-27 09:00:43 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 17514 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 86 - 2025-06-27 09:00:43 [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 87 - 2025-06-27 09:00:43 [0.12ms] */
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 88 - 2025-06-27 09:00:43 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 635474 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 89 - 2025-06-27 09:00: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): GET https://rta2.puntlandgov.org/w/wkflw
   Query 90 - 2025-06-27 09:00:43 [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 91 - 2025-06-27 09:00:43 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 635474 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 92 - 2025-06-27 09:00:43 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 93 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 94 - 2025-06-27 09:00:43 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 95 - 2025-06-27 09:00:43 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 93786 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 96 - 2025-06-27 09:00:43 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 97 - 2025-06-27 09:00:43 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 634864 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 98 - 2025-06-27 09:00:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 99 - 2025-06-27 09:00:43 [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 100 - 2025-06-27 09:00:43 [0.52ms] */
select * from `transaction_workflow` where `transaction_id` = 634864 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 101 - 2025-06-27 09:00:43 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 9 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 102 - 2025-06-27 09:00:43 [0.23ms] */
select * from `service` where `service`.`id` = 9 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-06-27 09:00:43 [0.24ms] */
select * from `service` where `service`.`id` = 9 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 104 - 2025-06-27 09:00:43 [0.25ms] */
select * from `party` where `party`.`id` = 66375 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-06-27 09:00:43 [0.27ms] */
select * from `person` where `person`.`id` = 63711 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-06-27 09:00:43 [0.15ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-06-27 09:00:43 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 634486 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 108 - 2025-06-27 09:00:43 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 36 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 109 - 2025-06-27 09:00:43 [0.14ms] */
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 110 - 2025-06-27 09:00:43 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 111 - 2025-06-27 09:00:43 [0.14ms] */
select * from `region` where `region`.`id` = 7 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-06-27 09:00:44 [1.71ms] */
select * from `users` where `id` = 104 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-06-27 09:00:44 [0.67ms] */
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-06-27 09:00:44 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2025-06-27 09:00:44 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2025-06-27 09:00:45 [0.3ms] */
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-06-27 09:00:45 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 638283 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-06-27 09:00:45 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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-06-27 09:00:45 [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-06-27 09:00:45 [0.35ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638283, 'CLAIMED', '2025-06-27 09:00:45', 6, 104, 104, 104, '2025-06-27 09:00:45', '2025-06-27 09:00:45');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-06-27 09:00:45 [0.42ms] */
update `transaction` set `assigned_to` = 104, `updated_by` = 104, `transaction`.`updated_at` = '2025-06-27 09:00:45' where `id` = 638283;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 1 - 2025-06-27 09:00:45 [1.35ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 2 - 2025-06-27 09:00:45 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 3 - 2025-06-27 09:00:45 [0.34ms] */
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/638283
   Query 4 - 2025-06-27 09:00:45 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 5 - 2025-06-27 09:00:45 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 638283 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 6 - 2025-06-27 09:00:45 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 7 - 2025-06-27 09:00:45 [0.28ms] */
select * from `invoice` where `transaction_id` = 638283 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 8 - 2025-06-27 09:00:45 [9.69ms] */
select * from `payment_documents` where `transaction_id` = 638283;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 9 - 2025-06-27 09:00:45 [0.69ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 638283 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 10 - 2025-06-27 09:00:45 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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/638283
   Query 11 - 2025-06-27 09:00:45 [0.14ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 12 - 2025-06-27 09:00:45 [0.15ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 13 - 2025-06-27 09:00:45 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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/638283
   Query 14 - 2025-06-27 09:00:45 [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/638283
   Query 15 - 2025-06-27 09:00:45 [8.96ms] */
select * from `workflow` where `workflow`.`id` = 8 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 16 - 2025-06-27 09:00:45 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 17 - 2025-06-27 09:00:45 [0.62ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 18 - 2025-06-27 09:00:45 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 19 - 2025-06-27 09:00:45 [0.35ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 42200 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 20 - 2025-06-27 09:00:45 [0.3ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 85798 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 21 - 2025-06-27 09:00:45 [0.29ms] */
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/638283
   Query 22 - 2025-06-27 09:00:45 [0.28ms] */
select * from `sub_category` where `sub_category`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 23 - 2025-06-27 09:00:45 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 24 - 2025-06-27 09:00:45 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 25 - 2025-06-27 09:00:45 [0.3ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 42200 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 26 - 2025-06-27 09:00:45 [0.36ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 85798 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 27 - 2025-06-27 09:00:45 [0.13ms] */
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/638283
   Query 28 - 2025-06-27 09:00:45 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 29 - 2025-06-27 09:00:45 [0.15ms] */
select * from `model` where `model`.`id` = 1440 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 30 - 2025-06-27 09:00:45 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 31 - 2025-06-27 09:00:45 [0.13ms] */
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/638283
   Query 32 - 2025-06-27 09:00:45 [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/w/wkflw/638283
   Query 33 - 2025-06-27 09:00:45 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 34 - 2025-06-27 09:00:45 [0.13ms] */
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/638283
   Query 35 - 2025-06-27 09:00:45 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 42200 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/638283
   Query 36 - 2025-06-27 09:00:45 [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/638283
   Query 37 - 2025-06-27 09:00:45 [0.35ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 38 - 2025-06-27 09:00:45 [0.16ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 39 - 2025-06-27 09:00:45 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 40 - 2025-06-27 09:00:45 [0.26ms] */
select * from `users` where `users`.`id` = 137 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 41 - 2025-06-27 09:00:45 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 42 - 2025-06-27 09:00:45 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 43 - 2025-06-27 09:00:45 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 44 - 2025-06-27 09:00:45 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 45 - 2025-06-27 09:00:45 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 46 - 2025-06-27 09:00:45 [0.2ms] */
(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/638283
   Query 47 - 2025-06-27 09:00:45 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 48 - 2025-06-27 09:00:45 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/638283
   Query 49 - 2025-06-27 09:00:45 [0.14ms] */
select * from `region` where `region`.`id` = 7 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-06-27 09:00:47 [1.43ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-06-27 09:00:47 [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/workflow.view-workflow-transaction-component
   Query 3 - 2025-06-27 09:00:47 [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/workflow.view-workflow-transaction-component
   Query 4 - 2025-06-27 09:00:47 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-06-27 09:00:47 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 638283 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-06-27 09:00:47 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` in (8) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-06-27 09:00:47 [0.2ms] */
select * from `service` where `service`.`id` in (8) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-06-27 09:00:47 [0.19ms] */
select * from `workflow` where `workflow`.`id` in (8) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-06-27 09:00:47 [0.23ms] */
select * from `users` where `users`.`id` in (104) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-06-27 09:00:47 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (33) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-06-27 09:00:47 [0.17ms] */
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-06-27 09:00:47 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (42200) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-06-27 09:00:47 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 638283 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-06-27 09:00:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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-06-27 09:00:47 [0.13ms] */
select * from `service` where `service`.`id` = 8 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-06-27 09:00:47 [0.13ms] */
select * from `service` where `service`.`id` = 8 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 17 - 2025-06-27 09:00:47 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 638283 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-06-27 09:00:47 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 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 19 - 2025-06-27 09:00:47 [0.15ms] */
select * from `invoice` where `transaction_id` = 638283 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-06-27 09:00:47 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 638283;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-06-27 09:00:47 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 638283 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 22 - 2025-06-27 09:00:47 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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 23 - 2025-06-27 09:00:47 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-06-27 09:00:47 [0.15ms] */
select * from `users` where `users`.`id` = 104 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 25 - 2025-06-27 09:00:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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 26 - 2025-06-27 09:00:47 [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 27 - 2025-06-27 09:00:47 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 8 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-27 09:00:48 [1.39ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-27 09:00:48 [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-06-27 09:00:48 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-27 09:00:48 [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/workflow.workflow-checklist-component
   Query 5 - 2025-06-27 09:00:48 [0.59ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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-06-27 09:00:48 [0.21ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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-06-27 09:00:51 [2.36ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-27 09:00:51 [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/workflow.workflow-checklist-component
   Query 3 - 2025-06-27 09:00:51 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-27 09:00:51 [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 5 - 2025-06-27 09:00:51 [0.27ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 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-06-27 09:00:51 [1.31ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-06-27 09:00:51 [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/workflow.view-workflow-transaction-component
   Query 3 - 2025-06-27 09:00:51 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-06-27 09:00:51 [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/workflow.view-workflow-transaction-component
   Query 5 - 2025-06-27 09:00:51 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 638283 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-06-27 09:00:51 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (8) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-06-27 09:00:51 [0.14ms] */
select * from `service` where `service`.`id` in (8) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-06-27 09:00:51 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (8) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-06-27 09:00:51 [0.16ms] */
select * from `users` where `users`.`id` in (104) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-06-27 09:00:51 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (33) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-06-27 09:00:51 [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-06-27 09:00:51 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 638283 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-06-27 09:00:51 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 638283 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-06-27 09:00:51 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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-06-27 09:00:51 [0.19ms] */
select * from `service` where `service`.`id` = 8 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-06-27 09:00:51 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 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-06-27 09:00:51 [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-06-27 09:00:51 [0.25ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638283, 'APPROVED', '2025-06-27 09:00:51', 6, 104, null, 104, 104, '2025-06-27 09:00:51', '2025-06-27 09:00:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-06-27 09:00:51 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 8 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-06-27 09:00:51 [0.29ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 34, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 09:00:51' where `id` = 638283;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-06-27 09:00:51 [0.18ms] */
select * from `service` where `service`.`id` = 8 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-06-27 09:00:51 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-06-27 09:00:51 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 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-06-27 09:00:51 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-06-27 09:00:51 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 638283 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-06-27 09:00:51 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 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 27 - 2025-06-27 09:00:51 [0.23ms] */
select * from `invoice` where `transaction_id` = 638283 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-06-27 09:00:51 [13.15ms] */
select * from `payment_documents` where `transaction_id` = 638283;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-06-27 09:00:51 [0.23ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 638283 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-06-27 09:00:51 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-06-27 09:00:51 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-06-27 09:00:52 [1.32ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-06-27 09:00:52 [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/workflow.workflow-history-component
   Query 3 - 2025-06-27 09:00:52 [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/workflow.workflow-history-component
   Query 4 - 2025-06-27 09:00:52 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2025-06-27 09:00:52 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 638283 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2025-06-27 09:00:52 [0.17ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2025-06-27 09:00:52 [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.workflow-history-component
   Query 8 - 2025-06-27 09:00:52 [0.15ms] */
select * from `users` where `users`.`id` = 104 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2025-06-27 09:00:52 [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.workflow-history-component
   Query 10 - 2025-06-27 09:00:52 [0.15ms] */
select * from `users` where `users`.`id` = 137 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2025-06-27 09:00:52 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2025-06-27 09:00:52 [1.55ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-06-27 09:00:52 [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/widgets.workflow-progress-widget
   Query 3 - 2025-06-27 09:00:52 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2025-06-27 09:00:52 [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/widgets.workflow-progress-widget
   Query 5 - 2025-06-27 09:00:52 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 638283 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-06-27 09:00:52 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` in (8) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2025-06-27 09:00:52 [0.18ms] */
select * from `service` where `service`.`id` in (8) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2025-06-27 09:00:52 [0.2ms] */
select * from `workflow` where `workflow`.`id` in (8) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2025-06-27 09:00:52 [0.28ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2025-06-27 09:00:52 [0.32ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (34) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-06-27 09:00:52 [0.33ms] */
select * from `roles` where `roles`.`id` in (9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-06-27 09:00:52 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (42200) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-06-27 09:00:52 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2025-06-27 09:00:52 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-06-27 09:00:52 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-06-27 09:00:52 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 1 - 2025-06-27 09:01:27 [1.38ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 2 - 2025-06-27 09:01:27 [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/transaction.list-transaction-component
   Query 3 - 2025-06-27 09:01:27 [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/transaction.list-transaction-component
   Query 4 - 2025-06-27 09:01:27 [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/transaction.list-transaction-component
   Query 5 - 2025-06-27 09:01:27 [21.09ms] */
select count(*) as aggregate from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `vehicle`.`license_plate` like '%UC24%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-06-27 09:01:27 [18.88ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `vehicle`.`license_plate` like '%UC24%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 7 - 2025-06-27 09:01:27 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (1217, 52080, 85798) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 8 - 2025-06-27 09:01:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 9 - 2025-06-27 09:01:27 [0.28ms] */
select * from `party` where `party`.`id` in (null, 32342, 33564, 37585) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 10 - 2025-06-27 09:01:27 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (42200, 43404, 53169) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 11 - 2025-06-27 09:01:27 [0.18ms] */
select * from `invoice` where `invoice`.`id` in (null, 1217, 52080, 85798, 91325, 413256, 413257, 413258, 465371) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 12 - 2025-06-27 09:01:27 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-06-27 09:01:27 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-06-27 09:01:27 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 15 - 2025-06-27 09:01:27 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 16 - 2025-06-27 09:01:27 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 17 - 2025-06-27 09:01:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 18 - 2025-06-27 09:01:27 [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/transaction.list-transaction-component
   Query 19 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 20 - 2025-06-27 09:01:27 [0.38ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 21 - 2025-06-27 09:01:27 [0.33ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 22 - 2025-06-27 09:01:27 [0.24ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 23 - 2025-06-27 09:01:27 [0.24ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 24 - 2025-06-27 09:01:27 [0.26ms] */
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/transaction.list-transaction-component
   Query 25 - 2025-06-27 09:01:27 [0.26ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 26 - 2025-06-27 09:01:27 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 27 - 2025-06-27 09:01:27 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 28 - 2025-06-27 09:01:27 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 29 - 2025-06-27 09:01:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 30 - 2025-06-27 09:01:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 31 - 2025-06-27 09:01:27 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 32 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 33 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 34 - 2025-06-27 09:01:27 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 35 - 2025-06-27 09:01:27 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 36 - 2025-06-27 09:01:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 37 - 2025-06-27 09:01:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 38 - 2025-06-27 09:01:27 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 39 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 40 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 41 - 2025-06-27 09:01:27 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 42 - 2025-06-27 09:01:27 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 43 - 2025-06-27 09:01:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 44 - 2025-06-27 09:01:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 45 - 2025-06-27 09:01:27 [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/transaction.list-transaction-component
   Query 46 - 2025-06-27 09:01:27 [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/transaction.list-transaction-component
   Query 47 - 2025-06-27 09:01:27 [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): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 48 - 2025-06-27 09:01:27 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 49 - 2025-06-27 09:01:27 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 50 - 2025-06-27 09:01:27 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 51 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 52 - 2025-06-27 09:01:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 53 - 2025-06-27 09:01:27 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 54 - 2025-06-27 09:01:27 [0.12ms] */
