select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 23 - 2024-12-30 09:26:56 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 24 - 2024-12-30 09:26:56 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2024-12-30 09:26:56 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102489 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2024-12-30 09:26:56 [0.21ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2024-12-30 09:26:56', 102489, 89718, '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2024-12-30 09:26:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102489 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2024-12-30 09:26:56 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102489 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2024-12-30 09:26:56 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102489 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2024-12-30 09:26:56 [0.24ms] */
update `invoice` set `invoice_amount` = 7, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 7, `status` = 'PAID', `invoice`.`updated_at` = '2024-12-30 09:26:56' where `id` = 102489;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2024-12-30 09:26:56 [0.18ms] */
select * from `invoice` where `id` = 102489 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2024-12-30 09:26:56 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"7.00","status":"OPEN"}}', 5, 'App\Models\User', 102489, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-30 09:26:56', '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2024-12-30 09:26:56 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2024-12-30 09:26:56 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2024-12-30 09:26:56 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 36 - 2024-12-30 09:26:56 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2024-12-30 09:26:56 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2024-12-30 09:26:56 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102920, 'PAID', '2024-12-30 09:26:56', 7, 5, null, 5, 5, '2024-12-30 09:26:56', '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2024-12-30 09:26:56 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2024-12-30 09:26:56 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2024-12-30 09:26:56' where `id` = 102920;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2024-12-30 09:26:56 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2024-12-30 09:26:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102489 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2024-12-30 09:26:56 [0.26ms] */
select * from `vehicle_tax` where `transaction_id` = 102920 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2024-12-30 09:26:56 [0.19ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2024-12-30 09:26:56' where `id` = 99394;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2024-12-30 09:26:56 [0.18ms] */
select * from `vehicle_tax` where `id` = 99394 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2024-12-30 09:26:56 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99394, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-30 09:26:56', '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2024-12-30 09:26:56 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102490 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2024-12-30 09:26:56 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 102490 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2024-12-30 09:26:56 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2024-12-30 09:26:56', 102490, 89718, '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2024-12-30 09:26:56 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102490 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2024-12-30 09:26:56 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102490 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2024-12-30 09:26:56 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2024-12-30 09:26:56' where `id` = 102490;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2024-12-30 09:26:56 [0.19ms] */
select * from `invoice` where `id` = 102490 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2024-12-30 09:26:56 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"7.00","status":"OPEN"}}', 5, 'App\Models\User', 102490, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-30 09:26:56', '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2024-12-30 09:26:56 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2024-12-30 09:26:56 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2024-12-30 09:26:56 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 58 - 2024-12-30 09:26:56 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2024-12-30 09:26:56 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2024-12-30 09:26:56 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102921, 'PAID', '2024-12-30 09:26:56', 7, 5, null, 5, 5, '2024-12-30 09:26:56', '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2024-12-30 09:26:56 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2024-12-30 09:26:56 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2024-12-30 09:26:56' where `id` = 102921;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2024-12-30 09:26:56 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2024-12-30 09:26:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102490 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 65 - 2024-12-30 09:26:56 [0.16ms] */
insert into `payment_confirmation` (`payment_id`, `gov_fee_tr_id`, `serv_fee_tr_id`, `text`, `attachment`, `updated_at`, `created_at`) values (89718, 5283176384, 5283176384, 'asdasd', 'payment_confirmation/Payment-Confirmation-TR102921-INV-102490.png', '2024-12-30 09:26:56', '2024-12-30 09:26:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-30 09:26:59 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-30 09:26:59 [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-30 09:26:59 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-30 09:26:59 [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-30 09:26:59 [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-30 09:26:59 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-30 09:26:59 [0.37ms] */
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` = '14HP111' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-30 09:26:59 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-30 09:26:59 [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-30 09:26:59 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-30 09:26:59 [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-30 09:26:59 [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-30 09:26:59 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-30 09:26:59 [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` = '14HP111' 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-30 09:27:00 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-30 09:27:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-30 09:27:00 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-30 09:27:00 [0.17ms] */
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-30 09:27:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-30 09:27:00 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-30 09:27:00 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-30 09:27:00 [0.15ms] */
select * from `vehicle` where `id` = 89933 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-30 09:27:00 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 89933 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-30 09:27:00 [0.59ms] */
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` = 89933 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): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-30 09:27:00 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-30 09:27:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-30 09:27:00 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-30 09:27:00 [0.17ms] */
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-30 09:27:00 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-30 09:27:00 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-30 09:27:00 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-30 09:27:00 [0.14ms] */
select * from `vehicle` where `id` = 89933 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-30 09:27:00 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89933 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-30 09:27:00 [0.23ms] */
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` = 89933 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-30 09:27:01 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-30 09:27:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-30 09:27:01 [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-30 09:27:01 [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-30 09:27:01 [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-30 09:27:01 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-30 09:27:01 [0.26ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2024-12-30 09:27:01 [1.55ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-30 09:27:01 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-30 09:27:01 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-30 09:27:01 [0.21ms] */
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-30 09:27:01 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-30 09:27:01 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-30 09:27:01 [0.28ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-30 09:27:01 [1.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-30 09:27:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-30 09:27:01 [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-30 09:27:01 [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-30 09:27:01 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-30 09:27:01 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-30 09:27:01 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-30 09:27:01 [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-30 09:27:01 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-30 09:27:01 [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-30 09:27:01 [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-30 09:27:01 [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-30 09:27:01 [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-30 09:27:01 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 1 - 2024-12-30 09:27:14 [1.37ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 2 - 2024-12-30 09:27:14 [0.42ms] */
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
   Query 3 - 2024-12-30 09:27:14 [0.34ms] */
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
   Query 4 - 2024-12-30 09:27:14 [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/m/vehicle
   Query 5 - 2024-12-30 09:27:14 [0.47ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 6 - 2024-12-30 09:27:14 [0.41ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2024-12-30 09:27:14 [125.07ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 8 - 2024-12-30 09:27:15 [241.78ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 9 - 2024-12-30 09:27:15 [0.55ms] */
select * from `model` where `model`.`id` in (1, 3, 4, 15, 2039, 3251) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 10 - 2024-12-30 09:27:15 [0.4ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 2, 8, 10, 12) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 11 - 2024-12-30 09:27:15 [0.44ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 3, 12, 312, 683, 780, 802) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 12 - 2024-12-30 09:27:15 [0.41ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 13 - 2024-12-30 09:27:15 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 4, 5, 6, 7, 19) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 14 - 2024-12-30 09:27:15 [0.46ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (60, 414, 461, 497, 89501, 89506, 89507, 89508, 89739, 89937) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 15 - 2024-12-30 09:27:15 [3.41ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 16 - 2024-12-30 09:27:15 [0.22ms] */
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
   Query 17 - 2024-12-30 09:27:15 [0.34ms] */
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/m/vehicle
   Query 18 - 2024-12-30 09:27:15 [0.17ms] */
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/m/vehicle
   Query 19 - 2024-12-30 09:27:15 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 20 - 2024-12-30 09:27:15 [0.43ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 60 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 21 - 2024-12-30 09:27:15 [0.35ms] */
select * from `party` where `party`.`id` = 3054 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 22 - 2024-12-30 09:27:15 [0.45ms] */
select * from `person` where `person`.`id` = 3054 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 23 - 2024-12-30 09:27:15 [0.17ms] */
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/m/vehicle
   Query 24 - 2024-12-30 09:27:15 [0.17ms] */
select * from `party` where `party`.`id` = 3054 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 25 - 2024-12-30 09:27:15 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 26 - 2024-12-30 09:27:15 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 27 - 2024-12-30 09:27:15 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 414 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 28 - 2024-12-30 09:27:15 [0.32ms] */
select * from `party` where `party`.`id` = 25228 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 29 - 2024-12-30 09:27:15 [0.34ms] */
select * from `person` where `person`.`id` = 25228 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 30 - 2024-12-30 09:27:15 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 31 - 2024-12-30 09:27:15 [0.17ms] */
select * from `party` where `party`.`id` = 25228 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 32 - 2024-12-30 09:27:15 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 33 - 2024-12-30 09:27:15 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 34 - 2024-12-30 09:27:15 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 497 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 35 - 2024-12-30 09:27:15 [0.32ms] */
select * from `party` where `party`.`id` = 55905 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 36 - 2024-12-30 09:27:15 [0.36ms] */
select * from `company` where `company`.`id` = 296 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 37 - 2024-12-30 09:27:15 [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
   Query 38 - 2024-12-30 09:27:15 [0.2ms] */
select * from `party` where `party`.`id` = 55905 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 39 - 2024-12-30 09:27:15 [0.28ms] */
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/m/vehicle
   Query 40 - 2024-12-30 09:27:15 [0.18ms] */
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
   Query 41 - 2024-12-30 09:27:15 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 461 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 42 - 2024-12-30 09:27:15 [0.31ms] */
select * from `party` where `party`.`id` = 55873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 43 - 2024-12-30 09:27:15 [0.28ms] */
select * from `company` where `company`.`id` = 264 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 44 - 2024-12-30 09:27:15 [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/m/vehicle
   Query 45 - 2024-12-30 09:27:15 [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/m/vehicle
   Query 46 - 2024-12-30 09:27:15 [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/m/vehicle
   Query 47 - 2024-12-30 09:27:15 [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
   Query 48 - 2024-12-30 09:27:15 [0.23ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 49 - 2024-12-30 09:27:15 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89739 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 50 - 2024-12-30 09:27:15 [0.28ms] */
select * from `party` where `party`.`id` = 32952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 51 - 2024-12-30 09:27:15 [0.3ms] */
select * from `person` where `person`.`id` = 32952 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 52 - 2024-12-30 09:27:15 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 53 - 2024-12-30 09:27:15 [0.15ms] */
select * from `party` where `party`.`id` = 32952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 54 - 2024-12-30 09:27:15 [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/m/vehicle
   Query 55 - 2024-12-30 09:27:15 [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
   Query 56 - 2024-12-30 09:27:15 [0.22ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 57 - 2024-12-30 09:27:15 [0.3ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89508 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 58 - 2024-12-30 09:27:15 [0.29ms] */
select * from `party` where `party`.`id` = 53092 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 59 - 2024-12-30 09:27:15 [0.3ms] */
select * from `person` where `person`.`id` = 53092 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 60 - 2024-12-30 09:27:15 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 61 - 2024-12-30 09:27:15 [0.15ms] */
select * from `party` where `party`.`id` = 53092 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 62 - 2024-12-30 09:27:15 [0.23ms] */
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/m/vehicle
   Query 63 - 2024-12-30 09:27:15 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 64 - 2024-12-30 09:27:15 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89501 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 65 - 2024-12-30 09:27:15 [0.27ms] */
select * from `party` where `party`.`id` = 24384 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 66 - 2024-12-30 09:27:15 [0.33ms] */
select * from `person` where `person`.`id` = 24384 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 67 - 2024-12-30 09:27:15 [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
   Query 68 - 2024-12-30 09:27:15 [0.15ms] */
select * from `party` where `party`.`id` = 24384 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 69 - 2024-12-30 09:27:15 [0.21ms] */
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/m/vehicle
   Query 70 - 2024-12-30 09:27:15 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 71 - 2024-12-30 09:27:15 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 72 - 2024-12-30 09:27:15 [0.57ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89506 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 73 - 2024-12-30 09:27:15 [0.55ms] */
select * from `party` where `party`.`id` = 25420 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 74 - 2024-12-30 09:27:15 [0.58ms] */
select * from `person` where `person`.`id` = 25420 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 75 - 2024-12-30 09:27:15 [0.18ms] */
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
   Query 76 - 2024-12-30 09:27:15 [0.23ms] */
select * from `party` where `party`.`id` = 25420 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 77 - 2024-12-30 09:27:15 [0.22ms] */
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/m/vehicle
   Query 78 - 2024-12-30 09:27:15 [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
   Query 79 - 2024-12-30 09:27:15 [0.2ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 80 - 2024-12-30 09:27:15 [0.59ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89507 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 81 - 2024-12-30 09:27:15 [0.5ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 82 - 2024-12-30 09:27:15 [0.56ms] */
select * from `person` where `person`.`id` = 49236 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 83 - 2024-12-30 09:27:15 [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
   Query 84 - 2024-12-30 09:27:15 [0.2ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 85 - 2024-12-30 09:27:15 [0.26ms] */
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/m/vehicle
   Query 86 - 2024-12-30 09:27:15 [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
   Query 87 - 2024-12-30 09:27:15 [0.18ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 88 - 2024-12-30 09:27:15 [0.35ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89937 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 89 - 2024-12-30 09:27:15 [0.31ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 90 - 2024-12-30 09:27:15 [0.36ms] */
select * from `person` where `person`.`id` = 54995 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 91 - 2024-12-30 09:27:15 [0.18ms] */
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
   Query 92 - 2024-12-30 09:27:15 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2024-12-30 09:27:17 [2.11ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2024-12-30 09:27:17 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2024-12-30 09:27:17 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2024-12-30 09:27:17 [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/vehicle.list-vehicle-component
   Query 5 - 2024-12-30 09:27:17 [0.35ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2024-12-30 09:27:17 [0.35ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2024-12-30 09:27:17 [119.41ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%14HP111%' or `vin` like '%14HP111%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2024-12-30 09:27:18 [141.2ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%14HP111%' or `vin` like '%14HP111%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2024-12-30 09:27:18 [0.27ms] */
select * from `model` where `model`.`id` in (15) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2024-12-30 09:27:18 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (5) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2024-12-30 09:27:18 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (12) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2024-12-30 09:27:18 [0.25ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2024-12-30 09:27:18 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (4) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2024-12-30 09:27:18 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (89933) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2024-12-30 09:27:18 [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/vehicle.list-vehicle-component
   Query 16 - 2024-12-30 09:27:18 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2024-12-30 09:27:18 [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/vehicle.list-vehicle-component
   Query 18 - 2024-12-30 09:27:18 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2024-12-30 09:27:18 [0.17ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2024-12-30 09:27:18 [0.25ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2024-12-30 09:27:18 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2024-12-30 09:27:18 [0.15ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 1 - 2024-12-30 09:27:19 [2.24ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 2 - 2024-12-30 09:27:19 [0.76ms] */
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/89933
   Query 3 - 2024-12-30 09:27:19 [0.62ms] */
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/89933
   Query 4 - 2024-12-30 09:27:19 [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/89933
   Query 5 - 2024-12-30 09:27:19 [0.31ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 6 - 2024-12-30 09:27:19 [0.3ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 7 - 2024-12-30 09:27:19 [0.15ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 8 - 2024-12-30 09:27:19 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 9 - 2024-12-30 09:27:19 [1.29ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 10 - 2024-12-30 09:27:19 [0.23ms] */
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/89933
   Query 11 - 2024-12-30 09:27:19 [0.32ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 12 - 2024-12-30 09:27:19 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 13 - 2024-12-30 09:27:19 [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/m/vehicle/89933
   Query 14 - 2024-12-30 09:27:19 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 15 - 2024-12-30 09:27:19 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 16 - 2024-12-30 09:27:19 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 17 - 2024-12-30 09:27:19 [0.24ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 18 - 2024-12-30 09:27:19 [0.21ms] */
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/89933
   Query 19 - 2024-12-30 09:27:19 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 20 - 2024-12-30 09:27:19 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 21 - 2024-12-30 09:27:19 [0.14ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 22 - 2024-12-30 09:27:19 [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/89933
   Query 23 - 2024-12-30 09:27:19 [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/m/vehicle/89933
   Query 24 - 2024-12-30 09:27:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 25 - 2024-12-30 09:27:19 [0.2ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 26 - 2024-12-30 09:27:19 [0.16ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 27 - 2024-12-30 09:27:19 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 102919 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 28 - 2024-12-30 09:27:19 [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 `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 89933 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 29 - 2024-12-30 09:27:19 [0.2ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 30 - 2024-12-30 09:27:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 31 - 2024-12-30 09:27:19 [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/m/vehicle/89933
   Query 32 - 2024-12-30 09:27:19 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 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/89933
   Query 33 - 2024-12-30 09:27:19 [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/89933
   Query 34 - 2024-12-30 09:27:19 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 35 - 2024-12-30 09:27:19 [0.15ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 36 - 2024-12-30 09:27:19 [0.36ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 37 - 2024-12-30 09:27:19 [0.29ms] */
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/89933
   Query 38 - 2024-12-30 09:27:19 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 39 - 2024-12-30 09:27:19 [0.44ms] */
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/89933
   Query 40 - 2024-12-30 09:27:19 [0.36ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 41 - 2024-12-30 09:27:19 [0.41ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 42 - 2024-12-30 09:27:19 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 43 - 2024-12-30 09:27:19 [0.31ms] */
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/89933
   Query 44 - 2024-12-30 09:27:19 [0.3ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 45 - 2024-12-30 09:27:19 [0.31ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 46 - 2024-12-30 09:27:19 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 47 - 2024-12-30 09:27:19 [0.24ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 48 - 2024-12-30 09:27:19 [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/89933
   Query 49 - 2024-12-30 09:27:19 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 50 - 2024-12-30 09:27:19 [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/89933
   Query 51 - 2024-12-30 09:27:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 52 - 2024-12-30 09:27:19 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 53 - 2024-12-30 09:27:19 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 54 - 2024-12-30 09:27:19 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 55 - 2024-12-30 09:27:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 56 - 2024-12-30 09:27:19 [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/m/vehicle/89933
   Query 57 - 2024-12-30 09:27:19 [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/89933
   Query 58 - 2024-12-30 09:27:19 [0.24ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 28 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 59 - 2024-12-30 09:27:19 [0.33ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102921 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/89933
   Query 60 - 2024-12-30 09:27:19 [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/89933
   Query 61 - 2024-12-30 09:27:19 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 62 - 2024-12-30 09:27:19 [0.21ms] */
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/89933
   Query 63 - 2024-12-30 09:27:19 [0.19ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 64 - 2024-12-30 09:27:19 [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/89933
   Query 65 - 2024-12-30 09:27:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 66 - 2024-12-30 09:27:19 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 67 - 2024-12-30 09:27:19 [0.14ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 68 - 2024-12-30 09:27:19 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 69 - 2024-12-30 09:27:19 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 70 - 2024-12-30 09:27:19 [0.12ms] */
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/m/vehicle/89933
   Query 71 - 2024-12-30 09:27:19 [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/89933
   Query 72 - 2024-12-30 09:27:19 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102919 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/89933
   Query 73 - 2024-12-30 09:27:19 [0.25ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89933 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 74 - 2024-12-30 09:27:19 [0.23ms] */
select * from `title_reprint_history` where `vehicle_id` = 89933 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-30 09:27:20 [1.41ms] */
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=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-30 09:27:20 [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/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-30 09:27:20 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-30 09:27:20 [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/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-30 09:27:20 [0.65ms] */
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 = 89933 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 1 - 2024-12-30 09:27:31 [2.64ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 2 - 2024-12-30 09:27:31 [0.73ms] */
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/89933
   Query 3 - 2024-12-30 09:27:31 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 4 - 2024-12-30 09:27:31 [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/m/vehicle/89933
   Query 5 - 2024-12-30 09:27:31 [0.19ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 6 - 2024-12-30 09:27:31 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 7 - 2024-12-30 09:27:31 [0.15ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 8 - 2024-12-30 09:27:31 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 9 - 2024-12-30 09:27:31 [1.27ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 10 - 2024-12-30 09:27:31 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 11 - 2024-12-30 09:27:32 [0.18ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 12 - 2024-12-30 09:27:32 [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/89933
   Query 13 - 2024-12-30 09:27:32 [0.14ms] */
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/m/vehicle/89933
   Query 14 - 2024-12-30 09:27:32 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 15 - 2024-12-30 09:27:32 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 16 - 2024-12-30 09:27:32 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 17 - 2024-12-30 09:27:32 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 18 - 2024-12-30 09:27:32 [0.14ms] */
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/89933
   Query 19 - 2024-12-30 09:27:32 [0.44ms] */
select * from `party_vehicle` where `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 20 - 2024-12-30 09:27:32 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 21 - 2024-12-30 09:27:32 [0.28ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 22 - 2024-12-30 09:27:32 [0.26ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 23 - 2024-12-30 09:27:32 [0.27ms] */
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/m/vehicle/89933
   Query 24 - 2024-12-30 09:27:32 [0.29ms] */
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/89933
   Query 25 - 2024-12-30 09:27:32 [0.24ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 26 - 2024-12-30 09:27:32 [0.26ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 27 - 2024-12-30 09:27:32 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 102919 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 28 - 2024-12-30 09:27:32 [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 `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 89933 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 29 - 2024-12-30 09:27:32 [0.22ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 30 - 2024-12-30 09:27:32 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 31 - 2024-12-30 09:27:32 [0.24ms] */
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/m/vehicle/89933
   Query 32 - 2024-12-30 09:27:32 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 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/89933
   Query 33 - 2024-12-30 09:27:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 34 - 2024-12-30 09:27:32 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 35 - 2024-12-30 09:27:32 [0.23ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 36 - 2024-12-30 09:27:32 [0.24ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 37 - 2024-12-30 09:27:32 [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/89933
   Query 38 - 2024-12-30 09:27:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 39 - 2024-12-30 09:27:32 [0.15ms] */
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/89933
   Query 40 - 2024-12-30 09:27:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 41 - 2024-12-30 09:27:32 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 42 - 2024-12-30 09:27:32 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 43 - 2024-12-30 09:27:32 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 2 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 44 - 2024-12-30 09:27:32 [0.17ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 45 - 2024-12-30 09:27:32 [0.18ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 46 - 2024-12-30 09:27:32 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 47 - 2024-12-30 09:27:32 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 48 - 2024-12-30 09:27:32 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 49 - 2024-12-30 09:27:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 50 - 2024-12-30 09:27:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 51 - 2024-12-30 09:27:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 52 - 2024-12-30 09:27:32 [0.15ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 53 - 2024-12-30 09:27:32 [0.16ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 54 - 2024-12-30 09:27:32 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 55 - 2024-12-30 09:27:32 [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/89933
   Query 56 - 2024-12-30 09:27:32 [0.14ms] */
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/m/vehicle/89933
   Query 57 - 2024-12-30 09:27:32 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 58 - 2024-12-30 09:27:32 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 28 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 59 - 2024-12-30 09:27:32 [0.21ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102921 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/89933
   Query 60 - 2024-12-30 09:27:32 [0.25ms] */
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/89933
   Query 61 - 2024-12-30 09:27:32 [0.23ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 62 - 2024-12-30 09:27:32 [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/89933
   Query 63 - 2024-12-30 09:27:32 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 64 - 2024-12-30 09:27:32 [0.25ms] */
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/89933
   Query 65 - 2024-12-30 09:27:32 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 66 - 2024-12-30 09:27:32 [0.25ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 67 - 2024-12-30 09:27:32 [0.25ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 68 - 2024-12-30 09:27:32 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 69 - 2024-12-30 09:27:32 [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/m/vehicle/89933
   Query 70 - 2024-12-30 09:27:32 [0.16ms] */
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/m/vehicle/89933
   Query 71 - 2024-12-30 09:27:32 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 72 - 2024-12-30 09:27:32 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102919 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/89933
   Query 73 - 2024-12-30 09:27:32 [0.54ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89933 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 74 - 2024-12-30 09:27:32 [0.24ms] */
select * from `title_reprint_history` where `vehicle_id` = 89933 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-30 09:27:32 [2.58ms] */
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=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-30 09:27:32 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-30 09:27:32 [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/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-30 09:27:32 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89933&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-30 09:27:32 [0.19ms] */
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 = 89933 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 1 - 2024-12-30 09:27:36 [2.33ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 2 - 2024-12-30 09:27:36 [0.75ms] */
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/trns/i/102489
   Query 3 - 2024-12-30 09:27:36 [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/m/trns/i/102489
   Query 4 - 2024-12-30 09:27:36 [0.5ms] */
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/trns/i/102489
   Query 5 - 2024-12-30 09:27:36 [0.53ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 6 - 2024-12-30 09:27:36 [0.27ms] */
select * from `invoice` where `id` = 102489 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 7 - 2024-12-30 09:27:36 [0.26ms] */
select * from `transaction` where `transaction`.`id` in (102920) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 8 - 2024-12-30 09:27:36 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` in (89933) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 9 - 2024-12-30 09:27:36 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 10 - 2024-12-30 09:27:36 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 11 - 2024-12-30 09:27:36 [0.21ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 12 - 2024-12-30 09:27:36 [0.3ms] */
select * from `party` where `party`.`id` in (4102) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 13 - 2024-12-30 09:27:36 [0.28ms] */
select * from `address` where `address`.`id` in (4102) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 14 - 2024-12-30 09:27:36 [0.29ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 15 - 2024-12-30 09:27:36 [0.16ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 16 - 2024-12-30 09:27:36 [0.21ms] */
select * from `address` where `address`.`id` = 4102 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 17 - 2024-12-30 09:27:36 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102489 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 18 - 2024-12-30 09:27:36 [0.42ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102489 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 19 - 2024-12-30 09:27:36 [0.22ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 102489 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 20 - 2024-12-30 09:27:36 [0.23ms] */
select * from `Payment` where `Payment`.`id` = 89718 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102489
   Query 21 - 2024-12-30 09:27:36 [0.2ms] */
select * from `payment_method` where `payment_method`.`id` = 5 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 1 - 2024-12-30 09:27:59 [1.48ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 2 - 2024-12-30 09:27:59 [0.45ms] */
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/89933
   Query 3 - 2024-12-30 09:27:59 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 4 - 2024-12-30 09:27:59 [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/m/vehicle/89933
   Query 5 - 2024-12-30 09:27:59 [0.4ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 6 - 2024-12-30 09:27:59 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 7 - 2024-12-30 09:27:59 [0.15ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 8 - 2024-12-30 09:27:59 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 9 - 2024-12-30 09:27:59 [3.61ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 10 - 2024-12-30 09:27:59 [0.22ms] */
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/89933
   Query 11 - 2024-12-30 09:28:00 [0.47ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 12 - 2024-12-30 09:28:00 [0.22ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 13 - 2024-12-30 09:28:00 [0.47ms] */
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/m/vehicle/89933
   Query 14 - 2024-12-30 09:28:00 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 15 - 2024-12-30 09:28:00 [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/m/vehicle/89933
   Query 16 - 2024-12-30 09:28:00 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 17 - 2024-12-30 09:28:00 [0.22ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 18 - 2024-12-30 09:28:00 [0.2ms] */
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/89933
   Query 19 - 2024-12-30 09:28:00 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 20 - 2024-12-30 09:28:00 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 21 - 2024-12-30 09:28:00 [0.14ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 22 - 2024-12-30 09:28:00 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 23 - 2024-12-30 09:28:00 [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/m/vehicle/89933
   Query 24 - 2024-12-30 09:28:00 [0.29ms] */
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/89933
   Query 25 - 2024-12-30 09:28:00 [0.87ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 26 - 2024-12-30 09:28:00 [0.31ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 27 - 2024-12-30 09:28:00 [0.73ms] */
select * from `transaction` where `transaction`.`id` = 102919 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 28 - 2024-12-30 09:28:00 [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 `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 89933 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 29 - 2024-12-30 09:28:00 [0.31ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 30 - 2024-12-30 09:28:00 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 31 - 2024-12-30 09:28:00 [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/m/vehicle/89933
   Query 32 - 2024-12-30 09:28:00 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 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/89933
   Query 33 - 2024-12-30 09:28:00 [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/89933
   Query 34 - 2024-12-30 09:28:00 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 35 - 2024-12-30 09:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 36 - 2024-12-30 09:28:00 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 37 - 2024-12-30 09:28:00 [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/89933
   Query 38 - 2024-12-30 09:28:00 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 39 - 2024-12-30 09:28:00 [0.51ms] */
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/89933
   Query 40 - 2024-12-30 09:28:00 [0.21ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 41 - 2024-12-30 09:28:00 [0.23ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 42 - 2024-12-30 09:28:00 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 43 - 2024-12-30 09:28:00 [0.4ms] */
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/89933
   Query 44 - 2024-12-30 09:28:00 [0.48ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 45 - 2024-12-30 09:28:00 [0.35ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 46 - 2024-12-30 09:28:00 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 47 - 2024-12-30 09:28:00 [0.26ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 48 - 2024-12-30 09:28:00 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 49 - 2024-12-30 09:28:00 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 50 - 2024-12-30 09:28:00 [0.2ms] */
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/89933
   Query 51 - 2024-12-30 09:28:00 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 52 - 2024-12-30 09:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 53 - 2024-12-30 09:28:00 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 54 - 2024-12-30 09:28:00 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 55 - 2024-12-30 09:28:00 [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/89933
   Query 56 - 2024-12-30 09:28:00 [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/m/vehicle/89933
   Query 57 - 2024-12-30 09:28:00 [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/89933
   Query 58 - 2024-12-30 09:28:00 [0.21ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 28 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 59 - 2024-12-30 09:28:00 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102921 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/89933
   Query 60 - 2024-12-30 09:28:00 [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/89933
   Query 61 - 2024-12-30 09:28:00 [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/89933
   Query 62 - 2024-12-30 09:28:00 [0.4ms] */
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/89933
   Query 63 - 2024-12-30 09:28:00 [0.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 64 - 2024-12-30 09:28:00 [0.23ms] */
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/89933
   Query 65 - 2024-12-30 09:28:00 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 66 - 2024-12-30 09:28:00 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 67 - 2024-12-30 09:28:00 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 68 - 2024-12-30 09:28:00 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 69 - 2024-12-30 09:28:00 [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/89933
   Query 70 - 2024-12-30 09:28:00 [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/m/vehicle/89933
   Query 71 - 2024-12-30 09:28:00 [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/89933
   Query 72 - 2024-12-30 09:28:00 [0.46ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102919 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/89933
   Query 73 - 2024-12-30 09:28:00 [0.7ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89933 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 74 - 2024-12-30 09:28:00 [0.94ms] */
select * from `title_reprint_history` where `vehicle_id` = 89933 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 1 - 2024-12-30 09:28:32 [1.36ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 2 - 2024-12-30 09:28:32 [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/w/wkflw/102921
   Query 3 - 2024-12-30 09:28:32 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 4 - 2024-12-30 09:28:32 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 5 - 2024-12-30 09:28:32 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 6 - 2024-12-30 09:28:32 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 7 - 2024-12-30 09:28:32 [0.3ms] */
select * from `invoice` where `transaction_id` = 102921 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 8 - 2024-12-30 09:28:32 [0.31ms] */
select * from `invoice_payment` where `invoice_id` = 102490;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 9 - 2024-12-30 09:28:32 [0.25ms] */
select * from `payment_confirmation` where `payment_id` = 89718 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 10 - 2024-12-30 09:28:32 [0.3ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102921 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 11 - 2024-12-30 09:28:32 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 12 - 2024-12-30 09:28:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 13 - 2024-12-30 09:28:32 [0.15ms] */
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/w/wkflw/102921
   Query 14 - 2024-12-30 09:28:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 15 - 2024-12-30 09:28:32 [0.28ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 16 - 2024-12-30 09:28:32 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 17 - 2024-12-30 09:28:32 [26.07ms] */
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 `transaction`.`parent_id` = 102921 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 18 - 2024-12-30 09:28:32 [17.93ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 102921 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 19 - 2024-12-30 09:28:32 [0.39ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 20 - 2024-12-30 09:28:32 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 21 - 2024-12-30 09:28:32 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 102489 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 22 - 2024-12-30 09:28:32 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 23 - 2024-12-30 09:28:32 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 24 - 2024-12-30 09:28:32 [0.63ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 25 - 2024-12-30 09:28:32 [26.91ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 26 - 2024-12-30 09:28:32 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 27 - 2024-12-30 09:28:32 [0.7ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 28 - 2024-12-30 09:28:32 [0.47ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 29 - 2024-12-30 09:28:32 [0.18ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 30 - 2024-12-30 09:28:32 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 31 - 2024-12-30 09:28:32 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 32 - 2024-12-30 09:28:32 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 33 - 2024-12-30 09:28:32 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 34 - 2024-12-30 09:28:32 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 35 - 2024-12-30 09:28:32 [0.14ms] */
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/w/wkflw/102921
   Query 36 - 2024-12-30 09:28:32 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 37 - 2024-12-30 09:28:32 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 38 - 2024-12-30 09:28:32 [0.15ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 39 - 2024-12-30 09:28:32 [0.57ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 40 - 2024-12-30 09:28:32 [0.17ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 41 - 2024-12-30 09:28:32 [4.41ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 4102 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 42 - 2024-12-30 09:28:32 [0.65ms] */
select * from `address` where `address`.`id` = 4102 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 43 - 2024-12-30 09:28:32 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 44 - 2024-12-30 09:28:32 [0.6ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 45 - 2024-12-30 09:28:32 [1.44ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 46 - 2024-12-30 09:28:32 [0.56ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 47 - 2024-12-30 09:28:32 [0.22ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 48 - 2024-12-30 09:28:32 [0.22ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 49 - 2024-12-30 09:28:32 [0.19ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 50 - 2024-12-30 09:28:32 [0.13ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 51 - 2024-12-30 09:28:32 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 52 - 2024-12-30 09:28:32 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 53 - 2024-12-30 09:28:32 [0.53ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 54 - 2024-12-30 09:28:32 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 55 - 2024-12-30 09:28:32 [1.25ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 56 - 2024-12-30 09:28:32 [3.89ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 57 - 2024-12-30 09:28:32 [0.27ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 58 - 2024-12-30 09:28:32 [0.22ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 59 - 2024-12-30 09:28:32 [0.26ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 60 - 2024-12-30 09:28:32 [0.22ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 61 - 2024-12-30 09:28:32 [0.19ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 62 - 2024-12-30 09:28:32 [0.42ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 63 - 2024-12-30 09:28:32 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 64 - 2024-12-30 09:28:32 [0.19ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 65 - 2024-12-30 09:28:32 [0.22ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 66 - 2024-12-30 09:28:32 [0.81ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 67 - 2024-12-30 09:28:32 [1.46ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 68 - 2024-12-30 09:28:32 [1.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 1 - 2024-12-30 09:29:26 [1.54ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 2 - 2024-12-30 09:29:26 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 3 - 2024-12-30 09:29:26 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 4 - 2024-12-30 09:29:26 [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/m/trns/i/102490
   Query 5 - 2024-12-30 09:29:26 [0.31ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 6 - 2024-12-30 09:29:26 [0.26ms] */
select * from `invoice` where `id` = 102490 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 7 - 2024-12-30 09:29:26 [0.34ms] */
select * from `transaction` where `transaction`.`id` in (102921) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 8 - 2024-12-30 09:29:26 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (89933) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 9 - 2024-12-30 09:29:26 [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/trns/i/102490
   Query 10 - 2024-12-30 09:29:26 [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/trns/i/102490
   Query 11 - 2024-12-30 09:29:26 [0.2ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 12 - 2024-12-30 09:29:26 [0.26ms] */
select * from `party` where `party`.`id` in (4102) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 13 - 2024-12-30 09:29:26 [0.21ms] */
select * from `address` where `address`.`id` in (4102) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 14 - 2024-12-30 09:29:26 [0.21ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 15 - 2024-12-30 09:29:26 [0.26ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 16 - 2024-12-30 09:29:26 [0.24ms] */
select * from `address` where `address`.`id` = 4102 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 17 - 2024-12-30 09:29:26 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102490 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 18 - 2024-12-30 09:29:26 [0.32ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102490 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 19 - 2024-12-30 09:29:26 [0.22ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 102490 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 20 - 2024-12-30 09:29:26 [0.28ms] */
select * from `Payment` where `Payment`.`id` = 89718 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102490
   Query 21 - 2024-12-30 09:29:26 [0.2ms] */
select * from `payment_method` where `payment_method`.`id` = 5 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 1 - 2024-12-30 09:29:34 [2.29ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 2 - 2024-12-30 09:29:34 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 3 - 2024-12-30 09:29:34 [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/w/wkflw/102921
   Query 4 - 2024-12-30 09:29:34 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 5 - 2024-12-30 09:29:34 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 6 - 2024-12-30 09:29:34 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 7 - 2024-12-30 09:29:34 [0.25ms] */
select * from `invoice` where `transaction_id` = 102921 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 8 - 2024-12-30 09:29:34 [0.27ms] */
select * from `invoice_payment` where `invoice_id` = 102490;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 9 - 2024-12-30 09:29:34 [0.2ms] */
select * from `payment_confirmation` where `payment_id` = 89718 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 10 - 2024-12-30 09:29:34 [0.21ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102921 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 11 - 2024-12-30 09:29:34 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 12 - 2024-12-30 09:29:34 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 13 - 2024-12-30 09:29:34 [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/w/wkflw/102921
   Query 14 - 2024-12-30 09:29:34 [0.18ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 15 - 2024-12-30 09:29:34 [0.23ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 16 - 2024-12-30 09:29:34 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 17 - 2024-12-30 09:29:34 [19.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 `transaction`.`parent_id` = 102921 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 18 - 2024-12-30 09:29:34 [15.91ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 102921 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 19 - 2024-12-30 09:29:34 [0.23ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 20 - 2024-12-30 09:29:34 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 21 - 2024-12-30 09:29:34 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 102489 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 22 - 2024-12-30 09:29:34 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 23 - 2024-12-30 09:29:34 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 24 - 2024-12-30 09:29:34 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 25 - 2024-12-30 09:29:34 [17.08ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 26 - 2024-12-30 09:29:34 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 27 - 2024-12-30 09:29:34 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 28 - 2024-12-30 09:29:34 [0.24ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 29 - 2024-12-30 09:29:34 [0.2ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 30 - 2024-12-30 09:29:34 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 31 - 2024-12-30 09:29:34 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 32 - 2024-12-30 09:29:34 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 33 - 2024-12-30 09:29:34 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 34 - 2024-12-30 09:29:34 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 35 - 2024-12-30 09:29:34 [0.19ms] */
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/w/wkflw/102921
   Query 36 - 2024-12-30 09:29:34 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 37 - 2024-12-30 09:29:34 [0.1ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 38 - 2024-12-30 09:29:34 [0.2ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 39 - 2024-12-30 09:29:34 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 40 - 2024-12-30 09:29:34 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 41 - 2024-12-30 09:29:34 [1.9ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 4102 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 42 - 2024-12-30 09:29:34 [0.15ms] */
select * from `address` where `address`.`id` = 4102 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 43 - 2024-12-30 09:29:34 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 44 - 2024-12-30 09:29:34 [0.19ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 45 - 2024-12-30 09:29:34 [0.91ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 46 - 2024-12-30 09:29:34 [0.16ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 47 - 2024-12-30 09:29:34 [0.14ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 48 - 2024-12-30 09:29:34 [0.18ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 49 - 2024-12-30 09:29:34 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 50 - 2024-12-30 09:29:34 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 51 - 2024-12-30 09:29:34 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 52 - 2024-12-30 09:29:34 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 53 - 2024-12-30 09:29:34 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 54 - 2024-12-30 09:29:34 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 55 - 2024-12-30 09:29:34 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 56 - 2024-12-30 09:29:34 [0.24ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 57 - 2024-12-30 09:29:34 [0.18ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 58 - 2024-12-30 09:29:34 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 59 - 2024-12-30 09:29:34 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 60 - 2024-12-30 09:29:34 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 61 - 2024-12-30 09:29:34 [0.27ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 62 - 2024-12-30 09:29:34 [0.55ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 63 - 2024-12-30 09:29:34 [0.26ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 64 - 2024-12-30 09:29:34 [0.24ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 65 - 2024-12-30 09:29:34 [0.25ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 66 - 2024-12-30 09:29:34 [0.35ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 67 - 2024-12-30 09:29:34 [0.66ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 68 - 2024-12-30 09:29:34 [0.2ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 1 - 2024-12-30 09:29:35 [1.32ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 2 - 2024-12-30 09:29:35 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 3 - 2024-12-30 09:29:35 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 4 - 2024-12-30 09:29:35 [0.42ms] */
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/89933
   Query 5 - 2024-12-30 09:29:35 [0.3ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 6 - 2024-12-30 09:29:35 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 7 - 2024-12-30 09:29:35 [0.14ms] */
select * from `vehicle` where `id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 8 - 2024-12-30 09:29:35 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 9 - 2024-12-30 09:29:35 [3.26ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 10 - 2024-12-30 09:29:35 [0.18ms] */
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/89933
   Query 11 - 2024-12-30 09:29:35 [0.25ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 12 - 2024-12-30 09:29:35 [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/89933
   Query 13 - 2024-12-30 09:29:35 [0.17ms] */
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/m/vehicle/89933
   Query 14 - 2024-12-30 09:29:35 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 15 - 2024-12-30 09:29:35 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 16 - 2024-12-30 09:29:35 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 17 - 2024-12-30 09:29:35 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 18 - 2024-12-30 09:29:35 [0.15ms] */
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/89933
   Query 19 - 2024-12-30 09:29:35 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 20 - 2024-12-30 09:29:35 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 21 - 2024-12-30 09:29:35 [0.13ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 22 - 2024-12-30 09:29:35 [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/89933
   Query 23 - 2024-12-30 09:29:35 [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/m/vehicle/89933
   Query 24 - 2024-12-30 09:29:35 [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/89933
   Query 25 - 2024-12-30 09:29:35 [0.16ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 26 - 2024-12-30 09:29:35 [0.16ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 27 - 2024-12-30 09:29:35 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 102919 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 28 - 2024-12-30 09:29:35 [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 `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 89933 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 29 - 2024-12-30 09:29:35 [0.16ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 30 - 2024-12-30 09:29:35 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 31 - 2024-12-30 09:29:35 [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/m/vehicle/89933
   Query 32 - 2024-12-30 09:29:35 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 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/89933
   Query 33 - 2024-12-30 09:29:35 [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/89933
   Query 34 - 2024-12-30 09:29:35 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 35 - 2024-12-30 09:29:35 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 36 - 2024-12-30 09:29:35 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 37 - 2024-12-30 09:29:35 [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/89933
   Query 38 - 2024-12-30 09:29:35 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 39 - 2024-12-30 09:29:35 [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/89933
   Query 40 - 2024-12-30 09:29:35 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 41 - 2024-12-30 09:29:35 [0.22ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 42 - 2024-12-30 09:29:35 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 43 - 2024-12-30 09:29:35 [0.34ms] */
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/89933
   Query 44 - 2024-12-30 09:29:35 [0.28ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 45 - 2024-12-30 09:29:35 [0.29ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89933 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/89933
   Query 46 - 2024-12-30 09:29:35 [0.18ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 47 - 2024-12-30 09:29:35 [0.24ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 48 - 2024-12-30 09:29:35 [0.17ms] */
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/89933
   Query 49 - 2024-12-30 09:29:35 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 50 - 2024-12-30 09:29:35 [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/89933
   Query 51 - 2024-12-30 09:29:35 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 52 - 2024-12-30 09:29:35 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 53 - 2024-12-30 09:29:35 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 54 - 2024-12-30 09:29:35 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 55 - 2024-12-30 09:29:35 [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/89933
   Query 56 - 2024-12-30 09:29:35 [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/m/vehicle/89933
   Query 57 - 2024-12-30 09:29:35 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 58 - 2024-12-30 09:29:35 [0.21ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 28 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 59 - 2024-12-30 09:29:35 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102921 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/89933
   Query 60 - 2024-12-30 09:29:35 [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/89933
   Query 61 - 2024-12-30 09:29:35 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 62 - 2024-12-30 09:29:35 [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/89933
   Query 63 - 2024-12-30 09:29:35 [0.19ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 64 - 2024-12-30 09:29:35 [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/89933
   Query 65 - 2024-12-30 09:29:35 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 66 - 2024-12-30 09:29:35 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 67 - 2024-12-30 09:29:35 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 68 - 2024-12-30 09:29:35 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 69 - 2024-12-30 09:29:35 [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/89933
   Query 70 - 2024-12-30 09:29:35 [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/m/vehicle/89933
   Query 71 - 2024-12-30 09:29:35 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 72 - 2024-12-30 09:29:35 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102919 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/89933
   Query 73 - 2024-12-30 09:29:35 [0.27ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89933 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89933
   Query 74 - 2024-12-30 09:29:35 [0.23ms] */
select * from `title_reprint_history` where `vehicle_id` = 89933 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2024-12-30 09:32:29 [2.26ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2024-12-30 09:32:29 [0.71ms] */
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/config.select-district-component
   Query 3 - 2024-12-30 09:32:29 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2024-12-30 09:32:29 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2024-12-30 09:32:29 [1.29ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2024-12-30 09:32:29 [0.91ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2024-12-30 09:32:29 [0.26ms] */
select * from `tax_collection_points` where `region_id` = 14 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2024-12-30 09:32:29 [0.28ms] */
select * from `district` where `region_id` = 14 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2024-12-30 09:32:29 [0.23ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2024-12-30 09:32:29 [1.48ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2024-12-30 09:32:29 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 3 - 2024-12-30 09:32:29 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 4 - 2024-12-30 09:32:29 [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/config.select-district-component
   Query 1 - 2024-12-30 09:32:54 [1.68ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2024-12-30 09:32:54 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2024-12-30 09:32:54 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2024-12-30 09:32:54 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2024-12-30 09:32:54 [0.75ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2024-12-30 09:32:54 [0.43ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2024-12-30 09:32:54 [0.31ms] */
select * from `tax_collection_points` where `region_id` = 25 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2024-12-30 09:32:54 [0.24ms] */
select * from `district` where `region_id` = 25 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2024-12-30 09:32:54 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2024-12-30 09:32:54 [1.98ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2024-12-30 09:32:54 [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/party.create-party-person-component
   Query 3 - 2024-12-30 09:32:54 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 4 - 2024-12-30 09:32:54 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 1 - 2024-12-30 09:33:04 [1.41ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 2 - 2024-12-30 09:33:04 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 3 - 2024-12-30 09:33:04 [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/w/wkflw/102921
   Query 4 - 2024-12-30 09:33:04 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 5 - 2024-12-30 09:33:04 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 6 - 2024-12-30 09:33:04 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 7 - 2024-12-30 09:33:04 [0.24ms] */
select * from `invoice` where `transaction_id` = 102921 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 8 - 2024-12-30 09:33:04 [0.2ms] */
select * from `invoice_payment` where `invoice_id` = 102490;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 9 - 2024-12-30 09:33:04 [0.22ms] */
select * from `payment_confirmation` where `payment_id` = 89718 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 10 - 2024-12-30 09:33:04 [0.21ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102921 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 11 - 2024-12-30 09:33:04 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 12 - 2024-12-30 09:33:04 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 13 - 2024-12-30 09:33:04 [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/w/wkflw/102921
   Query 14 - 2024-12-30 09:33:04 [0.17ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 15 - 2024-12-30 09:33:04 [0.2ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 16 - 2024-12-30 09:33:04 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 102921 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 17 - 2024-12-30 09:33:04 [19.7ms] */
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 `transaction`.`parent_id` = 102921 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 18 - 2024-12-30 09:33:04 [15.91ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 102921 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 19 - 2024-12-30 09:33:04 [0.23ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 20 - 2024-12-30 09:33:04 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102920 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 21 - 2024-12-30 09:33:04 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102489 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 22 - 2024-12-30 09:33:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 23 - 2024-12-30 09:33:04 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 24 - 2024-12-30 09:33:04 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 25 - 2024-12-30 09:33:04 [16.91ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 26 - 2024-12-30 09:33:04 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 27 - 2024-12-30 09:33:04 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 89933 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 28 - 2024-12-30 09:33:04 [0.21ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 29 - 2024-12-30 09:33:04 [0.18ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 30 - 2024-12-30 09:33:04 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 31 - 2024-12-30 09:33:04 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89933 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 32 - 2024-12-30 09:33:04 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 33 - 2024-12-30 09:33:04 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 34 - 2024-12-30 09:33:04 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 35 - 2024-12-30 09:33:04 [0.17ms] */
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/w/wkflw/102921
   Query 36 - 2024-12-30 09:33:04 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 37 - 2024-12-30 09:33:04 [0.21ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 38 - 2024-12-30 09:33:04 [0.41ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 39 - 2024-12-30 09:33:04 [0.38ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 40 - 2024-12-30 09:33:04 [0.46ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 41 - 2024-12-30 09:33:04 [3.71ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 4102 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 42 - 2024-12-30 09:33:04 [0.43ms] */
select * from `address` where `address`.`id` = 4102 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 43 - 2024-12-30 09:33:04 [0.36ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 44 - 2024-12-30 09:33:04 [0.4ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 45 - 2024-12-30 09:33:04 [0.87ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 46 - 2024-12-30 09:33:04 [0.2ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 47 - 2024-12-30 09:33:04 [0.15ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 48 - 2024-12-30 09:33:04 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 49 - 2024-12-30 09:33:04 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 50 - 2024-12-30 09:33:04 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 51 - 2024-12-30 09:33:04 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98738 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 52 - 2024-12-30 09:33:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 53 - 2024-12-30 09:33:04 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 54 - 2024-12-30 09:33:04 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 55 - 2024-12-30 09:33:04 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 102921 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 56 - 2024-12-30 09:33:04 [0.21ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 57 - 2024-12-30 09:33:04 [0.18ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 58 - 2024-12-30 09:33:04 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 59 - 2024-12-30 09:33:04 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 60 - 2024-12-30 09:33:04 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 61 - 2024-12-30 09:33:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 62 - 2024-12-30 09:33:04 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 63 - 2024-12-30 09:33:04 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 64 - 2024-12-30 09:33:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 65 - 2024-12-30 09:33:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 66 - 2024-12-30 09:33:04 [0.17ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 67 - 2024-12-30 09:33:04 [0.35ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102921
   Query 68 - 2024-12-30 09:33:04 [0.2ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-30 09:33:42 [2.39ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-30 09:33:42 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-30 09:33:42 [0.46ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-30 09:33:42 [0.23ms] */
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-30 09:33: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-30 09:33: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-30 09:33:42 [0.74ms] */
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` = '14HP22' 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-30 09:33:42 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-30 09:33:42 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-30 09:33:42 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-30 09:33:42 [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-30 09:33:42 [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-30 09:33:42 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-30 09:33:42 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-30 09:33:42 [0.33ms] */
select * from `vehicle` where `id` = 89934 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-30 09:33:42 [0.39ms] */
select * from `party_vehicle` where `vehicle_id` = 89934 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-30 09:33:42 [0.64ms] */
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` = 89934 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-30 09:33:43 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-30 09:33:43 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-30 09:33:43 [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-30 09:33:43 [0.31ms] */
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-30 09:33:43 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-30 09:33:43 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-30 09:33:43 [0.58ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-30 09:33:44 [2.25ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-30 09:33:44 [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-30 09:33:44 [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-30 09:33:44 [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-30 09:33:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-30 09:33:44 [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-30 09:33:44 [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-30 09:33:44 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-30 09:33:44 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-30 09:33:44 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-30 09:33:44 [0.29ms] */
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-30 09:33:44 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-30 09:33:44 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-30 09:33:44 [0.39ms] */
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-30 09:33:44 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99403) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-30 09:33:44 [0.21ms] */
select `parent_id` from `transaction` where `id` in (102939) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-30 09:33:44 [37.89ms] */
select `id` from `transaction` where `parent_id` in (102940) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-30 09:33:44 [0.32ms] */
select * from `transaction` where `id` in (102940) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-30 09:33:44 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99403) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-30 09:33:44 [0.25ms] */
select * from `invoice` where `transaction_id` = 102939 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-30 09:33:44 [0.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102508 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-30 09:33:44 [0.23ms] */
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-30 09:33:44 [0.17ms] */
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-30 09:33:45 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-30 09:33:45 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-30 09:33: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-30 09:33:45 [0.26ms] */
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-30 09:33:45 [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-30 09:33:45 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-30 09:33:45 [0.22ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 1 - 2024-12-30 09:34:11 [2.16ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 2 - 2024-12-30 09:34:11 [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/m/vehicle
   Query 3 - 2024-12-30 09:34:11 [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/m/vehicle
   Query 4 - 2024-12-30 09:34:11 [0.43ms] */
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
   Query 5 - 2024-12-30 09:34:11 [0.29ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 6 - 2024-12-30 09:34:11 [0.26ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2024-12-30 09:34:11 [140.05ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 8 - 2024-12-30 09:34:12 [242.23ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 9 - 2024-12-30 09:34:12 [0.47ms] */
select * from `model` where `model`.`id` in (1, 3, 4, 15, 2039, 3251) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 10 - 2024-12-30 09:34:12 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 2, 8, 10, 12) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 11 - 2024-12-30 09:34:12 [0.29ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 3, 12, 312, 683, 780, 802) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 12 - 2024-12-30 09:34:12 [0.19ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 13 - 2024-12-30 09:34:12 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 4, 5, 6, 7, 19) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 14 - 2024-12-30 09:34:12 [0.37ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (60, 414, 461, 497, 89501, 89506, 89507, 89508, 89739, 89937) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 15 - 2024-12-30 09:34:12 [3.21ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 16 - 2024-12-30 09:34:12 [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
   Query 17 - 2024-12-30 09:34:12 [0.26ms] */
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/m/vehicle
   Query 18 - 2024-12-30 09:34:12 [0.2ms] */
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/m/vehicle
   Query 19 - 2024-12-30 09:34:12 [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
   Query 20 - 2024-12-30 09:34:12 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 60 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 21 - 2024-12-30 09:34:12 [0.21ms] */
select * from `party` where `party`.`id` = 3054 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 22 - 2024-12-30 09:34:12 [0.25ms] */
select * from `person` where `person`.`id` = 3054 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 23 - 2024-12-30 09:34:12 [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/m/vehicle
   Query 24 - 2024-12-30 09:34:12 [0.15ms] */
select * from `party` where `party`.`id` = 3054 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 25 - 2024-12-30 09:34:12 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 26 - 2024-12-30 09:34:12 [0.58ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 27 - 2024-12-30 09:34:12 [0.49ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 414 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 28 - 2024-12-30 09:34:12 [0.45ms] */
select * from `party` where `party`.`id` = 25228 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 29 - 2024-12-30 09:34:12 [0.38ms] */
select * from `person` where `person`.`id` = 25228 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 30 - 2024-12-30 09:34:12 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 31 - 2024-12-30 09:34:12 [0.21ms] */
select * from `party` where `party`.`id` = 25228 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 32 - 2024-12-30 09:34:12 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 33 - 2024-12-30 09:34:12 [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
   Query 34 - 2024-12-30 09:34:12 [0.42ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 497 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 35 - 2024-12-30 09:34:12 [0.33ms] */
select * from `party` where `party`.`id` = 55905 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 36 - 2024-12-30 09:34:12 [0.36ms] */
select * from `company` where `company`.`id` = 296 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 37 - 2024-12-30 09:34:12 [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
   Query 38 - 2024-12-30 09:34:12 [0.22ms] */
select * from `party` where `party`.`id` = 55905 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 39 - 2024-12-30 09:34:12 [0.31ms] */
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/m/vehicle
   Query 40 - 2024-12-30 09:34:12 [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
   Query 41 - 2024-12-30 09:34:12 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 461 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 42 - 2024-12-30 09:34:12 [0.31ms] */
select * from `party` where `party`.`id` = 55873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 43 - 2024-12-30 09:34:12 [0.29ms] */
select * from `company` where `company`.`id` = 264 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 44 - 2024-12-30 09:34:12 [0.27ms] */
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/m/vehicle
   Query 45 - 2024-12-30 09:34:12 [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/m/vehicle
   Query 46 - 2024-12-30 09:34:12 [0.18ms] */
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/m/vehicle
   Query 47 - 2024-12-30 09:34:12 [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
   Query 48 - 2024-12-30 09:34:12 [0.23ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 49 - 2024-12-30 09:34:12 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89739 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 50 - 2024-12-30 09:34:12 [0.29ms] */
select * from `party` where `party`.`id` = 32952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 51 - 2024-12-30 09:34:12 [0.23ms] */
select * from `person` where `person`.`id` = 32952 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 52 - 2024-12-30 09:34:12 [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
   Query 53 - 2024-12-30 09:34:12 [0.14ms] */
select * from `party` where `party`.`id` = 32952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 54 - 2024-12-30 09:34:12 [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/m/vehicle
   Query 55 - 2024-12-30 09:34:12 [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
   Query 56 - 2024-12-30 09:34:12 [0.17ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 57 - 2024-12-30 09:34:12 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89508 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 58 - 2024-12-30 09:34:12 [0.21ms] */
select * from `party` where `party`.`id` = 53092 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 59 - 2024-12-30 09:34:12 [0.24ms] */
select * from `person` where `person`.`id` = 53092 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 60 - 2024-12-30 09:34:12 [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
   Query 61 - 2024-12-30 09:34:12 [0.14ms] */
select * from `party` where `party`.`id` = 53092 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 62 - 2024-12-30 09:34:12 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 63 - 2024-12-30 09:34:12 [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
   Query 64 - 2024-12-30 09:34:12 [0.22ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89501 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 65 - 2024-12-30 09:34:12 [0.22ms] */
select * from `party` where `party`.`id` = 24384 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 66 - 2024-12-30 09:34:12 [0.25ms] */
select * from `person` where `person`.`id` = 24384 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 67 - 2024-12-30 09:34:12 [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
   Query 68 - 2024-12-30 09:34:12 [0.14ms] */
select * from `party` where `party`.`id` = 24384 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 69 - 2024-12-30 09:34:12 [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/m/vehicle
   Query 70 - 2024-12-30 09:34:12 [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
   Query 71 - 2024-12-30 09:34:12 [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
   Query 72 - 2024-12-30 09:34:12 [0.22ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89506 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 73 - 2024-12-30 09:34:12 [0.22ms] */
select * from `party` where `party`.`id` = 25420 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 74 - 2024-12-30 09:34:12 [0.23ms] */
select * from `person` where `person`.`id` = 25420 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 75 - 2024-12-30 09:34:12 [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
   Query 76 - 2024-12-30 09:34:12 [0.14ms] */
select * from `party` where `party`.`id` = 25420 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 77 - 2024-12-30 09:34:12 [0.14ms] */
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/m/vehicle
   Query 78 - 2024-12-30 09:34:12 [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
   Query 79 - 2024-12-30 09:34:12 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 80 - 2024-12-30 09:34:12 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89507 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 81 - 2024-12-30 09:34:12 [0.21ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 82 - 2024-12-30 09:34:12 [0.23ms] */
select * from `person` where `person`.`id` = 49236 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 83 - 2024-12-30 09:34:12 [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
   Query 84 - 2024-12-30 09:34:12 [0.14ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 85 - 2024-12-30 09:34:12 [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/m/vehicle
   Query 86 - 2024-12-30 09:34:12 [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
   Query 87 - 2024-12-30 09:34:12 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 88 - 2024-12-30 09:34:12 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89937 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 89 - 2024-12-30 09:34:12 [0.22ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 90 - 2024-12-30 09:34:12 [0.25ms] */
select * from `person` where `person`.`id` = 54995 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 91 - 2024-12-30 09:34:12 [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
   Query 92 - 2024-12-30 09:34:12 [0.14ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2024-12-30 09:34:14 [2.08ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2024-12-30 09:34:14 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2024-12-30 09:34:14 [0.71ms] */
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/vehicle.list-vehicle-component
   Query 4 - 2024-12-30 09:34:14 [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/vehicle.list-vehicle-component
   Query 5 - 2024-12-30 09:34:14 [0.28ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2024-12-30 09:34:14 [0.3ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2024-12-30 09:34:14 [118ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%14HP22%' or `vin` like '%14HP22%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2024-12-30 09:34:14 [141.36ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%14HP22%' or `vin` like '%14HP22%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2024-12-30 09:34:14 [0.28ms] */
select * from `model` where `model`.`id` in (7) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2024-12-30 09:34:14 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (8) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2024-12-30 09:34:14 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (13) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2024-12-30 09:34:14 [0.18ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2024-12-30 09:34:14 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (4) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2024-12-30 09:34:14 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (89934) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2024-12-30 09:34:14 [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/vehicle.list-vehicle-component
   Query 16 - 2024-12-30 09:34:14 [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/vehicle.list-vehicle-component
   Query 17 - 2024-12-30 09:34:14 [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/vehicle.list-vehicle-component
   Query 18 - 2024-12-30 09:34:14 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89934 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2024-12-30 09:34:14 [0.21ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2024-12-30 09:34:14 [0.23ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2024-12-30 09:34:14 [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/vehicle.list-vehicle-component
   Query 22 - 2024-12-30 09:34:14 [0.16ms] */
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/m/vehicle/89934
   Query 1 - 2024-12-30 09:34:15 [2.04ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 2 - 2024-12-30 09:34:15 [0.75ms] */
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/89934
   Query 3 - 2024-12-30 09:34:15 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 4 - 2024-12-30 09:34:15 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 5 - 2024-12-30 09:34:16 [0.29ms] */
select * from `vehicle` where `id` = 89934 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 6 - 2024-12-30 09:34:16 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89934 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 7 - 2024-12-30 09:34:16 [0.15ms] */
select * from `vehicle` where `id` = 89934 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 8 - 2024-12-30 09:34:16 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89934 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 9 - 2024-12-30 09:34:16 [1.27ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 10 - 2024-12-30 09:34:16 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 11 - 2024-12-30 09:34:16 [0.3ms] */
select * from `model` where `model`.`id` = 7 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 12 - 2024-12-30 09:34:16 [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/89934
   Query 13 - 2024-12-30 09:34:16 [0.14ms] */
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/m/vehicle/89934
   Query 14 - 2024-12-30 09:34:16 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89934 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 15 - 2024-12-30 09:34:16 [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/89934
   Query 16 - 2024-12-30 09:34:16 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 8 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 17 - 2024-12-30 09:34:16 [0.2ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 13 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 18 - 2024-12-30 09:34:16 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 19 - 2024-12-30 09:34:16 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89934 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 20 - 2024-12-30 09:34:16 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 21 - 2024-12-30 09:34:16 [0.14ms] */
select * from `model` where `model`.`id` = 7 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 22 - 2024-12-30 09:34:16 [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/89934
   Query 23 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 24 - 2024-12-30 09:34:16 [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/89934
   Query 25 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 26 - 2024-12-30 09:34:16 [0.16ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 27 - 2024-12-30 09:34:16 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102922 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 28 - 2024-12-30 09:34:16 [0.33ms] */
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` = 89934 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 29 - 2024-12-30 09:34:16 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 30 - 2024-12-30 09:34:16 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 31 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 32 - 2024-12-30 09:34:16 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98739 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/89934
   Query 33 - 2024-12-30 09:34:16 [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/89934
   Query 34 - 2024-12-30 09:34:16 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 102939 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 35 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 36 - 2024-12-30 09:34:16 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 37 - 2024-12-30 09:34:16 [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/89934
   Query 38 - 2024-12-30 09:34:16 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 39 - 2024-12-30 09:34:16 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 40 - 2024-12-30 09:34:16 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 41 - 2024-12-30 09:34:16 [0.24ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 42 - 2024-12-30 09:34:16 [0.38ms] */
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/89934
   Query 43 - 2024-12-30 09:34:16 [0.29ms] */
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/89934
   Query 44 - 2024-12-30 09:34:16 [0.29ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89934 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/89934
   Query 45 - 2024-12-30 09:34:16 [0.31ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89934 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/89934
   Query 46 - 2024-12-30 09:34:16 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 47 - 2024-12-30 09:34:16 [0.28ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 48 - 2024-12-30 09:34:16 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 49 - 2024-12-30 09:34:16 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 50 - 2024-12-30 09:34:16 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 51 - 2024-12-30 09:34:16 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 52 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 53 - 2024-12-30 09:34:16 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 54 - 2024-12-30 09:34:16 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98739 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 55 - 2024-12-30 09:34:16 [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/89934
   Query 56 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 57 - 2024-12-30 09:34:16 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 58 - 2024-12-30 09:34:16 [0.2ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 28 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 59 - 2024-12-30 09:34:16 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102940 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/89934
   Query 60 - 2024-12-30 09:34:16 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 61 - 2024-12-30 09:34:16 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 62 - 2024-12-30 09:34:16 [0.26ms] */
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/89934
   Query 63 - 2024-12-30 09:34:16 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 64 - 2024-12-30 09:34:16 [0.17ms] */
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/89934
   Query 65 - 2024-12-30 09:34:16 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 66 - 2024-12-30 09:34:16 [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/m/vehicle/89934
   Query 67 - 2024-12-30 09:34:16 [0.14ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 68 - 2024-12-30 09:34:16 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98739 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 69 - 2024-12-30 09:34:16 [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/89934
   Query 70 - 2024-12-30 09:34:16 [0.12ms] */
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/m/vehicle/89934
   Query 71 - 2024-12-30 09:34:16 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 72 - 2024-12-30 09:34:16 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102922 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/89934
   Query 73 - 2024-12-30 09:34:16 [0.23ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89934 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89934
   Query 74 - 2024-12-30 09:34:16 [0.22ms] */
select * from `title_reprint_history` where `vehicle_id` = 89934 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89934&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-30 09:34:16 [1.47ms] */
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=89934&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-30 09:34:16 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89934&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-30 09:34:16 [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/audit-details?audit_ids=89934&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-30 09:34:16 [0.42ms] */
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=89934&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-30 09:34:16 [0.45ms] */
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 = 89934 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 1 - 2024-12-30 09:34:21 [2.05ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 2 - 2024-12-30 09:34:21 [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/w/wkflw/102940
   Query 3 - 2024-12-30 09:34:21 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 4 - 2024-12-30 09:34:21 [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/w/wkflw/102940
   Query 5 - 2024-12-30 09:34:21 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 6 - 2024-12-30 09:34:21 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 102940 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 7 - 2024-12-30 09:34:21 [0.24ms] */
select * from `invoice` where `transaction_id` = 102940 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 8 - 2024-12-30 09:34:21 [0.23ms] */
select * from `invoice_payment` where `invoice_id` = 102509;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 9 - 2024-12-30 09:34:21 [0.25ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102940 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 10 - 2024-12-30 09:34:21 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 11 - 2024-12-30 09:34:21 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98739 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 12 - 2024-12-30 09:34:21 [0.26ms] */
select * from `driver_license` where `party_id` = 58204 and `transaction_id` = 102940 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 13 - 2024-12-30 09:34:21 [0.18ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 14 - 2024-12-30 09:34:21 [0.19ms] */
select * from `driver_license` where `party_id` = 58204 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 15 - 2024-12-30 09:34:21 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 16 - 2024-12-30 09:34:21 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 17 - 2024-12-30 09:34:21 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 18 - 2024-12-30 09:34:21 [65.66ms] */
select * from `transaction` where `parent_id` = 102940 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 19 - 2024-12-30 09:34:21 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 20 - 2024-12-30 09:34:21 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 21 - 2024-12-30 09:34:21 [0.66ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 22 - 2024-12-30 09:34:21 [0.46ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 23 - 2024-12-30 09:34:21 [0.44ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 24 - 2024-12-30 09:34:21 [0.36ms] */
select * from `transaction` where `service_id` = 7 and `vehicle_id` = 89934 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 25 - 2024-12-30 09:34:21 [0.23ms] */
select * from `vehicle_tax` where `vehicle_id` = 89934 and `vehicle_tax`.`deleted_at` is null order by `created_at` asc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 26 - 2024-12-30 09:34:21 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 27 - 2024-12-30 09:34:21 [0.2ms] */
select * from `invoice` where `id` = 102508 and `migration_id` is null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 28 - 2024-12-30 09:34:21 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 29 - 2024-12-30 09:34:21 [0.25ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 102939 and `vehicle_tax`.`transaction_id` is not null and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 30 - 2024-12-30 09:34:21 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 31 - 2024-12-30 09:34:21 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102508 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 32 - 2024-12-30 09:34:21 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 33 - 2024-12-30 09:34:21 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 34 - 2024-12-30 09:34:21 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 35 - 2024-12-30 09:34:21 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 36 - 2024-12-30 09:34:21 [19.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 `transaction`.`parent_id` = 102940 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 37 - 2024-12-30 09:34:21 [15.63ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 102940 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 38 - 2024-12-30 09:34:21 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 39 - 2024-12-30 09:34:21 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102939 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 40 - 2024-12-30 09:34:21 [0.13ms] */
select * from `invoice` where `invoice`.`id` = 102508 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 41 - 2024-12-30 09:34:21 [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/w/wkflw/102940
   Query 42 - 2024-12-30 09:34:21 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 43 - 2024-12-30 09:34:21 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 102940 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 44 - 2024-12-30 09:34:21 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 45 - 2024-12-30 09:34:21 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 46 - 2024-12-30 09:34:21 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 47 - 2024-12-30 09:34:21 [0.13ms] */
select * from `model` where `model`.`id` = 7 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 48 - 2024-12-30 09:34:21 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 49 - 2024-12-30 09:34:21 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 50 - 2024-12-30 09:34:21 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89934 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 51 - 2024-12-30 09:34:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 52 - 2024-12-30 09:34:21 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 8 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 53 - 2024-12-30 09:34:21 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 13 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 54 - 2024-12-30 09:34:21 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 55 - 2024-12-30 09:34:21 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102940 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 56 - 2024-12-30 09:34:21 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 57 - 2024-12-30 09:34:21 [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/w/wkflw/102940
   Query 58 - 2024-12-30 09:34:21 [0.21ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 59 - 2024-12-30 09:34:21 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 60 - 2024-12-30 09:34:21 [29.88ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55761 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 61 - 2024-12-30 09:34:21 [0.33ms] */
select * from `address` where `address`.`id` = 58204 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 62 - 2024-12-30 09:34:21 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 63 - 2024-12-30 09:34:21 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 64 - 2024-12-30 09:34:21 [0.54ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 65 - 2024-12-30 09:34:21 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 66 - 2024-12-30 09:34:21 [0.11ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 67 - 2024-12-30 09:34:21 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 68 - 2024-12-30 09:34:21 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 102940 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 69 - 2024-12-30 09:34:21 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 70 - 2024-12-30 09:34:21 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98739 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 71 - 2024-12-30 09:34:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 72 - 2024-12-30 09:34:21 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 73 - 2024-12-30 09:34:21 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 74 - 2024-12-30 09:34:21 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 102940 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 75 - 2024-12-30 09:34:21 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 76 - 2024-12-30 09:34:21 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 77 - 2024-12-30 09:34:21 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 78 - 2024-12-30 09:34:21 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 79 - 2024-12-30 09:34:21 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 80 - 2024-12-30 09:34:21 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 81 - 2024-12-30 09:34:21 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 82 - 2024-12-30 09:34:21 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 83 - 2024-12-30 09:34:21 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 84 - 2024-12-30 09:34:21 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 85 - 2024-12-30 09:34:21 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2024-12-30 09:34:27 [2.2ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2024-12-30 09:34:27 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2024-12-30 09:34:27 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2024-12-30 09:34:27 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2024-12-30 09:34:27 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2024-12-30 09:34:27 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2024-12-30 09:34:27 [0.52ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283176384 and `serv_fee_tr_id` = 5283176384 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2024-12-30 09:34:43 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2024-12-30 09:34:43 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2024-12-30 09:34:43 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2024-12-30 09:34:43 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2024-12-30 09:34:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2024-12-30 09:34:43 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2024-12-30 09:34:43 [0.54ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283176383 and `serv_fee_tr_id` = 5283176385 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2024-12-30 09:34:43 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2024-12-30 09:34:43 [0.45ms] */
select * from `invoice_payment` where `invoice_id` = 102509 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2024-12-30 09:34:43 [20.43ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 102940 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2024-12-30 09:34:43 [20.65ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 102940 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2024-12-30 09:34:43 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2024-12-30 09:34:43 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 14 - 2024-12-30 09:34:43 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 15 - 2024-12-30 09:34:43 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2024-12-30 09:34:43 [13.74ms] */
select sum(`invoice`.`invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 102940 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2024-12-30 09:34:43 [0.18ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2024-12-30 09:34:43 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 102509 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2024-12-30 09:34:43 [1.06ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2024-12-30 09:34:43', '#67723F0323794', null, 5, 7.00, null, null, null, 37, 5, 5, 5, '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2024-12-30 09:34:43 [0.2ms] */
select * from `Payment` where `id` = 89719 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2024-12-30 09:34:43 [0.68ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":5,"payment_amount":"7.00","payment_date":"2024-12-30 09:34:43","external_payment_reference_no":"#67723F0323794","payment_receipt_number":null,"siinpay_payref_number":null,"paid_by":null,"paid_by_mobile":null,"district_id":37,"migration_id":null,"payment_collected_by":5}}', 5, 'App\Models\User', 89719, 'Modules\Transaction\Entities\Payment', 'created', '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 22 - 2024-12-30 09:34:43 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 23 - 2024-12-30 09:34:43 [0.39ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 24 - 2024-12-30 09:34:43 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2024-12-30 09:34:43 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 102508 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2024-12-30 09:34:43 [0.33ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2024-12-30 09:34:43', 102508, 89719, '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2024-12-30 09:34:43 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102508 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2024-12-30 09:34:43 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102508 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2024-12-30 09:34:43 [0.72ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102508 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2024-12-30 09:34:43 [0.26ms] */
update `invoice` set `invoice_amount` = 7, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 7, `status` = 'PAID', `invoice`.`updated_at` = '2024-12-30 09:34:43' where `id` = 102508;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2024-12-30 09:34:43 [0.18ms] */
select * from `invoice` where `id` = 102508 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2024-12-30 09:34:43 [0.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"7.00","status":"OPEN"}}', 5, 'App\Models\User', 102508, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2024-12-30 09:34:43 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2024-12-30 09:34:43 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102939 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2024-12-30 09:34:43 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 36 - 2024-12-30 09:34:43 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2024-12-30 09:34:43 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2024-12-30 09:34:43 [0.47ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102939, 'PAID', '2024-12-30 09:34:43', 7, 5, null, 5, 5, '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2024-12-30 09:34:43 [0.43ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2024-12-30 09:34:43 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2024-12-30 09:34:43' where `id` = 102939;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2024-12-30 09:34:43 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2024-12-30 09:34:43 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102508 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2024-12-30 09:34:43 [0.3ms] */
select * from `vehicle_tax` where `transaction_id` = 102939 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2024-12-30 09:34:43 [0.26ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2024-12-30 09:34:43' where `id` = 99403;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2024-12-30 09:34:43 [0.19ms] */
select * from `vehicle_tax` where `id` = 99403 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2024-12-30 09:34:43 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99403, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2024-12-30 09:34:43 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102509 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2024-12-30 09:34:43 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 102509 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2024-12-30 09:34:43 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2024-12-30 09:34:43', 102509, 89719, '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2024-12-30 09:34:43 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 102509 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2024-12-30 09:34:43 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102509 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2024-12-30 09:34:43 [0.15ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2024-12-30 09:34:43' where `id` = 102509;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2024-12-30 09:34:43 [0.17ms] */
select * from `invoice` where `id` = 102509 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2024-12-30 09:34:43 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"7.00","status":"OPEN"}}', 5, 'App\Models\User', 102509, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2024-12-30 09:34:43 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2024-12-30 09:34:43 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 102940 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2024-12-30 09:34:43 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 58 - 2024-12-30 09:34:43 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2024-12-30 09:34:43 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2024-12-30 09:34:43 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102940, 'PAID', '2024-12-30 09:34:43', 7, 5, null, 5, 5, '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2024-12-30 09:34:43 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2024-12-30 09:34:43 [0.18ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2024-12-30 09:34:43' where `id` = 102940;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2024-12-30 09:34:43 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2024-12-30 09:34:43 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102509 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 65 - 2024-12-30 09:34:43 [0.15ms] */
insert into `payment_confirmation` (`payment_id`, `gov_fee_tr_id`, `serv_fee_tr_id`, `text`, `attachment`, `updated_at`, `created_at`) values (89719, 5283176383, 5283176385, 'asdasd', 'payment_confirmation/Payment-Confirmation-TR102940-INV-102509.png', '2024-12-30 09:34:43', '2024-12-30 09:34:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-30 09:34:45 [2.19ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-30 09:34:45 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-30 09:34:45 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-30 09:34:45 [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-30 09:34:45 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-30 09:34:45 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-30 09:34:45 [0.36ms] */
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` = '14HP22' 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-30 09:34:46 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-30 09:34:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-30 09:34:46 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-30 09:34:46 [0.16ms] */
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-30 09:34:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-30 09:34:46 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-30 09:34:46 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89934 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-30 09:34:46 [0.15ms] */
select * from `vehicle` where `id` = 89934 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-30 09:34:46 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89934 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-30 09:34:46 [0.58ms] */
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` = 89934 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-30 09:34:46 [2.21ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-30 09:34:46 [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-30 09:34:46 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-30 09:34:46 [0.24ms] */
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-30 09:34:46 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-30 09:34:46 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-30 09:34:46 [0.31ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-30 09:34:46 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-30 09:34:46 [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-30 09:34:46 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-30 09:34:46 [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-30 09:34:46 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '63c047c4dce56d28d8c745a421898fbc245605085fc7f4a442db76e3668b744e6362117d22601c78' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-30 09:34:46 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-30 09:34:46 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 1 - 2024-12-30 09:34:49 [2.17ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 2 - 2024-12-30 09:34:49 [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/w/wkflw/102940
   Query 3 - 2024-12-30 09:34:49 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 4 - 2024-12-30 09:34:49 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102940
   Query 5 - 2024-12-30 09:34:49 [0.31ms] */
