select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 06:56:32 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 06:56:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 06:56:32 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 06:56:32 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 06:56:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 06:56:32 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 06:56:32 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 06:56:32 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99378, 99375, 99376, 99380, 99377, 99382, 99379, 99383, 99381, 99385, 99384, 99386) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 06:56:32 [0.14ms] */
select `parent_id` from `transaction` where `id` in (102788, 102789, 102790, 102791, 102792, 102793, 102794, 102795, 102796, 102797, 102798, 102799) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 06:56:32 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102800) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 06:56:32 [0.14ms] */
select * from `transaction` where `id` in (102800) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 06:56:32 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99378, 99375, 99376, 99380, 99377, 99382, 99379, 99383, 99381, 99385, 99384, 99386) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 06:56:32 [0.16ms] */
select * from `invoice` where `transaction_id` = 102788 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 06:56:32 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102372 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 06:56:32 [0.15ms] */
select * from `invoice` where `transaction_id` = 102789 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102373 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2024-12-29 06:56:32 [0.15ms] */
select * from `invoice` where `transaction_id` = 102790 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102374 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102791 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102375 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102792 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102376 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102793 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102377 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102794 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102378 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102795 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102379 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102796 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102380 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102797 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102381 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102798 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102382 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2024-12-29 06:56:32 [0.14ms] */
select * from `invoice` where `transaction_id` = 102799 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2024-12-29 06:56:32 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102383 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2024-12-29 06:56:32 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2024-12-29 06:56:32 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-29 06:57:09 [2.34ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-29 06:57:09 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-29 06:57:09 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-29 06:57:09 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2024-12-29 06:57:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-29 06:57:09 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-29 06:57:09 [0.72ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'YK738' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-29 06:57:10 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-29 06:57:10 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-29 06:57:10 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-29 06:57:10 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2024-12-29 06:57:10 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-29 06:57:10 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-29 06:57:10 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 60 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-29 06:57:10 [0.24ms] */
select * from `vehicle` where `id` = 60 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-29 06:57:10 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 60 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-29 06:57:10 [0.49ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 60 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2024-12-29 06:57:11 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-29 06:57:11 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-29 06:57:11 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-29 06:57:11 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2024-12-29 06:57:11 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-29 06:57:11 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-29 06:57:11 [0.26ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 06:57:11 [2.11ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 06:57:11 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 06:57:11 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 06:57:11 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 06:57:11 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 06:57:11 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 06:57:11 [0.24ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 06:57:12 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 06:57:12 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 06:57:12 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 06:57:12 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 06:57:12 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 06:57:12 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 06:57:12 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 06:57:12 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 06:57:12 [0.13ms] */
select `parent_id` from `transaction` where `id` in (101013) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 06:57:12 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102954) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 06:57:12 [0.15ms] */
select * from `transaction` where `id` in (102954) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 06:57:12 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 06:57:12 [0.16ms] */
select * from `invoice` where `transaction_id` = 101013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 06:57:12 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100787 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 06:57:12 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 06:57:12 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 06:57:12 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 06:57:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 06:57:12 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 06:57:12 [0.15ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 06:57:12 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 06:57:12 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 06:57:12 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 06:58:12 [2.38ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 06:58:12 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 06:58:12 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 06:58:12 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 06:58:12 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '27a6b9b92d18e232990fddde1d0e5c97f4b39e0b7d056f4a1543d6002ea677f725443a9d1ca47027' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 06:58:12 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 06:58:12 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 06:58:12 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 06:58:12 [0.13ms] */
select `parent_id` from `transaction` where `id` in (101013) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 06:58:12 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102954) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 06:58:12 [0.14ms] */
select * from `transaction` where `id` in (102954) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 06:58:12 [0.11ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 06:58:12 [0.16ms] */
select * from `invoice` where `transaction_id` = 101013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 06:58:12 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100787 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 06:58:12 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 06:58:12 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2024-12-29 08:07:31 [2.65ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2024-12-29 08:07:32 [0.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2024-12-29 08:07:32 [0.28ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2024-12-29 08:07:32 [11.57ms] */
update `userprofiles` set `last_ip` = '41.223.109.202', `login_count` = 713, `last_login` = '2024-12-29 08:07:32', `userprofiles`.`updated_at` = '2024-12-29 08:07:32' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2024-12-29 08:07:32 [0.39ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2024-12-29 08:07:32 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2024-12-29 08:07:32 [0.47ms] */
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 (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2024-12-29 08:07:32 [0.34ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2024-12-29 08:07:32 [0.25ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2024-12-29 08:07:32 [0.35ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2024-12-29 08:07:32 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2024-12-29 08:07:32 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2024-12-29 08:07:32 [3.48ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f', 5, 3, '[]', 0, '2024-12-29 08:07:32', '2024-12-29 08:07:32', '2025-12-29 08:07:32');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2024-12-29 08:07:32 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2024-12-29 08:07:32 [3.11ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-29 08:07:37 [1.5ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-29 08:07:37 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-29 08:07:37 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-29 08:07:37 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2024-12-29 08:07:37 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-29 08:07:37 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-29 08:07:37 [0.34ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EV441' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-29 08:07:38 [2.39ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-29 08:07:38 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-29 08:07:38 [0.39ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-29 08:07:38 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2024-12-29 08:07:38 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-29 08:07:38 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-29 08:07:38 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 61 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-29 08:07:38 [0.22ms] */
select * from `vehicle` where `id` = 61 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-29 08:07:38 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-29 08:07:38 [0.38ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 61 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2024-12-29 08:07:38 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-29 08:07:38 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-29 08:07:38 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-29 08:07:38 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2024-12-29 08:07:38 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-29 08:07:38 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-29 08:07:38 [0.26ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 08:07:39 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 08:07:39 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 08:07:39 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 08:07:39 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 08:07:39 [0.34ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 08:07:39 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 08:07:39 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 08:07:41 [1.6ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 08:07:41 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 08:07:41 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 08:07:41 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 08:07:41 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 08:07:41 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 08:07:41 [0.28ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 08:07:41 [0.18ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99378, 99375, 99376, 99380, 99377, 99382, 99379, 99383, 99381, 99385, 99384, 99386) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 08:07:41 [0.14ms] */
select `parent_id` from `transaction` where `id` in (102788, 102789, 102790, 102791, 102792, 102793, 102794, 102795, 102796, 102797, 102798, 102799) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 08:07:41 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102800) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 08:07:41 [0.14ms] */
select * from `transaction` where `id` in (102800) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 08:07:41 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99378, 99375, 99376, 99380, 99377, 99382, 99379, 99383, 99381, 99385, 99384, 99386) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 08:07:41 [0.16ms] */
select * from `invoice` where `transaction_id` = 102788 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 08:07:41 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102372 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 08:07:41 [0.15ms] */
select * from `invoice` where `transaction_id` = 102789 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102373 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2024-12-29 08:07:41 [0.15ms] */
select * from `invoice` where `transaction_id` = 102790 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102374 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102791 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102375 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102792 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102376 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102793 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102377 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102794 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102378 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102795 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102379 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102796 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102380 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102797 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102381 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102798 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102382 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2024-12-29 08:07:41 [0.14ms] */
select * from `invoice` where `transaction_id` = 102799 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2024-12-29 08:07:41 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102383 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2024-12-29 08:07:41 [0.16ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2024-12-29 08:07:41 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 08:07:41 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 08:07:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 08:07:41 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 08:07:41 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 08:07:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 08:07:41 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 08:07:41 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2024-12-29 08:08:03 [2.5ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2024-12-29 08:08:03 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2024-12-29 08:08:03 [0.4ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2024-12-29 08:08:03 [6.6ms] */
update `userprofiles` set `last_ip` = '171.79.57.143', `login_count` = 714, `last_login` = '2024-12-29 08:08:03', `userprofiles`.`updated_at` = '2024-12-29 08:08:03' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2024-12-29 08:08:03 [0.16ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2024-12-29 08:08:03 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2024-12-29 08:08:03 [0.16ms] */
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 (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2024-12-29 08:08:03 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2024-12-29 08:08:03 [0.11ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2024-12-29 08:08:03 [0.16ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2024-12-29 08:08:03 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2024-12-29 08:08:03 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2024-12-29 08:08:03 [3.8ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78', 5, 3, '[]', 0, '2024-12-29 08:08:03', '2024-12-29 08:08:03', '2025-12-29 08:08:03');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2024-12-29 08:08:03 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2024-12-29 08:08:03 [3.02ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 08:08:19 [1.51ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 08:08:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 08:08:19 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 08:08:19 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 08:08:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '651c2e3f66f469793bd18fa860d8dc29fc0676a6db3686dd413b1e226d9b2426802c0447781c135f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 08:08:19 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 08:08:19 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 08:08:19 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99378, 99375, 99376, 99380, 99377, 99382, 99379, 99383, 99381, 99385, 99384, 99386) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 08:08:19 [0.14ms] */
select `parent_id` from `transaction` where `id` in (102788, 102789, 102790, 102791, 102792, 102793, 102794, 102795, 102796, 102797, 102798, 102799) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 08:08:19 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102800) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 08:08:19 [0.15ms] */
select * from `transaction` where `id` in (102800) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 08:08:19 [0.3ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99378, 99375, 99376, 99380, 99377, 99382, 99379, 99383, 99381, 99385, 99384, 99386) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 08:08:19 [0.29ms] */
select * from `invoice` where `transaction_id` = 102788 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 08:08:19 [0.28ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102372 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 08:08:19 [0.27ms] */
select * from `invoice` where `transaction_id` = 102789 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 08:08:19 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102373 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2024-12-29 08:08:19 [0.3ms] */
select * from `invoice` where `transaction_id` = 102790 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2024-12-29 08:08:19 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102374 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2024-12-29 08:08:19 [0.27ms] */
select * from `invoice` where `transaction_id` = 102791 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2024-12-29 08:08:19 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102375 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2024-12-29 08:08:19 [0.27ms] */
select * from `invoice` where `transaction_id` = 102792 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2024-12-29 08:08:19 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102376 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2024-12-29 08:08:19 [0.27ms] */
select * from `invoice` where `transaction_id` = 102793 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2024-12-29 08:08:19 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102377 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2024-12-29 08:08:19 [0.26ms] */
select * from `invoice` where `transaction_id` = 102794 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2024-12-29 08:08:19 [0.26ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102378 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2024-12-29 08:08:19 [0.28ms] */
select * from `invoice` where `transaction_id` = 102795 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2024-12-29 08:08:19 [0.26ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102379 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2024-12-29 08:08:19 [0.28ms] */
select * from `invoice` where `transaction_id` = 102796 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2024-12-29 08:08:19 [0.26ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102380 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2024-12-29 08:08:19 [0.28ms] */
select * from `invoice` where `transaction_id` = 102797 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2024-12-29 08:08:19 [0.26ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102381 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2024-12-29 08:08:19 [0.27ms] */
select * from `invoice` where `transaction_id` = 102798 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2024-12-29 08:08:19 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102382 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2024-12-29 08:08:19 [0.14ms] */
select * from `invoice` where `transaction_id` = 102799 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2024-12-29 08:08:19 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102383 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2024-12-29 08:08:19 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2024-12-29 08:08:19 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-29 08:10:42 [1.49ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-29 08:10:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-29 08:10:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-29 08:10:42 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2024-12-29 08:10:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-29 08:10:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-29 08:10:42 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'YK738' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-29 08:10:43 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-29 08:10:43 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-29 08:10:43 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-29 08:10:43 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2024-12-29 08:10:43 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-29 08:10:43 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-29 08:10:43 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 60 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-29 08:10:43 [0.22ms] */
select * from `vehicle` where `id` = 60 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-29 08:10:43 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 60 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-29 08:10:43 [0.35ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 60 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2024-12-29 08:10:44 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-29 08:10:44 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-29 08:10:44 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-29 08:10:44 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2024-12-29 08:10:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-29 08:10:44 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-29 08:10:44 [0.24ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 08:10:45 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 08:10:45 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 08:10:45 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 08:10:45 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 08:10:45 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 08:10:45 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 08:10:45 [0.28ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 08:10:52 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 08:10:52 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 08:10:52 [0.35ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 08:10:52 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 08:10:52 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 08:10:52 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 08:10:52 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 08:10:52 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 08:10:52 [0.13ms] */
select `parent_id` from `transaction` where `id` in (101013) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 08:10:52 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102954) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 08:10:52 [0.15ms] */
select * from `transaction` where `id` in (102954) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 08:10:52 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 08:10:52 [0.16ms] */
select * from `invoice` where `transaction_id` = 101013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 08:10:52 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100787 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 08:10:52 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 08:10:52 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 08:10:52 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 08:10:52 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 08:10:52 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 08:10:52 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 08:10:52 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 08:10:52 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 08:10:52 [0.26ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 1 - 2024-12-29 08:52:37 [2.26ms] */
select * from `users` where `email` = 'admin@admin.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 2 - 2024-12-29 08:52:37 [0.17ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 3 - 2024-12-29 08:52:37 [0.39ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 2 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 4 - 2024-12-29 08:52:37 [11.83ms] */
update `userprofiles` set `last_ip` = '103.186.233.225', `login_count` = 1373, `last_login` = '2024-12-29 08:52:37', `userprofiles`.`updated_at` = '2024-12-29 08:52:37' where `id` = 2;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 5 - 2024-12-29 08:52:37 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 6 - 2024-12-29 08:52:37 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 7 - 2024-12-29 08:52:37 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2024-12-29 08:52:38 [1.5ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2024-12-29 08:52:38 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2024-12-29 08:52:38 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2024-12-29 08:52:38 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2024-12-29 08:52:38 [0.22ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2024-12-29 08:52:38 [0.15ms] */
select count(*) as aggregate from `party` where `created_at` > '2024-12-29' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2024-12-29 08:52:38 [30.53ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2024-12-29 08:52:38 [33.99ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2024-12-29' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2024-12-29 08:52:38 [135.27ms] */
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` > '2024-12-28' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2024-12-29 08:52:38 [19.28ms] */
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` > '2024-12-28' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-29 08:52:38 [233.55ms] */
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` < '2024-12-29' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2024-12-29 08:52:38 [24.63ms] */
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` < '2024-12-29' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 1 - 2024-12-29 08:52:53 [1.36ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 2 - 2024-12-29 08:52:53 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 3 - 2024-12-29 08:52:53 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 4 - 2024-12-29 08:52:53 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 5 - 2024-12-29 08:52:53 [20.19ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 08:52:53' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 6 - 2024-12-29 08:52:53 [11.39ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 08:52:53' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 7 - 2024-12-29 08:52:53 [0.18ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 2 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 8 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 2 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 9 - 2024-12-29 08:52:53 [0.15ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 10 - 2024-12-29 08:52:53 [0.16ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 11 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 12 - 2024-12-29 08:52:53 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 13 - 2024-12-29 08:52:53 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 14 - 2024-12-29 08:52:53 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 15 - 2024-12-29 08:52:53 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 16 - 2024-12-29 08:52:53 [0.47ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 2 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 17 - 2024-12-29 08:52:53 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 4 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 18 - 2024-12-29 08:52:53 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 4 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 19 - 2024-12-29 08:52:53 [0.32ms] */
select * from `party` where `party`.`id` = 23256 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 20 - 2024-12-29 08:52:53 [0.28ms] */
select * from `person` where `person`.`id` = 23256 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 21 - 2024-12-29 08:52:53 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 22 - 2024-12-29 08:52:53 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 23 - 2024-12-29 08:52:53 [0.25ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 24 - 2024-12-29 08:52:53 [0.23ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 25 - 2024-12-29 08:52:53 [0.29ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 26 - 2024-12-29 08:52:53 [1.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 4 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 27 - 2024-12-29 08:52:53 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 6 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 28 - 2024-12-29 08:52:53 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 6 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 29 - 2024-12-29 08:52:53 [0.15ms] */
select * from `party` where `party`.`id` = 23562 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 30 - 2024-12-29 08:52:53 [0.15ms] */
select * from `person` where `person`.`id` = 23562 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 31 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 32 - 2024-12-29 08:52:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 33 - 2024-12-29 08:52:53 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 34 - 2024-12-29 08:52:53 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 35 - 2024-12-29 08:52:53 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 36 - 2024-12-29 08:52:53 [0.72ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 6 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 37 - 2024-12-29 08:52:53 [0.15ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 38 - 2024-12-29 08:52:53 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 39 - 2024-12-29 08:52:53 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 18 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 40 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 41 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 42 - 2024-12-29 08:52:53 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 43 - 2024-12-29 08:52:53 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 44 - 2024-12-29 08:52:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 45 - 2024-12-29 08:52:53 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 46 - 2024-12-29 08:52:53 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 47 - 2024-12-29 08:52:53 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 48 - 2024-12-29 08:52:53 [0.68ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 18 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 49 - 2024-12-29 08:52:53 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 30 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 50 - 2024-12-29 08:52:53 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 30 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 51 - 2024-12-29 08:52:53 [0.15ms] */
select * from `party` where `party`.`id` = 27946 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 52 - 2024-12-29 08:52:53 [0.14ms] */
select * from `person` where `person`.`id` = 27946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 53 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 54 - 2024-12-29 08:52:53 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 55 - 2024-12-29 08:52:53 [0.13ms] */
select * from `model` where `model`.`id` = 19 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 56 - 2024-12-29 08:52:53 [0.12ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 57 - 2024-12-29 08:52:53 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 9 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 58 - 2024-12-29 08:52:53 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 30 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 59 - 2024-12-29 08:52:53 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 30 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 60 - 2024-12-29 08:52:53 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 30 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 61 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party` where `party`.`id` = 27946 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 62 - 2024-12-29 08:52:53 [0.15ms] */
select * from `person` where `person`.`id` = 27946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 63 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 64 - 2024-12-29 08:52:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 65 - 2024-12-29 08:52:53 [0.13ms] */
select * from `model` where `model`.`id` = 19 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 66 - 2024-12-29 08:52:53 [0.12ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 67 - 2024-12-29 08:52:53 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 9 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 68 - 2024-12-29 08:52:53 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 30 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 69 - 2024-12-29 08:52:53 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 34 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 70 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 34 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 71 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party` where `party`.`id` = 27081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 72 - 2024-12-29 08:52:53 [0.15ms] */
select * from `person` where `person`.`id` = 27081 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 73 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 74 - 2024-12-29 08:52:53 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 75 - 2024-12-29 08:52:53 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 76 - 2024-12-29 08:52:53 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 77 - 2024-12-29 08:52:53 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 78 - 2024-12-29 08:52:53 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 34 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 79 - 2024-12-29 08:52:53 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 54 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 80 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 54 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 81 - 2024-12-29 08:52:53 [0.14ms] */
select * from `party` where `party`.`id` = 3072 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 82 - 2024-12-29 08:52:53 [0.15ms] */
select * from `person` where `person`.`id` = 3072 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 83 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 84 - 2024-12-29 08:52:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 85 - 2024-12-29 08:52:53 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 86 - 2024-12-29 08:52:53 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 87 - 2024-12-29 08:52:53 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 88 - 2024-12-29 08:52:53 [0.6ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 54 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 89 - 2024-12-29 08:52:53 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 59 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 90 - 2024-12-29 08:52:53 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 59 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 91 - 2024-12-29 08:52:53 [0.27ms] */
select * from `party` where `party`.`id` = 3053 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 92 - 2024-12-29 08:52:53 [0.28ms] */
select * from `person` where `person`.`id` = 3053 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 93 - 2024-12-29 08:52:53 [0.28ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 94 - 2024-12-29 08:52:53 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 95 - 2024-12-29 08:52:53 [0.31ms] */
select * from `model` where `model`.`id` = 85 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 96 - 2024-12-29 08:52:53 [0.27ms] */
select * from `make` where `make`.`id` = 5 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 97 - 2024-12-29 08:52:53 [0.27ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 98 - 2024-12-29 08:52:53 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 59 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 99 - 2024-12-29 08:52:53 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 100 - 2024-12-29 08:52:53 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 101 - 2024-12-29 08:52:53 [0.26ms] */
select * from `party` where `party`.`id` = 27059 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 102 - 2024-12-29 08:52:53 [0.28ms] */
select * from `person` where `person`.`id` = 27059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 103 - 2024-12-29 08:52:53 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 104 - 2024-12-29 08:52:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 105 - 2024-12-29 08:52:53 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 106 - 2024-12-29 08:52:53 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 107 - 2024-12-29 08:52:53 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 108 - 2024-12-29 08:52:53 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 61 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2024-12-29 09:05:43 [2.48ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2024-12-29 09:05:43 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2024-12-29 09:05:43 [0.3ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2024-12-29 09:05:43 [20.11ms] */
update `userprofiles` set `last_ip` = '103.186.233.225', `login_count` = 715, `last_login` = '2024-12-29 09:05:43', `userprofiles`.`updated_at` = '2024-12-29 09:05:43' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2024-12-29 09:05:43 [0.49ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2024-12-29 09:05:43 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2024-12-29 09:05:43 [0.58ms] */
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 (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2024-12-29 09:05:43 [0.25ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2024-12-29 09:05:43 [0.21ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2024-12-29 09:05:43 [0.26ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2024-12-29 09:05:43 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2024-12-29 09:05:43 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2024-12-29 09:05:43 [3.18ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318', 5, 3, '[]', 0, '2024-12-29 09:05:43', '2024-12-29 09:05:43', '2025-12-29 09:05:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2024-12-29 09:05:43 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2024-12-29 09:05:43 [2.91ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-29 09:06:08 [2.7ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-29 09:06:08 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-29 09:06:08 [0.48ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-29 09:06:08 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2024-12-29 09:06:08 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-29 09:06:08 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-29 09:06:08 [1.12ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'YK738' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-29 09:06:09 [1.66ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-29 09:06:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-29 09:06:09 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-29 09:06:09 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2024-12-29 09:06:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-29 09:06:09 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-29 09:06:09 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 60 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-29 09:06:09 [0.39ms] */
select * from `vehicle` where `id` = 60 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-29 09:06:09 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 60 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-29 09:06:09 [0.7ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 60 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2024-12-29 09:06:10 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-29 09:06:10 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-29 09:06:10 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-29 09:06:10 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2024-12-29 09:06:10 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-29 09:06:10 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-29 09:06:10 [0.49ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 09:06:11 [2.21ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 09:06:11 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 09:06:11 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 09:06:11 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 09:06:11 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 09:06:11 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 09:06:11 [0.31ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 09:08:39 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 09:08:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 09:08:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 09:08:39 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 09:08:39 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 09:08:39 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 09:08:39 [0.38ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 09:08:39 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 09:08:39 [0.25ms] */
select `parent_id` from `transaction` where `id` in (101013) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 09:08:40 [25.83ms] */
select `id` from `transaction` where `parent_id` in (102954) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 09:08:40 [0.38ms] */
select * from `transaction` where `id` in (102954) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 09:08:40 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 09:08:40 [0.34ms] */
select * from `invoice` where `transaction_id` = 101013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 09:08:40 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100787 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 09:08:40 [0.24ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 09:08:40 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 09:08:40 [2.36ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 09:08:40 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 09:08:40 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 09:08:40 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 09:08:40 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 09:08:40 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 09:08:40 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 09:08:51 [2.09ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 09:08:51 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 09:08:51 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 09:08:51 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 09:08:51 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '1139af2e9b55ca40c8406455b0fbaf920735aa211697482e67a05641bbdf70def0a050e00da3c318' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 09:08:51 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 09:08:51 [0.85ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 09:08:51 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 09:08:51 [0.13ms] */
select `parent_id` from `transaction` where `id` in (101013) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 09:08:51 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102954) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 09:08:51 [0.14ms] */
select * from `transaction` where `id` in (102954) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 09:08:51 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 09:08:51 [0.16ms] */
select * from `invoice` where `transaction_id` = 101013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 09:08:51 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100787 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 09:08:51 [0.62ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 09:08:51 [0.19ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-29 09:10:13 [1.65ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-29 09:10:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-29 09:10:13 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-29 09:10:13 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2024-12-29 09:10:13 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-29 09:10:13 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-29 09:10:13 [0.45ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'YK738' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-29 09:10:14 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-29 09:10:14 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-29 09:10:14 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-29 09:10:14 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2024-12-29 09:10:14 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-29 09:10:14 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-29 09:10:14 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 60 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-29 09:10:14 [0.22ms] */
select * from `vehicle` where `id` = 60 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-29 09:10:14 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 60 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-29 09:10:14 [0.35ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 60 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2024-12-29 09:10:15 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-29 09:10:15 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-29 09:10:15 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-29 09:10:15 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2024-12-29 09:10:15 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-29 09:10:15 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-29 09:10:15 [0.36ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 09:10:15 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 09:10:15 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 09:10:15 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 09:10:15 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 09:10:15 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 09:10:15 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 09:10:15 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-29 09:10:16 [2.32ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-29 09:10:16 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-29 09:10:16 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-29 09:10:16 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-29 09:10:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-29 09:10:16 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-29 09:10:16 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-29 09:10:16 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-29 09:10:16 [0.13ms] */
select `parent_id` from `transaction` where `id` in (101013) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-29 09:10:16 [0.12ms] */
select `id` from `transaction` where `parent_id` in (102954) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-29 09:10:16 [0.15ms] */
select * from `transaction` where `id` in (102954) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-29 09:10:16 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (98441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-29 09:10:16 [0.16ms] */
select * from `invoice` where `transaction_id` = 101013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-29 09:10:16 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 100787 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-29 09:10:16 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-29 09:10:16 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-29 09:10:16 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-29 09:10:16 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-29 09:10:16 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-29 09:10:16 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2024-12-29 09:10:16 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-29 09:10:16 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-29 09:10:16 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 1 - 2024-12-29 09:13:24 [2.12ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 2 - 2024-12-29 09:13:24 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 3 - 2024-12-29 09:13:24 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 4 - 2024-12-29 09:13:24 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 5 - 2024-12-29 09:13:24 [47.63ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:13:24' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 6 - 2024-12-29 09:13:24 [15.25ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:13:24' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 7 - 2024-12-29 09:13:24 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 2 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 8 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 2 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 9 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 10 - 2024-12-29 09:13:24 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 11 - 2024-12-29 09:13:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 12 - 2024-12-29 09:13:24 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 13 - 2024-12-29 09:13:24 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 14 - 2024-12-29 09:13:24 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 15 - 2024-12-29 09:13:24 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 16 - 2024-12-29 09:13:24 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 2 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 17 - 2024-12-29 09:13:24 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 4 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 18 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 4 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 19 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party` where `party`.`id` = 23256 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 20 - 2024-12-29 09:13:24 [0.14ms] */
select * from `person` where `person`.`id` = 23256 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 21 - 2024-12-29 09:13:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 22 - 2024-12-29 09:13:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 23 - 2024-12-29 09:13:24 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 24 - 2024-12-29 09:13:24 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 25 - 2024-12-29 09:13:24 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 26 - 2024-12-29 09:13:24 [0.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 4 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 27 - 2024-12-29 09:13:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 6 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 28 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 6 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 29 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party` where `party`.`id` = 23562 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 30 - 2024-12-29 09:13:24 [0.16ms] */
select * from `person` where `person`.`id` = 23562 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 31 - 2024-12-29 09:13:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 32 - 2024-12-29 09:13:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 33 - 2024-12-29 09:13:24 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 34 - 2024-12-29 09:13:24 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 35 - 2024-12-29 09:13:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 36 - 2024-12-29 09:13:24 [0.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 6 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 37 - 2024-12-29 09:13:24 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 38 - 2024-12-29 09:13:24 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 39 - 2024-12-29 09:13:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 18 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 40 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 41 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 42 - 2024-12-29 09:13:24 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 43 - 2024-12-29 09:13:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 44 - 2024-12-29 09:13:24 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 45 - 2024-12-29 09:13:24 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 46 - 2024-12-29 09:13:24 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 47 - 2024-12-29 09:13:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 48 - 2024-12-29 09:13:24 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 18 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 49 - 2024-12-29 09:13:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 30 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 50 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 30 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 51 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party` where `party`.`id` = 27946 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 52 - 2024-12-29 09:13:24 [0.15ms] */
select * from `person` where `person`.`id` = 27946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 53 - 2024-12-29 09:13:24 [0.32ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 54 - 2024-12-29 09:13:24 [0.3ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 55 - 2024-12-29 09:13:24 [0.25ms] */
select * from `model` where `model`.`id` = 19 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 56 - 2024-12-29 09:13:24 [0.26ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 57 - 2024-12-29 09:13:24 [0.29ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 9 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 58 - 2024-12-29 09:13:24 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 30 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 59 - 2024-12-29 09:13:24 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 30 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 60 - 2024-12-29 09:13:24 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 30 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 61 - 2024-12-29 09:13:24 [0.24ms] */
select * from `party` where `party`.`id` = 27946 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 62 - 2024-12-29 09:13:24 [0.23ms] */
select * from `person` where `person`.`id` = 27946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 63 - 2024-12-29 09:13:24 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 64 - 2024-12-29 09:13:24 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 65 - 2024-12-29 09:13:24 [0.2ms] */
select * from `model` where `model`.`id` = 19 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 66 - 2024-12-29 09:13:24 [0.19ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 67 - 2024-12-29 09:13:24 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 9 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 68 - 2024-12-29 09:13:24 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 30 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 69 - 2024-12-29 09:13:24 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 34 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 70 - 2024-12-29 09:13:24 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 34 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 71 - 2024-12-29 09:13:24 [0.22ms] */
select * from `party` where `party`.`id` = 27081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 72 - 2024-12-29 09:13:24 [0.24ms] */
select * from `person` where `person`.`id` = 27081 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 73 - 2024-12-29 09:13:24 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 74 - 2024-12-29 09:13:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 75 - 2024-12-29 09:13:24 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 76 - 2024-12-29 09:13:24 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 77 - 2024-12-29 09:13:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 78 - 2024-12-29 09:13:24 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 34 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 79 - 2024-12-29 09:13:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 54 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 80 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 54 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 81 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party` where `party`.`id` = 3072 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 82 - 2024-12-29 09:13:24 [0.15ms] */
select * from `person` where `person`.`id` = 3072 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 83 - 2024-12-29 09:13:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 84 - 2024-12-29 09:13:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 85 - 2024-12-29 09:13:24 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 86 - 2024-12-29 09:13:24 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 87 - 2024-12-29 09:13:24 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 88 - 2024-12-29 09:13:24 [0.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 54 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 89 - 2024-12-29 09:13:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 59 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 90 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 59 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 91 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party` where `party`.`id` = 3053 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 92 - 2024-12-29 09:13:24 [0.14ms] */
select * from `person` where `person`.`id` = 3053 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 93 - 2024-12-29 09:13:24 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 94 - 2024-12-29 09:13:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 95 - 2024-12-29 09:13:24 [0.13ms] */
select * from `model` where `model`.`id` = 85 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 96 - 2024-12-29 09:13:24 [0.12ms] */
select * from `make` where `make`.`id` = 5 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 97 - 2024-12-29 09:13:24 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 98 - 2024-12-29 09:13:24 [0.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 59 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 99 - 2024-12-29 09:13:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 100 - 2024-12-29 09:13:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 101 - 2024-12-29 09:13:24 [0.15ms] */
select * from `party` where `party`.`id` = 27059 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 102 - 2024-12-29 09:13:24 [0.17ms] */
select * from `person` where `person`.`id` = 27059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 103 - 2024-12-29 09:13:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 104 - 2024-12-29 09:13:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 105 - 2024-12-29 09:13:24 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 106 - 2024-12-29 09:13:24 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 107 - 2024-12-29 09:13:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 108 - 2024-12-29 09:13:24 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 61 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 1 - 2024-12-29 09:13:57 [2.09ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 2 - 2024-12-29 09:13:57 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 3 - 2024-12-29 09:13:57 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 4 - 2024-12-29 09:13:57 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 5 - 2024-12-29 09:13:57 [18.16ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:13:57' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicleTaxes`.`count` = 3 and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 6 - 2024-12-29 09:13:57 [11.9ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:13:57' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicleTaxes`.`count` = 3 and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 7 - 2024-12-29 09:13:57 [0.28ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 34 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 8 - 2024-12-29 09:13:57 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 34 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 9 - 2024-12-29 09:13:57 [0.23ms] */
select * from `party` where `party`.`id` = 27081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 10 - 2024-12-29 09:13:57 [0.26ms] */
select * from `person` where `person`.`id` = 27081 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 11 - 2024-12-29 09:13:57 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 12 - 2024-12-29 09:13:57 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 13 - 2024-12-29 09:13:57 [0.22ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 14 - 2024-12-29 09:13:57 [0.25ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 15 - 2024-12-29 09:13:57 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 16 - 2024-12-29 09:13:57 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 34 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 17 - 2024-12-29 09:13:57 [0.41ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 18 - 2024-12-29 09:13:57 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 71 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 19 - 2024-12-29 09:13:57 [0.39ms] */
select * from `party` where `party`.`id` = 27057 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 20 - 2024-12-29 09:13:57 [0.39ms] */
select * from `person` where `person`.`id` = 27057 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 21 - 2024-12-29 09:13:57 [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://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 22 - 2024-12-29 09:13:57 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 23 - 2024-12-29 09:13:57 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 24 - 2024-12-29 09:13:57 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 25 - 2024-12-29 09:13:57 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 26 - 2024-12-29 09:13:57 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 71 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 27 - 2024-12-29 09:13:57 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 28 - 2024-12-29 09:13:57 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 75 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 29 - 2024-12-29 09:13:57 [0.32ms] */
select * from `party` where `party`.`id` = 27071 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 30 - 2024-12-29 09:13:57 [0.35ms] */
select * from `person` where `person`.`id` = 27071 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 31 - 2024-12-29 09:13:57 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2024-12-29 09:13:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2024-12-29 09:13:57 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 34 - 2024-12-29 09:13:57 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2024-12-29 09:13:57 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 36 - 2024-12-29 09:13:57 [0.55ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 75 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 37 - 2024-12-29 09:13:57 [0.3ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 38 - 2024-12-29 09:13:57 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 39 - 2024-12-29 09:13:57 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 40 - 2024-12-29 09:13:57 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 881 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 41 - 2024-12-29 09:13:57 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 881 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 42 - 2024-12-29 09:13:57 [0.33ms] */
select * from `party` where `party`.`id` = 57890 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2024-12-29 09:13:57 [0.35ms] */
select * from `company` where `company`.`id` = 2281 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 44 - 2024-12-29 09:13:57 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 45 - 2024-12-29 09:13:57 [0.32ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 46 - 2024-12-29 09:13:57 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 47 - 2024-12-29 09:13:57 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2024-12-29 09:13:57 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 49 - 2024-12-29 09:13:57 [0.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 881 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 50 - 2024-12-29 09:13:57 [0.3ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 51 - 2024-12-29 09:13:57 [0.29ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 52 - 2024-12-29 09:13:57 [0.41ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2024-12-29 09:13:57 [0.47ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1027 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 54 - 2024-12-29 09:13:57 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 1027 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2024-12-29 09:13:57 [0.36ms] */
select * from `party` where `party`.`id` = 56133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2024-12-29 09:13:57 [0.31ms] */
select * from `company` where `company`.`id` = 524 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 57 - 2024-12-29 09:13:57 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2024-12-29 09:13:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 59 - 2024-12-29 09:13:57 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 60 - 2024-12-29 09:13:57 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 61 - 2024-12-29 09:13:57 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 62 - 2024-12-29 09:13:57 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1027 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 63 - 2024-12-29 09:13:57 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 64 - 2024-12-29 09:13:57 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 65 - 2024-12-29 09:13:57 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 66 - 2024-12-29 09:13:57 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1120 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 67 - 2024-12-29 09:13:57 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 1120 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2024-12-29 09:13:57 [0.33ms] */
select * from `party` where `party`.`id` = 58370 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2024-12-29 09:13:57 [0.32ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2024-12-29 09:13:57 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 71 - 2024-12-29 09:13:57 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 72 - 2024-12-29 09:13:57 [0.2ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 73 - 2024-12-29 09:13:57 [0.21ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 74 - 2024-12-29 09:13:57 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2024-12-29 09:13:57 [0.76ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1120 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2024-12-29 09:13:57 [0.21ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2024-12-29 09:13:57 [0.2ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 78 - 2024-12-29 09:13:57 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 79 - 2024-12-29 09:13:57 [0.49ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1124 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 80 - 2024-12-29 09:13:57 [0.53ms] */
select * from `party_vehicle` where `vehicle_id` = 1124 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 81 - 2024-12-29 09:13:57 [0.33ms] */
select * from `party` where `party`.`id` = 57141 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 82 - 2024-12-29 09:13:57 [0.32ms] */
select * from `company` where `company`.`id` = 1532 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 83 - 2024-12-29 09:13:57 [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://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 84 - 2024-12-29 09:13:57 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2024-12-29 09:13:57 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2024-12-29 09:13:57 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2024-12-29 09:13:57 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 88 - 2024-12-29 09:13:57 [0.49ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1124 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 89 - 2024-12-29 09:13:57 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 90 - 2024-12-29 09:13:57 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 91 - 2024-12-29 09:13:57 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 92 - 2024-12-29 09:13:57 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1125 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 93 - 2024-12-29 09:13:57 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 1125 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2024-12-29 09:13:57 [0.33ms] */
select * from `party` where `party`.`id` = 45621 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2024-12-29 09:13:57 [0.37ms] */
select * from `person` where `person`.`id` = 45621 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2024-12-29 09:13:57 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2024-12-29 09:13:57 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 98 - 2024-12-29 09:13:57 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 99 - 2024-12-29 09:13:57 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 100 - 2024-12-29 09:13:57 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 101 - 2024-12-29 09:13:57 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1125 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 102 - 2024-12-29 09:13:57 [0.23ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 103 - 2024-12-29 09:13:57 [0.19ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 104 - 2024-12-29 09:13:57 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2024-12-29 09:13:57 [0.52ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1145 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 106 - 2024-12-29 09:13:57 [0.55ms] */
select * from `party_vehicle` where `vehicle_id` = 1145 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 107 - 2024-12-29 09:13:57 [0.59ms] */
select * from `party` where `party`.`id` = 57359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2024-12-29 09:13:57 [0.52ms] */
select * from `company` where `company`.`id` = 1750 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 109 - 2024-12-29 09:13:57 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 110 - 2024-12-29 09:13:57 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 111 - 2024-12-29 09:13:57 [0.21ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 112 - 2024-12-29 09:13:57 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 113 - 2024-12-29 09:13:57 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 114 - 2024-12-29 09:13:57 [0.71ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1145 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 115 - 2024-12-29 09:13:57 [0.21ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 116 - 2024-12-29 09:13:57 [0.19ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 117 - 2024-12-29 09:13:57 [0.18ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 118 - 2024-12-29 09:13:57 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1146 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2024-12-29 09:13:57 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 1146 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 120 - 2024-12-29 09:13:57 [0.34ms] */
select * from `party` where `party`.`id` = 57623 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 121 - 2024-12-29 09:13:57 [0.34ms] */
select * from `company` where `company`.`id` = 2014 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 122 - 2024-12-29 09:13:57 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 123 - 2024-12-29 09:13:57 [0.3ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 124 - 2024-12-29 09:13:57 [0.32ms] */
select * from `model` where `model`.`id` = 4 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 125 - 2024-12-29 09:13:57 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 126 - 2024-12-29 09:13:57 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 127 - 2024-12-29 09:13:57 [0.37ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1146 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 128 - 2024-12-29 09:13:57 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 129 - 2024-12-29 09:13:57 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 130 - 2024-12-29 09:13:57 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 1 - 2024-12-29 09:14:36 [2.39ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 2 - 2024-12-29 09:14:36 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 3 - 2024-12-29 09:14:36 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 4 - 2024-12-29 09:14:36 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 5 - 2024-12-29 09:14:36 [14.6ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:14:36' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicleTaxes`.`count` = 3 and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 6 - 2024-12-29 09:14:36 [10.96ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:14:36' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicleTaxes`.`count` = 3 and `vehicle`.`deleted_at` is null limit 10 offset 10;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 7 - 2024-12-29 09:14:36 [0.42ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1259 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 8 - 2024-12-29 09:14:36 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 1259 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 9 - 2024-12-29 09:14:36 [0.36ms] */
select * from `party` where `party`.`id` = 56225 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 10 - 2024-12-29 09:14:36 [0.32ms] */
select * from `company` where `company`.`id` = 616 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 11 - 2024-12-29 09:14:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 12 - 2024-12-29 09:14:36 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 13 - 2024-12-29 09:14:36 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 14 - 2024-12-29 09:14:36 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 15 - 2024-12-29 09:14:36 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 16 - 2024-12-29 09:14:36 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1259 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 17 - 2024-12-29 09:14:36 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 18 - 2024-12-29 09:14:36 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 19 - 2024-12-29 09:14:36 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 20 - 2024-12-29 09:14:36 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1289 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 21 - 2024-12-29 09:14:36 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 1289 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 22 - 2024-12-29 09:14:36 [0.21ms] */
select * from `party` where `party`.`id` = 58415 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 23 - 2024-12-29 09:14:36 [0.3ms] */
select * from `person` where `person`.`id` = 55897 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 24 - 2024-12-29 09:14:36 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 25 - 2024-12-29 09:14:36 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 26 - 2024-12-29 09:14:36 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 27 - 2024-12-29 09:14:36 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 28 - 2024-12-29 09:14:36 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 29 - 2024-12-29 09:14:36 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1289 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 30 - 2024-12-29 09:14:36 [0.18ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 31 - 2024-12-29 09:14:36 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2024-12-29 09:14:36 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2024-12-29 09:14:36 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1292 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 34 - 2024-12-29 09:14:36 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 1292 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2024-12-29 09:14:36 [0.41ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 36 - 2024-12-29 09:14:36 [0.56ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 37 - 2024-12-29 09:14:36 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 38 - 2024-12-29 09:14:36 [0.47ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 39 - 2024-12-29 09:14:36 [0.27ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 40 - 2024-12-29 09:14:36 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 41 - 2024-12-29 09:14:36 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 42 - 2024-12-29 09:14:36 [0.75ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1292 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2024-12-29 09:14:36 [0.2ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 44 - 2024-12-29 09:14:36 [0.22ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 45 - 2024-12-29 09:14:36 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 46 - 2024-12-29 09:14:36 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1298 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 47 - 2024-12-29 09:14:36 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 1298 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2024-12-29 09:14:36 [0.47ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 49 - 2024-12-29 09:14:36 [0.23ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 50 - 2024-12-29 09:14:36 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 51 - 2024-12-29 09:14:36 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 52 - 2024-12-29 09:14:36 [0.18ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2024-12-29 09:14:36 [0.18ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 54 - 2024-12-29 09:14:36 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2024-12-29 09:14:36 [0.55ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1298 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2024-12-29 09:14:36 [0.19ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 57 - 2024-12-29 09:14:36 [0.18ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2024-12-29 09:14:36 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 59 - 2024-12-29 09:14:36 [2.4ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1359 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 60 - 2024-12-29 09:14:36 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 1359 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 61 - 2024-12-29 09:14:36 [0.33ms] */
select * from `party` where `party`.`id` = 56318 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 62 - 2024-12-29 09:14:36 [0.28ms] */
select * from `company` where `company`.`id` = 709 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 63 - 2024-12-29 09:14:36 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 64 - 2024-12-29 09:14:36 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 65 - 2024-12-29 09:14:36 [0.17ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 66 - 2024-12-29 09:14:36 [0.17ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 67 - 2024-12-29 09:14:36 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2024-12-29 09:14:36 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1359 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2024-12-29 09:14:36 [0.29ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1389 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2024-12-29 09:14:36 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 1389 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 71 - 2024-12-29 09:14:36 [0.33ms] */
select * from `party` where `party`.`id` = 17194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 72 - 2024-12-29 09:14:36 [0.36ms] */
select * from `person` where `person`.`id` = 17194 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 73 - 2024-12-29 09:14:36 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 74 - 2024-12-29 09:14:36 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2024-12-29 09:14:36 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2024-12-29 09:14:36 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2024-12-29 09:14:36 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 78 - 2024-12-29 09:14:36 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1389 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 79 - 2024-12-29 09:14:36 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 2578 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 80 - 2024-12-29 09:14:36 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 2578 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 81 - 2024-12-29 09:14:36 [0.27ms] */
select * from `party` where `party`.`id` = 27397 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 82 - 2024-12-29 09:14:36 [0.3ms] */
select * from `person` where `person`.`id` = 27397 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 83 - 2024-12-29 09:14:36 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 84 - 2024-12-29 09:14:36 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2024-12-29 09:14:36 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2024-12-29 09:14:36 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2024-12-29 09:14:36 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 88 - 2024-12-29 09:14:36 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 2578 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 89 - 2024-12-29 09:14:36 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 90 - 2024-12-29 09:14:36 [0.15ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 91 - 2024-12-29 09:14:36 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 92 - 2024-12-29 09:14:36 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 5092 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 93 - 2024-12-29 09:14:36 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 5092 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2024-12-29 09:14:36 [0.27ms] */
select * from `party` where `party`.`id` = 28825 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2024-12-29 09:14:36 [0.29ms] */
select * from `person` where `person`.`id` = 28825 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2024-12-29 09:14:36 [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): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2024-12-29 09:14:36 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 98 - 2024-12-29 09:14:36 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 99 - 2024-12-29 09:14:36 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 100 - 2024-12-29 09:14:36 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 101 - 2024-12-29 09:14:36 [0.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 5092 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 102 - 2024-12-29 09:14:36 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 103 - 2024-12-29 09:14:36 [0.15ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 104 - 2024-12-29 09:14:36 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2024-12-29 09:14:36 [0.41ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88775 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 106 - 2024-12-29 09:14:36 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 88775 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 107 - 2024-12-29 09:14:36 [0.24ms] */
select * from `party` where `party`.`id` = 55103 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2024-12-29 09:14:36 [0.27ms] */
select * from `person` where `person`.`id` = 55103 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 109 - 2024-12-29 09:14:36 [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://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 110 - 2024-12-29 09:14:36 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 111 - 2024-12-29 09:14:36 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 112 - 2024-12-29 09:14:36 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 113 - 2024-12-29 09:14:36 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 114 - 2024-12-29 09:14:36 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 88775 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 115 - 2024-12-29 09:14:36 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88903 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 116 - 2024-12-29 09:14:36 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 88903 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 117 - 2024-12-29 09:14:36 [0.22ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 118 - 2024-12-29 09:14:36 [0.26ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2024-12-29 09:14:36 [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://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 120 - 2024-12-29 09:14:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 121 - 2024-12-29 09:14:36 [0.18ms] */
select * from `model` where `model`.`id` = 89 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 122 - 2024-12-29 09:14:36 [0.22ms] */
select * from `make` where `make`.`id` = 6 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 123 - 2024-12-29 09:14:36 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 15 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 124 - 2024-12-29 09:14:36 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 88903 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 125 - 2024-12-29 09:14:36 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 126 - 2024-12-29 09:14:36 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 127 - 2024-12-29 09:14:36 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 1 - 2024-12-29 09:14:47 [2.19ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 2 - 2024-12-29 09:14:47 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 3 - 2024-12-29 09:14:47 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 4 - 2024-12-29 09:14:47 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 5 - 2024-12-29 09:14:47 [0.31ms] */
select * from `vehicle` where `id` = 1292 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 6 - 2024-12-29 09:14:47 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1292 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 7 - 2024-12-29 09:14:47 [0.15ms] */
select * from `vehicle` where `id` = 1292 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 8 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1292 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 9 - 2024-12-29 09:14:47 [3.31ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 10 - 2024-12-29 09:14:47 [0.19ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 11 - 2024-12-29 09:14:47 [0.22ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 12 - 2024-12-29 09:14:47 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 13 - 2024-12-29 09:14:47 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 14 - 2024-12-29 09:14:47 [0.31ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 1292 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 15 - 2024-12-29 09:14:47 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 16 - 2024-12-29 09:14:47 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 17 - 2024-12-29 09:14:47 [0.27ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 18 - 2024-12-29 09:14:47 [0.24ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 19 - 2024-12-29 09:14:47 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 1292 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 20 - 2024-12-29 09:14:47 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 21 - 2024-12-29 09:14:47 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 22 - 2024-12-29 09:14:47 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 23 - 2024-12-29 09:14:47 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 24 - 2024-12-29 09:14:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 25 - 2024-12-29 09:14:47 [0.15ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 26 - 2024-12-29 09:14:47 [0.16ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 27 - 2024-12-29 09:14:47 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 83462 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 28 - 2024-12-29 09:14:47 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 29 - 2024-12-29 09:14:47 [0.23ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 30 - 2024-12-29 09:14:47 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 31 - 2024-12-29 09:14:47 [0.25ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 32 - 2024-12-29 09:14:47 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 1292 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 33 - 2024-12-29 09:14:47 [0.22ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 34 - 2024-12-29 09:14:47 [3.04ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 418918 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 35 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 36 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 37 - 2024-12-29 09:14:47 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 38 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 39 - 2024-12-29 09:14:47 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 100518 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 40 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 41 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 42 - 2024-12-29 09:14:47 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 43 - 2024-12-29 09:14:47 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 44 - 2024-12-29 09:14:47 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 45 - 2024-12-29 09:14:47 [0.25ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 46 - 2024-12-29 09:14:47 [0.2ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 47 - 2024-12-29 09:14:47 [0.3ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 426421 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 48 - 2024-12-29 09:14:47 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 49 - 2024-12-29 09:14:47 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 50 - 2024-12-29 09:14:47 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 51 - 2024-12-29 09:14:47 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 52 - 2024-12-29 09:14:47 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 100519 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 53 - 2024-12-29 09:14:47 [0.21ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 54 - 2024-12-29 09:14:47 [0.22ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 55 - 2024-12-29 09:14:47 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 56 - 2024-12-29 09:14:47 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 57 - 2024-12-29 09:14:47 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 58 - 2024-12-29 09:14:47 [0.19ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 59 - 2024-12-29 09:14:47 [0.23ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 60 - 2024-12-29 09:14:47 [0.41ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 442093 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 61 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 62 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 63 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 64 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 65 - 2024-12-29 09:14:47 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 100520 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 66 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 67 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 68 - 2024-12-29 09:14:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 69 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 70 - 2024-12-29 09:14:47 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 71 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 72 - 2024-12-29 09:14:47 [0.15ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 73 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 74 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 75 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 76 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 77 - 2024-12-29 09:14:47 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 100521 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 78 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 79 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 80 - 2024-12-29 09:14:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 81 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 82 - 2024-12-29 09:14:47 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 83 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 84 - 2024-12-29 09:14:47 [0.21ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 85 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 86 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 87 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 88 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 89 - 2024-12-29 09:14:47 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 100522 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 90 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 91 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 92 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 93 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 94 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 95 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 96 - 2024-12-29 09:14:47 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 97 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 98 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 99 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 100 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 101 - 2024-12-29 09:14:47 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 100523 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 102 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 103 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 104 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 105 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 106 - 2024-12-29 09:14:47 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 107 - 2024-12-29 09:14:47 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 108 - 2024-12-29 09:14:47 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 109 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 110 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 111 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 112 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 113 - 2024-12-29 09:14:47 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 100524 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 114 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 115 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 116 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 117 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 118 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 119 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 120 - 2024-12-29 09:14:47 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 121 - 2024-12-29 09:14:47 [0.23ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 453369 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 122 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 123 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 124 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 125 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 126 - 2024-12-29 09:14:47 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 100525 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 127 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 128 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 129 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 130 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 131 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 132 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 133 - 2024-12-29 09:14:47 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 134 - 2024-12-29 09:14:47 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 135 - 2024-12-29 09:14:47 [0.3ms] */
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` = 2 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 136 - 2024-12-29 09:14:47 [0.28ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 1292 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 137 - 2024-12-29 09:14:47 [0.31ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 1292 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 138 - 2024-12-29 09:14:47 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 139 - 2024-12-29 09:14:47 [0.2ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 140 - 2024-12-29 09:14:47 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 141 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 142 - 2024-12-29 09:14:47 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 143 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 144 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 145 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 146 - 2024-12-29 09:14:47 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 147 - 2024-12-29 09:14:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 148 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 149 - 2024-12-29 09:14:47 [0.24ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 150 - 2024-12-29 09:14:47 [0.21ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 29 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 151 - 2024-12-29 09:14:47 [0.35ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 100526 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 152 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 153 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 154 - 2024-12-29 09:14:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 155 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 156 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 157 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 158 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 159 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 160 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 161 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 162 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 163 - 2024-12-29 09:14:47 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 164 - 2024-12-29 09:14:47 [0.21ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 100523 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 165 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 166 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 167 - 2024-12-29 09:14:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 168 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 169 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 170 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 171 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 172 - 2024-12-29 09:14:47 [0.15ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 173 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 174 - 2024-12-29 09:14:47 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 175 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 176 - 2024-12-29 09:14:47 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 177 - 2024-12-29 09:14:47 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 100524 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 178 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 179 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 180 - 2024-12-29 09:14:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 181 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 182 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 183 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 184 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 185 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 186 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 187 - 2024-12-29 09:14:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 188 - 2024-12-29 09:14:47 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 189 - 2024-12-29 09:14:47 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 190 - 2024-12-29 09:14:47 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 100525 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 191 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 192 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 193 - 2024-12-29 09:14:47 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 194 - 2024-12-29 09:14:47 [0.18ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 195 - 2024-12-29 09:14:47 [0.18ms] */
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://testtra.puntlandgov.org/m/vehicle/1292
   Query 196 - 2024-12-29 09:14:47 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 197 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 198 - 2024-12-29 09:14:47 [0.14ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 199 - 2024-12-29 09:14:47 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 200 - 2024-12-29 09:14:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 201 - 2024-12-29 09:14:47 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 202 - 2024-12-29 09:14:47 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 203 - 2024-12-29 09:14:47 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 100517 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 204 - 2024-12-29 09:14:47 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 205 - 2024-12-29 09:14:47 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 206 - 2024-12-29 09:14:47 [0.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 207 - 2024-12-29 09:14:47 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 1292 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 208 - 2024-12-29 09:14:47 [0.13ms] */
select * from `party` where `party`.`id` = 46373 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 209 - 2024-12-29 09:14:47 [0.15ms] */
select * from `person` where `person`.`id` = 46373 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 210 - 2024-12-29 09:14:47 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83462 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 211 - 2024-12-29 09:14:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 212 - 2024-12-29 09:14:47 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 213 - 2024-12-29 09:14:47 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 214 - 2024-12-29 09:14:47 [0.24ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 215 - 2024-12-29 09:14:47 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 83462 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 216 - 2024-12-29 09:14:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 217 - 2024-12-29 09:14:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 218 - 2024-12-29 09:14:47 [0.24ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 1292 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/1292
   Query 219 - 2024-12-29 09:14:47 [0.23ms] */
select * from `title_reprint_history` where `vehicle_id` = 1292 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=1292&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-29 09:14:48 [2.24ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=1292&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-29 09:14:48 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=1292&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-29 09:14:48 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=1292&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-29 09:14:48 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=1292&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-29 09:14:48 [7.96ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 1292 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 1 - 2024-12-29 09:15:50 [2.06ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 2 - 2024-12-29 09:15:50 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 3 - 2024-12-29 09:15:50 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 4 - 2024-12-29 09:15:50 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 5 - 2024-12-29 09:15:50 [47.28ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:15:50' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 6 - 2024-12-29 09:15:50 [15.83ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-29 09:15:50' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 10;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 7 - 2024-12-29 09:15:50 [0.38ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 8 - 2024-12-29 09:15:50 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 9 - 2024-12-29 09:15:50 [0.14ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 10 - 2024-12-29 09:15:50 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 11 - 2024-12-29 09:15:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 12 - 2024-12-29 09:15:50 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 13 - 2024-12-29 09:15:50 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 14 - 2024-12-29 09:15:50 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 15 - 2024-12-29 09:15:50 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 16 - 2024-12-29 09:15:50 [1.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 62 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 17 - 2024-12-29 09:15:50 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 18 - 2024-12-29 09:15:50 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 63 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 19 - 2024-12-29 09:15:50 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 63 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 20 - 2024-12-29 09:15:50 [0.53ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 21 - 2024-12-29 09:15:50 [0.42ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 22 - 2024-12-29 09:15:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 23 - 2024-12-29 09:15:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 24 - 2024-12-29 09:15:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 25 - 2024-12-29 09:15:50 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 26 - 2024-12-29 09:15:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 27 - 2024-12-29 09:15:50 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 63 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 28 - 2024-12-29 09:15:50 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 29 - 2024-12-29 09:15:50 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 30 - 2024-12-29 09:15:50 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 71 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 31 - 2024-12-29 09:15:50 [0.14ms] */
select * from `party` where `party`.`id` = 27057 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 32 - 2024-12-29 09:15:50 [0.14ms] */
select * from `person` where `person`.`id` = 27057 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 33 - 2024-12-29 09:15:50 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 34 - 2024-12-29 09:15:50 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 35 - 2024-12-29 09:15:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 36 - 2024-12-29 09:15:50 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 37 - 2024-12-29 09:15:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 38 - 2024-12-29 09:15:50 [0.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 71 and date(`term`.`first_date_of_quarter`) <= '2024-12-29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 39 - 2024-12-29 09:15:50 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax?page=2
   Query 40 - 2024-12-29 09:15:50 [0.14ms] */
