select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 10 - 2025-01-06 10:02:14 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-01-06 10:02:14 [2.49ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-06 10:02:14 [10.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2025-01-06 10:02:14 [6.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-01-06 10:02:15 [18.91ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-01-06 10:02:15 [27.94ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-06 10:02:15 [38.29ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-06' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-06 10:02:15 [81.12ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-06 10:02:15 [50.81ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-06' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-06 10:02:15 [537.6ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-05' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-06 10:02:16 [137.01ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-05' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-06 10:02:17 [1150.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-06' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-06 10:02:17 [138.13ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-06' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 1 - 2025-01-06 10:02:24 [1.35ms] */
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 - 2025-01-06 10:02:24 [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
   Query 3 - 2025-01-06 10:02:24 [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/vehicle
   Query 4 - 2025-01-06 10:02:24 [0.74ms] */
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 - 2025-01-06 10:02:24 [0.47ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 6 - 2025-01-06 10:02:24 [0.33ms] */
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 - 2025-01-06 10:02:25 [286.02ms] */
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 - 2025-01-06 10:02:25 [557.67ms] */
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 - 2025-01-06 10:02:25 [0.73ms] */
select * from `model` where `model`.`id` in (16, 18, 1396, 2039, 2503, 3437) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 10 - 2025-01-06 10:02:25 [0.4ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 6, 9, 11, 20, 30, 34) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 11 - 2025-01-06 10:02:25 [0.42ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (13, 15, 16, 17, 18, 19, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 12 - 2025-01-06 10:02:25 [0.33ms] */
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 - 2025-01-06 10:02:25 [4.12ms] */
select * from `sub_category` where `sub_category`.`id` in (4, 5, 18) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 14 - 2025-01-06 10:02:25 [0.64ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (60431, 89956, 89977, 89981, 89985, 89988, 89993, 89996, 90004, 90005) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 15 - 2025-01-06 10:02:25 [4.37ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 16 - 2025-01-06 10:02:25 [2.98ms] */
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 - 2025-01-06 10:02:25 [0.38ms] */
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 18 - 2025-01-06 10:02:25 [0.38ms] */
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 19 - 2025-01-06 10:02:25 [0.69ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 20 - 2025-01-06 10:02:25 [1.22ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 90004 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 21 - 2025-01-06 10:02:25 [0.54ms] */
select * from `party` where `party`.`id` = 57994 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 - 2025-01-06 10:02:25 [0.98ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 23 - 2025-01-06 10:02:25 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 24 - 2025-01-06 10:02:25 [0.51ms] */
select * from `party` where `party`.`id` = 57994 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 - 2025-01-06 10:02:25 [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 26 - 2025-01-06 10:02:25 [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 27 - 2025-01-06 10:02:25 [0.2ms] */
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 28 - 2025-01-06 10:02:25 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89977 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 29 - 2025-01-06 10:02:25 [0.24ms] */
select * from `party` where `party`.`id` = 39165 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 30 - 2025-01-06 10:02:25 [0.27ms] */
select * from `person` where `person`.`id` = 39165 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 31 - 2025-01-06 10:02:25 [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 32 - 2025-01-06 10:02:25 [0.14ms] */
select * from `party` where `party`.`id` = 39165 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 33 - 2025-01-06 10:02:25 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 34 - 2025-01-06 10:02:25 [0.32ms] */
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 35 - 2025-01-06 10:02:25 [0.96ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 36 - 2025-01-06 10:02:25 [0.97ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 60431 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 37 - 2025-01-06 10:02:25 [0.42ms] */
select * from `party` where `party`.`id` = 54020 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 38 - 2025-01-06 10:02:25 [0.61ms] */
select * from `person` where `person`.`id` = 54020 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 39 - 2025-01-06 10:02:25 [0.17ms] */
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 40 - 2025-01-06 10:02:25 [0.16ms] */
select * from `party` where `party`.`id` = 54020 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 41 - 2025-01-06 10:02:25 [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 42 - 2025-01-06 10:02:25 [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 43 - 2025-01-06 10:02:25 [0.21ms] */
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 44 - 2025-01-06 10:02:25 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89956 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 45 - 2025-01-06 10:02:25 [0.3ms] */
select * from `party` where `party`.`id` = 32724 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 - 2025-01-06 10:02:25 [0.34ms] */
select * from `person` where `person`.`id` = 32724 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 47 - 2025-01-06 10:02:25 [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
   Query 48 - 2025-01-06 10:02:25 [0.29ms] */
select * from `party` where `party`.`id` = 32724 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 49 - 2025-01-06 10:02:25 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 50 - 2025-01-06 10:02:25 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 51 - 2025-01-06 10:02:25 [0.23ms] */
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 52 - 2025-01-06 10:02:25 [0.39ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 90005 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 53 - 2025-01-06 10:02:25 [0.37ms] */
select * from `party` where `party`.`id` = 58763 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 - 2025-01-06 10:02:25 [0.39ms] */
select * from `person` where `person`.`id` = 56241 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 55 - 2025-01-06 10:02:25 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 56 - 2025-01-06 10:02:25 [0.25ms] */
select * from `party` where `party`.`id` = 58763 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 57 - 2025-01-06 10:02:25 [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 58 - 2025-01-06 10:02:25 [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 59 - 2025-01-06 10:02:25 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89996 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 60 - 2025-01-06 10:02:25 [0.31ms] */
select * from `party` where `party`.`id` = 58084 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 61 - 2025-01-06 10:02:25 [0.56ms] */
select * from `person` where `person`.`id` = 55680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 62 - 2025-01-06 10:02:25 [0.39ms] */
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 63 - 2025-01-06 10:02:25 [0.16ms] */
select * from `party` where `party`.`id` = 58084 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 64 - 2025-01-06 10:02:25 [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
   Query 65 - 2025-01-06 10:02:25 [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 66 - 2025-01-06 10:02:25 [0.21ms] */
select * from `make` where `make`.`id` = 810 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 67 - 2025-01-06 10:02:25 [0.3ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89993 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 68 - 2025-01-06 10:02:25 [0.74ms] */
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 69 - 2025-01-06 10:02:25 [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 70 - 2025-01-06 10:02:25 [0.56ms] */
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 - 2025-01-06 10:02:25 [0.18ms] */
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 72 - 2025-01-06 10:02:25 [0.18ms] */
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 73 - 2025-01-06 10:02:25 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 74 - 2025-01-06 10:02:25 [0.4ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89981 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 75 - 2025-01-06 10:02:25 [0.5ms] */
select * from `party` where `party`.`id` = 21779 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 76 - 2025-01-06 10:02:25 [0.37ms] */
select * from `person` where `person`.`id` = 21779 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 77 - 2025-01-06 10:02:25 [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 78 - 2025-01-06 10:02:25 [1.11ms] */
select * from `party` where `party`.`id` = 21779 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 79 - 2025-01-06 10:02:25 [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/m/vehicle
   Query 80 - 2025-01-06 10:02:25 [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
   Query 81 - 2025-01-06 10:02:25 [0.4ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89985 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 82 - 2025-01-06 10:02:25 [0.33ms] */
select * from `party` where `party`.`id` = 3635 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 83 - 2025-01-06 10:02:25 [0.6ms] */
select * from `person` where `person`.`id` = 3635 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 84 - 2025-01-06 10:02:25 [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
   Query 85 - 2025-01-06 10:02:25 [0.64ms] */
select * from `party` where `party`.`id` = 3635 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 86 - 2025-01-06 10:02:25 [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
   Query 87 - 2025-01-06 10:02:25 [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 88 - 2025-01-06 10:02:25 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89988 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 89 - 2025-01-06 10:02:25 [0.22ms] */
select * from `party` where `party`.`id` = 12832 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 - 2025-01-06 10:02:25 [0.33ms] */
select * from `person` where `person`.`id` = 12832 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 91 - 2025-01-06 10:02:25 [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 - 2025-01-06 10:02:25 [0.2ms] */
select * from `party` where `party`.`id` = 12832 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 1 - 2025-01-06 10:02:30 [1.55ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 2 - 2025-01-06 10:02:30 [0.51ms] */
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/90004
   Query 3 - 2025-01-06 10:02:30 [0.36ms] */
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/90004
   Query 4 - 2025-01-06 10:02:30 [0.53ms] */
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/90004
   Query 5 - 2025-01-06 10:02:30 [1.6ms] */
select * from `vehicle` where `id` = 90004 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 6 - 2025-01-06 10:02:30 [1.43ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 90004 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 7 - 2025-01-06 10:02:30 [0.19ms] */
select * from `vehicle` where `id` = 90004 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 8 - 2025-01-06 10:02:30 [0.18ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 90004 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 9 - 2025-01-06 10:02:30 [1.33ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 10 - 2025-01-06 10:02:30 [0.2ms] */
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/90004
   Query 11 - 2025-01-06 10:02:30 [0.75ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 12 - 2025-01-06 10:02:30 [0.18ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 13 - 2025-01-06 10:02:30 [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/90004
   Query 14 - 2025-01-06 10:02:30 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90004 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 15 - 2025-01-06 10:02:30 [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/90004
   Query 16 - 2025-01-06 10:02:30 [0.43ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 17 - 2025-01-06 10:02:30 [0.5ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 19 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 18 - 2025-01-06 10:02:30 [0.89ms] */
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/90004
   Query 19 - 2025-01-06 10:02:30 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 90004 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 20 - 2025-01-06 10:02:30 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 21 - 2025-01-06 10:02:30 [0.17ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 22 - 2025-01-06 10:02:30 [0.16ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 23 - 2025-01-06 10:02:30 [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/90004
   Query 24 - 2025-01-06 10:02:30 [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/90004
   Query 25 - 2025-01-06 10:02:30 [0.18ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 26 - 2025-01-06 10:02:30 [0.19ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 27 - 2025-01-06 10:02:30 [0.82ms] */
select * from `transaction` where `transaction`.`id` = 103053 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 28 - 2025-01-06 10:02:30 [3.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` = 90004 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 29 - 2025-01-06 10:02:30 [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/90004
   Query 30 - 2025-01-06 10:02:30 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 31 - 2025-01-06 10:02:30 [0.2ms] */
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/90004
   Query 32 - 2025-01-06 10:02:30 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 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/90004
   Query 33 - 2025-01-06 10:02:30 [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/90004
   Query 34 - 2025-01-06 10:02:30 [0.44ms] */
select * from `transaction` where `transaction`.`id` = 103061 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 35 - 2025-01-06 10:02:30 [0.24ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 36 - 2025-01-06 10:02:30 [0.25ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 37 - 2025-01-06 10:02:30 [0.96ms] */
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/90004
   Query 38 - 2025-01-06 10:02:30 [0.79ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 39 - 2025-01-06 10:02:30 [1.03ms] */
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/90004
   Query 40 - 2025-01-06 10:02:30 [0.65ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 41 - 2025-01-06 10:02:30 [0.7ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 42 - 2025-01-06 10:02:30 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 43 - 2025-01-06 10:02:30 [0.19ms] */
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/90004
   Query 44 - 2025-01-06 10:02:30 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 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/90004
   Query 45 - 2025-01-06 10:02:30 [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/90004
   Query 46 - 2025-01-06 10:02:30 [0.65ms] */
select * from `transaction` where `transaction`.`id` = 103245 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 47 - 2025-01-06 10:02:30 [0.21ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 48 - 2025-01-06 10:02:30 [0.2ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 49 - 2025-01-06 10:02:30 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 50 - 2025-01-06 10:02:30 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 51 - 2025-01-06 10:02:30 [0.17ms] */
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/90004
   Query 52 - 2025-01-06 10:02:30 [0.17ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 53 - 2025-01-06 10:02:30 [0.24ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 54 - 2025-01-06 10:02:30 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 55 - 2025-01-06 10:02:30 [0.19ms] */
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/90004
   Query 56 - 2025-01-06 10:02:30 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 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/90004
   Query 57 - 2025-01-06 10:02:30 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 58 - 2025-01-06 10:02:30 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 103246 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 59 - 2025-01-06 10:02:30 [0.18ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 60 - 2025-01-06 10:02:30 [0.19ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 61 - 2025-01-06 10:02:30 [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/90004
   Query 62 - 2025-01-06 10:02:30 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 63 - 2025-01-06 10:02:30 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 64 - 2025-01-06 10:02:30 [0.67ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 65 - 2025-01-06 10:02:30 [0.44ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 66 - 2025-01-06 10:02:30 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 67 - 2025-01-06 10:02:30 [0.97ms] */
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/90004
   Query 68 - 2025-01-06 10:02:30 [0.48ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 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/90004
   Query 69 - 2025-01-06 10:02:30 [0.41ms] */
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/90004
   Query 70 - 2025-01-06 10:02:30 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 103247 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 71 - 2025-01-06 10:02:30 [0.24ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 72 - 2025-01-06 10:02:30 [0.26ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 73 - 2025-01-06 10:02:30 [0.27ms] */
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/90004
   Query 74 - 2025-01-06 10:02:30 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 75 - 2025-01-06 10:02:30 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 76 - 2025-01-06 10:02:30 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 77 - 2025-01-06 10:02:30 [0.29ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 78 - 2025-01-06 10:02:30 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 79 - 2025-01-06 10:02:30 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 80 - 2025-01-06 10:02:30 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 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/90004
   Query 81 - 2025-01-06 10:02:30 [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/90004
   Query 82 - 2025-01-06 10:02:30 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 103248 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 83 - 2025-01-06 10:02:30 [0.19ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 84 - 2025-01-06 10:02:30 [0.19ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 85 - 2025-01-06 10:02:30 [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/90004
   Query 86 - 2025-01-06 10:02:30 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 87 - 2025-01-06 10:02:30 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 88 - 2025-01-06 10:02:30 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 89 - 2025-01-06 10:02:30 [0.29ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 90 - 2025-01-06 10:02:30 [0.53ms] */
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/90004
   Query 91 - 2025-01-06 10:02:30 [0.61ms] */
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/90004
   Query 92 - 2025-01-06 10:02:30 [0.5ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 90004 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/90004
   Query 93 - 2025-01-06 10:02:30 [0.38ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 90004 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/90004
   Query 94 - 2025-01-06 10:02:30 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 95 - 2025-01-06 10:02:30 [0.32ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 96 - 2025-01-06 10:02:30 [0.38ms] */
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/90004
   Query 97 - 2025-01-06 10:02:30 [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/90004
   Query 98 - 2025-01-06 10:02:30 [0.23ms] */
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/90004
   Query 99 - 2025-01-06 10:02:30 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 100 - 2025-01-06 10:02:30 [0.16ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 101 - 2025-01-06 10:02:30 [0.17ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 102 - 2025-01-06 10:02:30 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 103 - 2025-01-06 10:02:30 [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/90004
   Query 104 - 2025-01-06 10:02:30 [0.11ms] */
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/90004
   Query 105 - 2025-01-06 10:02:30 [4.95ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 106 - 2025-01-06 10:02:30 [1.21ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105212 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/90004
   Query 107 - 2025-01-06 10:02:30 [0.49ms] */
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/90004
   Query 108 - 2025-01-06 10:02:30 [2.35ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 109 - 2025-01-06 10:02:30 [0.57ms] */
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/90004
   Query 110 - 2025-01-06 10:02:30 [1.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 111 - 2025-01-06 10:02:30 [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/90004
   Query 112 - 2025-01-06 10:02:30 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 113 - 2025-01-06 10:02:30 [0.13ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 114 - 2025-01-06 10:02:30 [0.14ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 115 - 2025-01-06 10:02:30 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 116 - 2025-01-06 10:02:30 [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/90004
   Query 117 - 2025-01-06 10:02:30 [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/90004
   Query 118 - 2025-01-06 10:02:30 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 119 - 2025-01-06 10:02:30 [0.83ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103246 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/90004
   Query 120 - 2025-01-06 10:02:30 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 121 - 2025-01-06 10:02:30 [0.19ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 122 - 2025-01-06 10:02:30 [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/m/vehicle/90004
   Query 123 - 2025-01-06 10:02:30 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 124 - 2025-01-06 10:02:30 [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/90004
   Query 125 - 2025-01-06 10:02:30 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 126 - 2025-01-06 10:02:30 [0.22ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 127 - 2025-01-06 10:02:30 [0.24ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 128 - 2025-01-06 10:02:30 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 129 - 2025-01-06 10:02:30 [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/90004
   Query 130 - 2025-01-06 10:02:30 [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/90004
   Query 131 - 2025-01-06 10:02:30 [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/90004
   Query 132 - 2025-01-06 10:02:30 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103247 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/90004
   Query 133 - 2025-01-06 10:02:30 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 134 - 2025-01-06 10:02:30 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 135 - 2025-01-06 10:02:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 136 - 2025-01-06 10:02:30 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 137 - 2025-01-06 10:02:30 [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/90004
   Query 138 - 2025-01-06 10:02:30 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 139 - 2025-01-06 10:02:30 [0.33ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 140 - 2025-01-06 10:02:30 [0.24ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 141 - 2025-01-06 10:02:30 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 142 - 2025-01-06 10:02:30 [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/90004
   Query 143 - 2025-01-06 10:02:30 [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/90004
   Query 144 - 2025-01-06 10:02:30 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 145 - 2025-01-06 10:02:30 [2.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103248 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/90004
   Query 146 - 2025-01-06 10:02:30 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 147 - 2025-01-06 10:02:30 [0.53ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 148 - 2025-01-06 10:02:30 [0.28ms] */
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/90004
   Query 149 - 2025-01-06 10:02:30 [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/90004
   Query 150 - 2025-01-06 10:02:30 [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/90004
   Query 151 - 2025-01-06 10:02:30 [2.01ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 152 - 2025-01-06 10:02:30 [0.31ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 153 - 2025-01-06 10:02:30 [1.01ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 154 - 2025-01-06 10:02:30 [0.33ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 155 - 2025-01-06 10:02:30 [2.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/90004
   Query 156 - 2025-01-06 10:02:30 [0.18ms] */
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/90004
   Query 157 - 2025-01-06 10:02:30 [0.63ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 158 - 2025-01-06 10:02:30 [3.91ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103053 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/90004
   Query 159 - 2025-01-06 10:02:30 [1.63ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 90004 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/90004
   Query 160 - 2025-01-06 10:02:30 [2.45ms] */
select * from `title_reprint_history` where `vehicle_id` = 90004 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=90004&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-01-06 10:02:33 [1.32ms] */
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=90004&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-01-06 10:02:33 [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=90004&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-01-06 10:02:33 [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/audit-details?audit_ids=90004&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-01-06 10:02:33 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=90004&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-01-06 10:02:33 [0.57ms] */
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 = 90004 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 1 - 2025-01-06 10:02:41 [2.91ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 2 - 2025-01-06 10:02:41 [0.62ms] */
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/105212
   Query 3 - 2025-01-06 10:02:41 [0.48ms] */
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/105212
   Query 4 - 2025-01-06 10:02:41 [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/105212
   Query 5 - 2025-01-06 10:02:41 [1.26ms] */
select * from `transaction` where `transaction`.`id` = 105212 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 6 - 2025-01-06 10:02:41 [1.04ms] */
select * from `transaction_workflow` where `transaction_id` = 105212 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 7 - 2025-01-06 10:02:41 [1.4ms] */
select * from `invoice` where `transaction_id` = 105212 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 8 - 2025-01-06 10:02:41 [1ms] */
select * from `invoice_payment` where `invoice_id` = 104770;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 9 - 2025-01-06 10:02:41 [1.55ms] */
select * from `payment_documents` where `transaction_id` = 105212;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 10 - 2025-01-06 10:02:41 [0.84ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105212 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 11 - 2025-01-06 10:02:41 [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/w/wkflw/105212
   Query 12 - 2025-01-06 10:02:41 [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/105212
   Query 13 - 2025-01-06 10:02:41 [0.18ms] */
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/105212
   Query 14 - 2025-01-06 10:02:41 [0.16ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 15 - 2025-01-06 10:02:41 [1.68ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 16 - 2025-01-06 10:02:41 [0.66ms] */
select * from `transaction` where `transaction`.`id` = 105212 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 17 - 2025-01-06 10:02:41 [103.39ms] */
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` = 105212 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 18 - 2025-01-06 10:02:41 [61.49ms] */
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` = 105212 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 19 - 2025-01-06 10:02:41 [0.2ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 20 - 2025-01-06 10:02:41 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 103061 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 21 - 2025-01-06 10:02:41 [0.41ms] */
select * from `invoice` where `invoice`.`id` = 102626 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 22 - 2025-01-06 10:02:41 [0.15ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 23 - 2025-01-06 10:02:41 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 103245 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 24 - 2025-01-06 10:02:41 [0.42ms] */
select * from `invoice` where `invoice`.`id` = 102807 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 25 - 2025-01-06 10:02:41 [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/105212
   Query 26 - 2025-01-06 10:02:41 [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/105212
   Query 27 - 2025-01-06 10:02:41 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 105212 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 28 - 2025-01-06 10:02:41 [77.97ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 29 - 2025-01-06 10:02:41 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 30 - 2025-01-06 10:02:41 [0.92ms] */
select * from `vehicle` where `vehicle`.`id` = 90004 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 31 - 2025-01-06 10:02:41 [0.26ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 32 - 2025-01-06 10:02:41 [0.27ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 33 - 2025-01-06 10:02:41 [0.25ms] */
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/105212
   Query 34 - 2025-01-06 10:02:41 [0.35ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90004 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 35 - 2025-01-06 10:02:41 [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/w/wkflw/105212
   Query 36 - 2025-01-06 10:02:41 [0.28ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 37 - 2025-01-06 10:02:41 [0.24ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 19 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 38 - 2025-01-06 10:02:41 [0.29ms] */
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/105212
   Query 39 - 2025-01-06 10:02:41 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 105212 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 40 - 2025-01-06 10:02:41 [0.15ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 41 - 2025-01-06 10:02:41 [0.19ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 42 - 2025-01-06 10:02:41 [0.82ms] */
select * from `party` where `party`.`id` = 57994 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 43 - 2025-01-06 10:02:41 [0.27ms] */
select * from `person` where `person`.`id` = 55617 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 44 - 2025-01-06 10:02:41 [63.2ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55617 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 45 - 2025-01-06 10:02:41 [0.56ms] */
select * from `address` where `address`.`id` = 57994 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 46 - 2025-01-06 10:02:41 [0.42ms] */
select * from `district` where `district`.`id` = 17 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 47 - 2025-01-06 10:02:41 [0.47ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 48 - 2025-01-06 10:02:41 [1.36ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 49 - 2025-01-06 10:02:41 [0.33ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 50 - 2025-01-06 10:02:41 [0.21ms] */
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/105212
   Query 51 - 2025-01-06 10:02:41 [0.19ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 52 - 2025-01-06 10:02:41 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 105212 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 53 - 2025-01-06 10:02:41 [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/105212
   Query 54 - 2025-01-06 10:02:41 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98813 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 55 - 2025-01-06 10:02:41 [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/105212
   Query 56 - 2025-01-06 10:02:41 [0.24ms] */
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/105212
   Query 57 - 2025-01-06 10:02:41 [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/105212
   Query 58 - 2025-01-06 10:02:41 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 105212 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 59 - 2025-01-06 10:02:41 [0.45ms] */
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/105212
   Query 60 - 2025-01-06 10:02:41 [0.38ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 61 - 2025-01-06 10:02:41 [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/105212
   Query 62 - 2025-01-06 10:02:41 [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/105212
   Query 63 - 2025-01-06 10:02:41 [0.19ms] */
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/105212
   Query 64 - 2025-01-06 10:02:41 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 65 - 2025-01-06 10:02:41 [1.45ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 66 - 2025-01-06 10:02:41 [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/105212
   Query 67 - 2025-01-06 10:02:41 [0.17ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 68 - 2025-01-06 10:02:41 [0.16ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 69 - 2025-01-06 10:02:41 [0.33ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105212
   Query 70 - 2025-01-06 10:02:41 [0.75ms] */
(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/105212
   Query 71 - 2025-01-06 10:02:41 [0.76ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-06 10:10:20 [3.08ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-06 10:10:20 [0.37ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-06 10:10:20 [0.8ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-06 10:10:20 [6.53ms] */
update `userprofiles` set `last_ip` = '171.79.61.252', `login_count` = 776, `last_login` = '2025-01-06 10:10:20', `userprofiles`.`updated_at` = '2025-01-06 10:10:20' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-06 10:10:20 [0.39ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-06 10:10:20 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-06 10:10:20 [0.62ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-06 10:10:20 [0.93ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-06 10:10:20 [0.15ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-06 10:10:20 [0.69ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-06 10:10:20 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-06 10:10:20 [0.11ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-06 10:10:20 [4.02ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7', 5, 3, '[]', 0, '2025-01-06 10:10:20', '2025-01-06 10:10:20', '2026-01-06 10:10:20');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-06 10:10:20 [0.31ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-06 10:10:20 [2.9ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 1 - 2025-01-06 10:10:29 [2.74ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 2 - 2025-01-06 10:10:29 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 3 - 2025-01-06 10:10:29 [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/r/report/expired-tax
   Query 4 - 2025-01-06 10:10:29 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 5 - 2025-01-06 10:10:29 [298.2ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-06 10:10:29' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 6 - 2025-01-06 10:10:29 [131.63ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-06 10:10:29' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 7 - 2025-01-06 10:10:29 [0.51ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 8 - 2025-01-06 10:10:29 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 1 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 9 - 2025-01-06 10:10:29 [2.24ms] */
select * from `party` where `party`.`id` = 27049 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 10 - 2025-01-06 10:10:29 [1.32ms] */
select * from `person` where `person`.`id` = 27049 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 11 - 2025-01-06 10:10:29 [0.5ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 12 - 2025-01-06 10:10:30 [3.4ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 13 - 2025-01-06 10:10:30 [0.25ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 14 - 2025-01-06 10:10:30 [0.62ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 15 - 2025-01-06 10:10:30 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 16 - 2025-01-06 10:10:30 [2.64ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 17 - 2025-01-06 10:10:30 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 18 - 2025-01-06 10:10:30 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 2 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 19 - 2025-01-06 10:10:30 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 2 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 20 - 2025-01-06 10:10:30 [0.24ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 21 - 2025-01-06 10:10:30 [0.24ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 22 - 2025-01-06 10:10:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 23 - 2025-01-06 10:10:30 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 24 - 2025-01-06 10:10:30 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 25 - 2025-01-06 10:10:30 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 26 - 2025-01-06 10:10:30 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 27 - 2025-01-06 10:10:30 [5.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 `vehicle_tax`.`vehicle_id` = 2 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 28 - 2025-01-06 10:10:30 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 29 - 2025-01-06 10:10:30 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 4 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 30 - 2025-01-06 10:10:30 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 4 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 31 - 2025-01-06 10:10:30 [0.8ms] */
select * from `party` where `party`.`id` = 23256 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 32 - 2025-01-06 10:10:30 [1.52ms] */
select * from `person` where `person`.`id` = 23256 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 33 - 2025-01-06 10:10:30 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 34 - 2025-01-06 10:10:30 [0.79ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 35 - 2025-01-06 10:10:30 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 36 - 2025-01-06 10:10:30 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 37 - 2025-01-06 10:10:30 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 38 - 2025-01-06 10:10:30 [2.64ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 4 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 39 - 2025-01-06 10:10:30 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 40 - 2025-01-06 10:10:30 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 5 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 41 - 2025-01-06 10:10:30 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 5 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 42 - 2025-01-06 10:10:30 [0.75ms] */
select * from `party` where `party`.`id` = 23428 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 43 - 2025-01-06 10:10:30 [1.03ms] */
select * from `person` where `person`.`id` = 23428 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 44 - 2025-01-06 10:10:30 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 45 - 2025-01-06 10:10:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 46 - 2025-01-06 10:10:30 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 47 - 2025-01-06 10:10:30 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 48 - 2025-01-06 10:10:30 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 12 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 49 - 2025-01-06 10:10:30 [1.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 5 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 50 - 2025-01-06 10:10:30 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 51 - 2025-01-06 10:10:30 [0.12ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 5 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 52 - 2025-01-06 10:10:30 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 5 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 53 - 2025-01-06 10:10:30 [0.13ms] */
select * from `party` where `party`.`id` = 23428 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 54 - 2025-01-06 10:10:30 [0.14ms] */
select * from `person` where `person`.`id` = 23428 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 55 - 2025-01-06 10:10:30 [0.47ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 56 - 2025-01-06 10:10:30 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 57 - 2025-01-06 10:10:30 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 58 - 2025-01-06 10:10:30 [3.57ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 59 - 2025-01-06 10:10:30 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 12 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 60 - 2025-01-06 10:10:30 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 5 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 61 - 2025-01-06 10:10:30 [0.36ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 62 - 2025-01-06 10:10:30 [1.43ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 6 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 63 - 2025-01-06 10:10:30 [0.41ms] */
select * from `party_vehicle` where `vehicle_id` = 6 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 64 - 2025-01-06 10:10:30 [0.58ms] */
select * from `party` where `party`.`id` = 23562 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 65 - 2025-01-06 10:10:30 [0.33ms] */
select * from `person` where `person`.`id` = 23562 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 66 - 2025-01-06 10:10:30 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 67 - 2025-01-06 10:10:30 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 68 - 2025-01-06 10:10:30 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 69 - 2025-01-06 10:10:30 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 70 - 2025-01-06 10:10:30 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 71 - 2025-01-06 10:10:30 [0.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 6 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 72 - 2025-01-06 10:10:30 [0.47ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 73 - 2025-01-06 10:10:30 [0.39ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 74 - 2025-01-06 10:10:30 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 9 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 75 - 2025-01-06 10:10:30 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 9 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 76 - 2025-01-06 10:10:30 [2.67ms] */
select * from `party` where `party`.`id` = 23937 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 77 - 2025-01-06 10:10:30 [0.23ms] */
select * from `person` where `person`.`id` = 23937 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 78 - 2025-01-06 10:10:30 [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/r/report/expired-tax
   Query 79 - 2025-01-06 10:10:30 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 80 - 2025-01-06 10:10:30 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 81 - 2025-01-06 10:10:30 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 82 - 2025-01-06 10:10:30 [0.18ms] */
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/r/report/expired-tax
   Query 83 - 2025-01-06 10:10:30 [1.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 9 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 84 - 2025-01-06 10:10:30 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 85 - 2025-01-06 10:10:30 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 12 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 86 - 2025-01-06 10:10:30 [0.21ms] */
select * from `party_vehicle` where `vehicle_id` = 12 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 87 - 2025-01-06 10:10:30 [0.2ms] */
select * from `party` where `party`.`id` = 24068 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 88 - 2025-01-06 10:10:30 [0.24ms] */
select * from `person` where `person`.`id` = 24068 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 89 - 2025-01-06 10:10:30 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 90 - 2025-01-06 10:10:30 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 91 - 2025-01-06 10:10:30 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 92 - 2025-01-06 10:10:30 [0.1ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 93 - 2025-01-06 10:10:30 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 94 - 2025-01-06 10:10:30 [1.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 12 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 95 - 2025-01-06 10:10:30 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 96 - 2025-01-06 10:10:30 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 14 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 97 - 2025-01-06 10:10:30 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 14 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 98 - 2025-01-06 10:10:30 [0.21ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 99 - 2025-01-06 10:10:30 [0.82ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 100 - 2025-01-06 10:10:30 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 101 - 2025-01-06 10:10:30 [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/r/report/expired-tax
   Query 102 - 2025-01-06 10:10:30 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 103 - 2025-01-06 10:10:30 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 104 - 2025-01-06 10:10:30 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 105 - 2025-01-06 10:10:30 [3.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 14 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 106 - 2025-01-06 10:10:30 [0.15ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 107 - 2025-01-06 10:10:30 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 15 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 108 - 2025-01-06 10:10:30 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 15 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 109 - 2025-01-06 10:10:30 [1.03ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 110 - 2025-01-06 10:10:30 [0.2ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 111 - 2025-01-06 10:10:30 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 112 - 2025-01-06 10:10:30 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 113 - 2025-01-06 10:10:30 [0.16ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 114 - 2025-01-06 10:10:30 [0.95ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 115 - 2025-01-06 10:10:30 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 116 - 2025-01-06 10:10:30 [1.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 15 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 117 - 2025-01-06 10:10:30 [0.23ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 1 - 2025-01-06 10:10:33 [1.41ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 2 - 2025-01-06 10:10:33 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 3 - 2025-01-06 10:10:33 [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/report.expired-tax-component
   Query 4 - 2025-01-06 10:10:33 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 5 - 2025-01-06 10:10:33 [188.97ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-06 10:10:33' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 6 - 2025-01-06 10:10:33 [153.03ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-06 10:10:33' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 620;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 7 - 2025-01-06 10:10:33 [0.44ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89963 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 8 - 2025-01-06 10:10:33 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 89963 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 9 - 2025-01-06 10:10:33 [0.77ms] */
select * from `party` where `party`.`id` = 39798 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 10 - 2025-01-06 10:10:33 [0.51ms] */
select * from `person` where `person`.`id` = 39798 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 11 - 2025-01-06 10:10:33 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 12 - 2025-01-06 10:10:33 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 13 - 2025-01-06 10:10:33 [1.38ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 14 - 2025-01-06 10:10:33 [1.03ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 15 - 2025-01-06 10:10:33 [0.56ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 16 - 2025-01-06 10:10:33 [4.57ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89963 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 17 - 2025-01-06 10:10:33 [3.31ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 18 - 2025-01-06 10:10:33 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 19 - 2025-01-06 10:10:33 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89964 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 20 - 2025-01-06 10:10:33 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89964 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 21 - 2025-01-06 10:10:33 [0.5ms] */
select * from `party` where `party`.`id` = 5656 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 22 - 2025-01-06 10:10:33 [0.79ms] */
select * from `person` where `person`.`id` = 5656 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 23 - 2025-01-06 10:10:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 24 - 2025-01-06 10:10:33 [3.62ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 25 - 2025-01-06 10:10:33 [0.4ms] */
select * from `model` where `model`.`id` = 4 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 26 - 2025-01-06 10:10:33 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 27 - 2025-01-06 10:10:33 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 28 - 2025-01-06 10:10:33 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89964 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 29 - 2025-01-06 10:10:33 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 30 - 2025-01-06 10:10:33 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 31 - 2025-01-06 10:10:33 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89965 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2025-01-06 10:10:33 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 89965 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2025-01-06 10:10:33 [1.34ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 34 - 2025-01-06 10:10:33 [0.29ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2025-01-06 10:10:33 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 36 - 2025-01-06 10:10:33 [4.84ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 37 - 2025-01-06 10:10:33 [0.14ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 38 - 2025-01-06 10:10:33 [0.12ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 39 - 2025-01-06 10:10:33 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 40 - 2025-01-06 10:10:33 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89965 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 41 - 2025-01-06 10:10:33 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 42 - 2025-01-06 10:10:33 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2025-01-06 10:10:33 [5.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89966 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 44 - 2025-01-06 10:10:33 [0.45ms] */
select * from `party_vehicle` where `vehicle_id` = 89966 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 45 - 2025-01-06 10:10:33 [0.92ms] */
select * from `party` where `party`.`id` = 29360 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 46 - 2025-01-06 10:10:33 [0.45ms] */
select * from `person` where `person`.`id` = 29360 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 47 - 2025-01-06 10:10:33 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2025-01-06 10:10:33 [1.98ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 49 - 2025-01-06 10:10:33 [0.14ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 50 - 2025-01-06 10:10:33 [0.12ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 51 - 2025-01-06 10:10:33 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 5 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 52 - 2025-01-06 10:10:33 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89966 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2025-01-06 10:10:33 [0.53ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 54 - 2025-01-06 10:10:33 [0.37ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2025-01-06 10:10:33 [0.61ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89967 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2025-01-06 10:10:33 [1.32ms] */
select * from `party_vehicle` where `vehicle_id` = 89967 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 57 - 2025-01-06 10:10:33 [0.44ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2025-01-06 10:10:33 [0.54ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 59 - 2025-01-06 10:10:33 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 60 - 2025-01-06 10:10:33 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 61 - 2025-01-06 10:10:33 [0.66ms] */
select * from `model` where `model`.`id` = 4012 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 62 - 2025-01-06 10:10:33 [0.69ms] */
select * from `make` where `make`.`id` = 1027 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 63 - 2025-01-06 10:10:33 [0.88ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 64 - 2025-01-06 10:10:33 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89967 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 65 - 2025-01-06 10:10:33 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 66 - 2025-01-06 10:10:33 [0.83ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 67 - 2025-01-06 10:10:33 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89968 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2025-01-06 10:10:33 [1.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89968 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2025-01-06 10:10:33 [0.54ms] */
select * from `party` where `party`.`id` = 3635 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2025-01-06 10:10:33 [0.23ms] */
select * from `person` where `person`.`id` = 3635 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 71 - 2025-01-06 10:10:33 [0.88ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 72 - 2025-01-06 10:10:33 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 73 - 2025-01-06 10:10:33 [0.42ms] */
select * from `model` where `model`.`id` = 4322 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 74 - 2025-01-06 10:10:33 [0.62ms] */
select * from `make` where `make`.`id` = 458 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2025-01-06 10:10:33 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 47 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2025-01-06 10:10:33 [2.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 `vehicle_tax`.`vehicle_id` = 89968 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2025-01-06 10:10:33 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 78 - 2025-01-06 10:10:33 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89969 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 79 - 2025-01-06 10:10:33 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 89969 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 80 - 2025-01-06 10:10:33 [0.25ms] */
select * from `party` where `party`.`id` = 2159 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 81 - 2025-01-06 10:10:33 [0.29ms] */
select * from `person` where `person`.`id` = 2159 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 82 - 2025-01-06 10:10:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 83 - 2025-01-06 10:10:33 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 84 - 2025-01-06 10:10:33 [0.2ms] */
select * from `model` where `model`.`id` = 2039 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2025-01-06 10:10:33 [0.2ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2025-01-06 10:10:33 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2025-01-06 10:10:33 [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 `vehicle_tax`.`vehicle_id` = 89969 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 88 - 2025-01-06 10:10:33 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 89 - 2025-01-06 10:10:33 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89970 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 90 - 2025-01-06 10:10:33 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 89970 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 91 - 2025-01-06 10:10:33 [0.29ms] */
select * from `party` where `party`.`id` = 24456 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 92 - 2025-01-06 10:10:33 [0.32ms] */
select * from `person` where `person`.`id` = 24456 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 93 - 2025-01-06 10:10:33 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2025-01-06 10:10:33 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2025-01-06 10:10:33 [0.15ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2025-01-06 10:10:33 [0.15ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2025-01-06 10:10:33 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 98 - 2025-01-06 10:10:33 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89970 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 99 - 2025-01-06 10:10:33 [0.26ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 100 - 2025-01-06 10:10:33 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89974 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 101 - 2025-01-06 10:10:33 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 89974 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 102 - 2025-01-06 10:10:33 [0.72ms] */
select * from `party` where `party`.`id` = 58261 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 103 - 2025-01-06 10:10:33 [0.92ms] */
select * from `person` where `person`.`id` = 55800 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 104 - 2025-01-06 10:10:33 [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): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2025-01-06 10:10:33 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 106 - 2025-01-06 10:10:33 [0.24ms] */
select * from `model` where `model`.`id` = 12 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 107 - 2025-01-06 10:10:33 [0.17ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2025-01-06 10:10:33 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 109 - 2025-01-06 10:10:33 [1.77ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89974 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 110 - 2025-01-06 10:10:33 [0.2ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 111 - 2025-01-06 10:10:33 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 112 - 2025-01-06 10:10:33 [0.29ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89976 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 113 - 2025-01-06 10:10:33 [1.32ms] */
select * from `party_vehicle` where `vehicle_id` = 89976 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 114 - 2025-01-06 10:10:33 [0.69ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 115 - 2025-01-06 10:10:33 [1.24ms] */
select * from `person` where `person`.`id` = 49236 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 116 - 2025-01-06 10:10:33 [0.38ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 117 - 2025-01-06 10:10:33 [0.7ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 118 - 2025-01-06 10:10:33 [0.22ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2025-01-06 10:10:33 [0.19ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 120 - 2025-01-06 10:10:33 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 121 - 2025-01-06 10:10:33 [12.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89976 and date(`term`.`first_date_of_quarter`) <= '2025-01-06' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 122 - 2025-01-06 10:10:33 [0.31ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 123 - 2025-01-06 10:10:33 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-06 10:10:40 [1.85ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-06 10:10:40 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-06 10:10:40 [0.37ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-06 10:10:40 [0.44ms] */
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 - 2025-01-06 10:10:40 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-06 10:10:40 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-06 10:10:40 [1.38ms] */
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` = 'RTA017' 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 - 2025-01-06 10:10:40 [2.05ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-06 10:10:40 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-06 10:10:40 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-06 10:10:40 [0.28ms] */
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 - 2025-01-06 10:10:40 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-06 10:10:40 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-06 10:10:40 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-06 10:10:40 [0.46ms] */
select * from `vehicle` where `id` = 89967 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-06 10:10:40 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 89967 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-06 10:10:40 [1.08ms] */
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` = 89967 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 - 2025-01-06 10:10:41 [1.54ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-06 10:10:41 [0.13ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-06 10:10:41 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-06 10:10:41 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-06 10:10:41 [0.13ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-06 10:10:41 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-06 10:10:41 [0.52ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-06 10:10:42 [22.75ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-06 10:10:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-06 10:10:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-06 10:10:42 [0.17ms] */
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 - 2025-01-06 10:10:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-06 10:10:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-06 10:10:42 [0.32ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 1 - 2025-01-06 10:11:34 [2.26ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 2 - 2025-01-06 10:11:34 [1.79ms] */
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/89967
   Query 3 - 2025-01-06 10:11:34 [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/89967
   Query 4 - 2025-01-06 10:11:34 [0.48ms] */
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/89967
   Query 5 - 2025-01-06 10:11:34 [4.97ms] */
select * from `vehicle` where `id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 6 - 2025-01-06 10:11:34 [10.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 7 - 2025-01-06 10:11:34 [3.55ms] */
select * from `vehicle` where `id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 8 - 2025-01-06 10:11:34 [3.74ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 9 - 2025-01-06 10:11:34 [14.26ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 10 - 2025-01-06 10:11:34 [7.67ms] */
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/89967
   Query 11 - 2025-01-06 10:11:34 [15.4ms] */
select * from `model` where `model`.`id` = 4012 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 12 - 2025-01-06 10:11:34 [2.28ms] */
select * from `make` where `make`.`id` = 1027 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 13 - 2025-01-06 10:11:34 [0.25ms] */
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/89967
   Query 14 - 2025-01-06 10:11:34 [3.51ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 15 - 2025-01-06 10:11:34 [3.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 16 - 2025-01-06 10:11:34 [0.81ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 17 - 2025-01-06 10:11:34 [3.61ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 18 - 2025-01-06 10:11:34 [2.49ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 19 - 2025-01-06 10:11:34 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 20 - 2025-01-06 10:11:34 [1.39ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 21 - 2025-01-06 10:11:34 [0.16ms] */
select * from `model` where `model`.`id` = 4012 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 22 - 2025-01-06 10:11:34 [0.14ms] */
select * from `make` where `make`.`id` = 1027 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 23 - 2025-01-06 10:11:34 [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/89967
   Query 24 - 2025-01-06 10:11:34 [7.82ms] */
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/89967
   Query 25 - 2025-01-06 10:11:34 [3.67ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 26 - 2025-01-06 10:11:34 [2.91ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 27 - 2025-01-06 10:11:34 [3.47ms] */
select * from `transaction` where `transaction`.`id` = 103007 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 28 - 2025-01-06 10:11:34 [0.6ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 89967 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 29 - 2025-01-06 10:11:34 [1.42ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 30 - 2025-01-06 10:11:34 [2.46ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 31 - 2025-01-06 10:11:34 [0.16ms] */
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/89967
   Query 32 - 2025-01-06 10:11:34 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 33 - 2025-01-06 10:11:34 [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/89967
   Query 34 - 2025-01-06 10:11:34 [2.37ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 35 - 2025-01-06 10:11:34 [0.15ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 36 - 2025-01-06 10:11:34 [0.16ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 37 - 2025-01-06 10:11:34 [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/m/vehicle/89967
   Query 38 - 2025-01-06 10:11:34 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 39 - 2025-01-06 10:11:34 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 40 - 2025-01-06 10:11:34 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 41 - 2025-01-06 10:11:34 [0.21ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 42 - 2025-01-06 10:11:34 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 43 - 2025-01-06 10:11:34 [0.16ms] */
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/89967
   Query 44 - 2025-01-06 10:11:34 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 45 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 46 - 2025-01-06 10:11:34 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 103273 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 47 - 2025-01-06 10:11:34 [0.35ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 48 - 2025-01-06 10:11:34 [0.21ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 49 - 2025-01-06 10:11:34 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 50 - 2025-01-06 10:11:34 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 51 - 2025-01-06 10:11:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 52 - 2025-01-06 10:11:34 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 53 - 2025-01-06 10:11:34 [0.19ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 54 - 2025-01-06 10:11:34 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 55 - 2025-01-06 10:11:34 [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/89967
   Query 56 - 2025-01-06 10:11:34 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 57 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 58 - 2025-01-06 10:11:34 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 103274 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 59 - 2025-01-06 10:11:34 [0.15ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 60 - 2025-01-06 10:11:34 [0.15ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 61 - 2025-01-06 10:11:34 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 62 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 63 - 2025-01-06 10:11:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 64 - 2025-01-06 10:11:34 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 65 - 2025-01-06 10:11:34 [0.19ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 66 - 2025-01-06 10:11:34 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 67 - 2025-01-06 10:11:34 [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/89967
   Query 68 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 69 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 70 - 2025-01-06 10:11:34 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103275 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 71 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 72 - 2025-01-06 10:11:34 [0.15ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 73 - 2025-01-06 10:11:34 [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/89967
   Query 74 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 75 - 2025-01-06 10:11:34 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 76 - 2025-01-06 10:11:34 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 77 - 2025-01-06 10:11:34 [0.19ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 78 - 2025-01-06 10:11:34 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 79 - 2025-01-06 10:11:34 [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/89967
   Query 80 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 81 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 82 - 2025-01-06 10:11:34 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 103276 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 83 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 84 - 2025-01-06 10:11:34 [0.14ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 85 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 86 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 87 - 2025-01-06 10:11:34 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 88 - 2025-01-06 10:11:34 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 89 - 2025-01-06 10:11:34 [0.22ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 90 - 2025-01-06 10:11:34 [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/89967
   Query 91 - 2025-01-06 10:11:34 [0.35ms] */
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/89967
   Query 92 - 2025-01-06 10:11:34 [0.31ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89967 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/89967
   Query 93 - 2025-01-06 10:11:34 [0.34ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89967 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/89967
   Query 94 - 2025-01-06 10:11:34 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 95 - 2025-01-06 10:11:34 [0.22ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 96 - 2025-01-06 10:11:34 [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/89967
   Query 97 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 98 - 2025-01-06 10:11:34 [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/89967
   Query 99 - 2025-01-06 10:11:34 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 100 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 101 - 2025-01-06 10:11:34 [0.15ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 102 - 2025-01-06 10:11:34 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 103 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 104 - 2025-01-06 10:11:34 [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/89967
   Query 105 - 2025-01-06 10:11:34 [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/89967
   Query 106 - 2025-01-06 10:11:34 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103273 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/89967
   Query 107 - 2025-01-06 10:11:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 108 - 2025-01-06 10:11:34 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 109 - 2025-01-06 10:11:34 [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/89967
   Query 110 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 111 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 112 - 2025-01-06 10:11:34 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 113 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 114 - 2025-01-06 10:11:34 [0.15ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 115 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 116 - 2025-01-06 10:11:34 [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/89967
   Query 117 - 2025-01-06 10:11:34 [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/89967
   Query 118 - 2025-01-06 10:11:34 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 119 - 2025-01-06 10:11:34 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103274 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/89967
   Query 120 - 2025-01-06 10:11:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 121 - 2025-01-06 10:11:34 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 122 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 123 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 124 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 125 - 2025-01-06 10:11:34 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 126 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 127 - 2025-01-06 10:11:34 [0.16ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 128 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 129 - 2025-01-06 10:11:34 [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/89967
   Query 130 - 2025-01-06 10:11:34 [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/89967
   Query 131 - 2025-01-06 10:11:34 [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/89967
   Query 132 - 2025-01-06 10:11:34 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103275 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/89967
   Query 133 - 2025-01-06 10:11:34 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 134 - 2025-01-06 10:11:34 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 135 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 136 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 137 - 2025-01-06 10:11:34 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 138 - 2025-01-06 10:11:34 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 139 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 140 - 2025-01-06 10:11:34 [0.16ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 141 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 142 - 2025-01-06 10:11:34 [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/89967
   Query 143 - 2025-01-06 10:11:34 [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/89967
   Query 144 - 2025-01-06 10:11:34 [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/89967
   Query 145 - 2025-01-06 10:11:34 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103276 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/89967
   Query 146 - 2025-01-06 10:11:34 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 147 - 2025-01-06 10:11:34 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 148 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 149 - 2025-01-06 10:11:34 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 150 - 2025-01-06 10:11:34 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 151 - 2025-01-06 10:11:34 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 152 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 153 - 2025-01-06 10:11:34 [0.15ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 154 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 155 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 156 - 2025-01-06 10:11:34 [0.12ms] */
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/89967
   Query 157 - 2025-01-06 10:11:34 [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/89967
   Query 158 - 2025-01-06 10:11:34 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103017 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/89967
   Query 159 - 2025-01-06 10:11:34 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 160 - 2025-01-06 10:11:34 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 161 - 2025-01-06 10:11:34 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 162 - 2025-01-06 10:11:34 [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/89967
   Query 163 - 2025-01-06 10:11:34 [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/89967
   Query 164 - 2025-01-06 10:11:34 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 165 - 2025-01-06 10:11:34 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 166 - 2025-01-06 10:11:34 [0.14ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 167 - 2025-01-06 10:11:34 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 168 - 2025-01-06 10:11: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/m/vehicle/89967
   Query 169 - 2025-01-06 10:11:34 [0.12ms] */
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/89967
   Query 170 - 2025-01-06 10:11:34 [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/89967
   Query 171 - 2025-01-06 10:11:34 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103007 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/89967
   Query 172 - 2025-01-06 10:11:34 [0.28ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89967 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 173 - 2025-01-06 10:11:34 [0.24ms] */
select * from `title_reprint_history` where `vehicle_id` = 89967 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-01-06 10:11:35 [1.38ms] */
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=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-01-06 10:11: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/audit-details?audit_ids=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-01-06 10:11: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/audit-details?audit_ids=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-01-06 10:11:35 [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/audit-details?audit_ids=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-01-06 10:11:35 [0.51ms] */
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 = 89967 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-06 10:11:42 [1.61ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-06 10:11:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-06 10:11:42 [0.63ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-06 10:11:42 [0.89ms] */
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 - 2025-01-06 10:11:42 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-06 10:11:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-06 10:11:42 [2.17ms] */
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 - 2025-01-06 10:11:42 [1.41ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99422, 99611) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-06 10:11:42 [1.4ms] */
select `parent_id` from `transaction` where `id` in (103017, 103273) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-06 10:11:42 [0.2ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-06 10:11:42 [0.21ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-06 10:11:42 [0.26ms] */
select * from `transaction` where `id` in (103017, 103273) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-06 10:11:42 [0.57ms] */
select * from `invoice` where `invoice`.`id` = 102582 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-06 10:11:42 [6.86ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-06 10:11:42' where `id` = 102582;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-06 10:11:42 [0.57ms] */
select * from `invoice` where `id` = 102582 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-06 10:11:42 [5.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 102582, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-06 10:11:42 [1.25ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-06 10:11:42 [1.51ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-06 10:11:42 [3.87ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 103017;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-06 10:11:42 [1.6ms] */
select * from `invoice` where `invoice`.`id` = 102835 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-06 10:11:42 [4.11ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-06 10:11:42' where `id` = 102835;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-06 10:11:42 [0.43ms] */
select * from `invoice` where `id` = 102835 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-06 10:11:42 [5.55ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 102835, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-06 10:11:42 [0.24ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-06 10:11:42 [1.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-01-06 10:11:42 [3.89ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 103273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-06 10:11:42 [3.03ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-06 10:11:42' where `id` in (99422, 99611) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-06 10:11:42 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-06 10:11:42 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-06 10:11:42 [0.35ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89967 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-06 10:11:42 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89967 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-06 10:11:42 [0.27ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-01-06 10:11:42 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-06 10:11:42 [0.2ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-06 10:11:42 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-06 10:11:42 [0.64ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (51984, 2, 89967, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-06 10:11:42 [0.33ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105213, 'INITIATED', '2025-01-06 10:11:42', 5, 5, 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-06 10:11:42 [0.23ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 98777, `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 105213;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-06 10:11:42 [0.41ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99422, 99611) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-06 10:11:42 [0.23ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99422, 99611) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-06 10:11:42 [0.32ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105213, 51984, '2025-01-06 10:11:42', '2025-01-06 10:11:42', 78.00, 0, 78.00, 78.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-06 10:11:42 [0.2ms] */
select * from `invoice` where `id` = 104771 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-06 10:11:42 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105213,"party_id":51984,"invoice_amount":"78.00","invoice_date":"2025-01-06 10:11:42","due_date":"2025-01-06 10:11:42","outstanding_balance":"78.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"78.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 104771, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-06 10:11:42 [0.27ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99422, 99611) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-06 10:11:42 [0.28ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 2, 78, 78, 104771, 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-06 10:11:42 [0.18ms] */
select * from `invoice_item` where `id` = 204713 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-06 10:11:42 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"78.00","quantity":2,"total_price":"78.00","invoice_id":104771}}', 5, 'App\Models\User', 204713, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-06 10:11:42 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-557-104771630', `invoice`.`updated_at` = '2025-01-06 10:11:42' where `id` = 104771;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-01-06 10:11:42 [0.19ms] */
select * from `invoice` where `id` = 104771 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-06 10:11:42 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-557-104771630"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104771, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-06 10:11:42 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99422 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-06 10:11:42 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-06 10:11:42' where `id` = 99422;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-06 10:11:42 [0.31ms] */
select * from `vehicle_tax` where `id` = 99422 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-06 10:11:42 [0.19ms] */
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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99422, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-06 10:11:42 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-01-06 10:11:42 [0.26ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105213, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 103017;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-06 10:11:42 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102582 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-06 10:11:42 [0.26ms] */
update `invoice` set `parent_id` = 104771, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-06 10:11:42' where `id` = 102582;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-06 10:11:42 [0.19ms] */
select * from `invoice` where `id` = 102582 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-06 10:11:42 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104771,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102582, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-06 10:11:42 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-06 10:11:42 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-06 10:11:42 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-06 10:11:42 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-01-06 10:11:42 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-06 10:11:42 [0.3ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-06 10:11:42 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103017, 'APPROVED', '2025-01-06 10:11:42', 5, 5, null, 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-06 10:11:42 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-01-06 10:11:42 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 103017;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-01-06 10:11:42 [0.23ms] */
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/make_payment
   Query 71 - 2025-01-06 10:11:42 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 102582 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-01-06 10:11:42 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99611 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-06 10:11:42 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-06 10:11:42' where `id` = 99611;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-06 10:11:42 [0.18ms] */
select * from `vehicle_tax` where `id` = 99611 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-06 10:11:42 [0.19ms] */
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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99611, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-06 10:11:42 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103273 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-06 10:11:42 [0.26ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105213, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 103273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-01-06 10:11:42 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102835 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-01-06 10:11:42 [0.28ms] */
update `invoice` set `parent_id` = 104771, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-06 10:11:42' where `id` = 102835;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-06 10:11:42 [0.18ms] */
select * from `invoice` where `id` = 102835 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-01-06 10:11:42 [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":{"parent_id":104771,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102835, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-06 10:11:42 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 103273 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-01-06 10:11:42 [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): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-01-06 10:11:42 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-01-06 10:11:42 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-01-06 10:11:42 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2025-01-06 10:11:42 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103273, 'APPROVED', '2025-01-06 10:11:42', 5, 5, null, 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-06 10:11:42 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-01-06 10:11:42 [1.72ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 103273;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-06 10:11:42 [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/make_payment
   Query 91 - 2025-01-06 10:11:42 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102835 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-06 10:11:42 [0.17ms] */
update `transaction` set `invoice_id` = 104771, `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 105213;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-06 10:11:42 [0.25ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-01-06 10:11:42' where `id` = 89967;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-06 10:11:42 [0.35ms] */
select * from `vehicle` where `id` = 89967 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-06 10:11:42 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 89967, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-06 10:11:42 [0.4ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":8}', '{"updated_by":5}', 'updated', 89967, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '171.79.61.252', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-06 10:11:42 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 105213 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-01-06 10:11:42 [0.25ms] */
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/make_payment
   Query 99 - 2025-01-06 10:11:42 [0.33ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2025-01-06 10:11:42 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-01-06 10:11:42 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105213, 'APPROVED', '2025-01-06 10:11:42', 5, 5, null, 5, 5, '2025-01-06 10:11:42', '2025-01-06 10:11:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-01-06 10:11:42 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-01-06 10:11:42 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-06 10:11:42' where `id` = 105213;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-01-06 10:11:42 [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/make_payment
   Query 105 - 2025-01-06 10:11:42 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104771 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-01-06 10:11:42 [0.62ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99422, 99611) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-01-06 10:11:42 [0.29ms] */
select * from `invoice` where `transaction_id` = 103017 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-01-06 10:11:42 [0.29ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102582 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 109 - 2025-01-06 10:11:42 [0.29ms] */
select * from `invoice` where `transaction_id` = 103273 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-01-06 10:11:42 [0.26ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102835 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 111 - 2025-01-06 10:11:42 [0.3ms] */
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 112 - 2025-01-06 10:11:42 [0.23ms] */
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 - 2025-01-06 10:11:42 [1.5ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-06 10:11:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-06 10:11:42 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-06 10:11:42 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-06 10:11:42 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-06 10:11:42 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-06 10:11:42 [0.44ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-06 10:13:06 [3.91ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-06 10:13:06 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-06 10:13:06 [1.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-06 10:13:06 [0.77ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-06 10:13:06 [0.68ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-06 10:13:06 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-06 10:13:06 [0.82ms] */
select count(*) as aggregate from `payment_documents` where `receipt_number` = 5283176384;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-06 10:13:40 [8.74ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-06 10:13:40 [9.96ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-06 10:13:40 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-06 10:13:40 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-06 10:13:40 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-06 10:13:40 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-06 10:13:40 [8.21ms] */
select count(*) as aggregate from `payment_documents` where `receipt_number` = 528317676869;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-06 10:13:40 [6.97ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105213, 'GOV_SMS_IMAGE', 528317676869, 'payment_confirmation/Payment-Confirmation-TR105213-ATTC-676474427.png', '2025-01-06 10:13:40', '2025-01-06 10:13:40');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 1 - 2025-01-06 10:14:49 [1.63ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 2 - 2025-01-06 10:14:49 [0.13ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 3 - 2025-01-06 10:14:49 [0.37ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 4 - 2025-01-06 10:14:49 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 5 - 2025-01-06 10:14:49 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 6 - 2025-01-06 10:14:49 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 7 - 2025-01-06 10:14:49 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105213 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 8 - 2025-01-06 10:14:49 [6.34ms] */
update `transaction` set `gov_fee_sms_confirmation` = 123, `gov_fee_ar_number` = 528317676869, `gov_fee_payment_date` = '2025-01-06 10:14:49', `transaction`.`updated_at` = '2025-01-06 10:14:49' where `id` = 105213;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 9 - 2025-01-06 10:14:49 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 10 - 2025-01-06 10:14:49 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-06 10:14:54 [1.47ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-06 10:14:54 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-06 10:14:54 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-06 10:14:54 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-06 10:14:54 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-06 10:14:54 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-06 10:14:54 [0.57ms] */
select count(*) as aggregate from `payment_documents` where `receipt_number` = 123;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-06 10:14:54 [14.8ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105213, 'GOV_RECEIPT_IMAGE', 123, 'payment_confirmation/Payment-Confirmation-TR105213-ATTC-252255326.png', '2025-01-06 10:14:54', '2025-01-06 10:14:54');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 1 - 2025-01-06 10:15:02 [1.63ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 2 - 2025-01-06 10:15:02 [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/89967
   Query 3 - 2025-01-06 10:15:02 [0.3ms] */
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/89967
   Query 4 - 2025-01-06 10:15:02 [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/89967
   Query 5 - 2025-01-06 10:15:02 [1.28ms] */
select * from `vehicle` where `id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 6 - 2025-01-06 10:15:02 [12.02ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 7 - 2025-01-06 10:15:02 [3.73ms] */
select * from `vehicle` where `id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 8 - 2025-01-06 10:15:02 [0.18ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 9 - 2025-01-06 10:15:02 [4.2ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 10 - 2025-01-06 10:15:02 [17.78ms] */
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/89967
   Query 11 - 2025-01-06 10:15:02 [10.66ms] */
select * from `model` where `model`.`id` = 4012 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 12 - 2025-01-06 10:15:02 [0.23ms] */
select * from `make` where `make`.`id` = 1027 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 13 - 2025-01-06 10:15:02 [0.73ms] */
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/89967
   Query 14 - 2025-01-06 10:15:02 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 15 - 2025-01-06 10:15:02 [0.53ms] */
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/89967
   Query 16 - 2025-01-06 10:15:02 [0.74ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 17 - 2025-01-06 10:15:02 [0.73ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 18 - 2025-01-06 10:15:02 [0.42ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 19 - 2025-01-06 10:15:02 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 20 - 2025-01-06 10:15:02 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 21 - 2025-01-06 10:15:02 [0.15ms] */
select * from `model` where `model`.`id` = 4012 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 22 - 2025-01-06 10:15:02 [0.12ms] */
select * from `make` where `make`.`id` = 1027 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 23 - 2025-01-06 10:15:02 [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/89967
   Query 24 - 2025-01-06 10:15:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 25 - 2025-01-06 10:15:02 [1.19ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 26 - 2025-01-06 10:15:02 [0.87ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 27 - 2025-01-06 10:15:02 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 103007 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 28 - 2025-01-06 10:15:02 [2.11ms] */
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` = 89967 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 29 - 2025-01-06 10:15:02 [0.26ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 30 - 2025-01-06 10:15:02 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 31 - 2025-01-06 10:15:02 [0.16ms] */
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/89967
   Query 32 - 2025-01-06 10:15:02 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 33 - 2025-01-06 10:15:02 [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/89967
   Query 34 - 2025-01-06 10:15:02 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 35 - 2025-01-06 10:15:02 [0.28ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 36 - 2025-01-06 10:15:02 [0.21ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 37 - 2025-01-06 10:15:02 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 38 - 2025-01-06 10:15:02 [0.6ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 39 - 2025-01-06 10:15:02 [1.1ms] */
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/89967
   Query 40 - 2025-01-06 10:15:02 [0.87ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 41 - 2025-01-06 10:15:02 [0.63ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 42 - 2025-01-06 10:15:02 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 43 - 2025-01-06 10:15:02 [0.17ms] */
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/89967
   Query 44 - 2025-01-06 10:15:02 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 45 - 2025-01-06 10:15:02 [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/89967
   Query 46 - 2025-01-06 10:15:02 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 103273 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 47 - 2025-01-06 10:15:02 [0.18ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 48 - 2025-01-06 10:15:02 [0.17ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 49 - 2025-01-06 10:15:02 [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/89967
   Query 50 - 2025-01-06 10:15:02 [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/89967
   Query 51 - 2025-01-06 10:15:02 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 52 - 2025-01-06 10:15:02 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 53 - 2025-01-06 10:15:02 [0.23ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 54 - 2025-01-06 10:15:02 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 55 - 2025-01-06 10:15:02 [0.16ms] */
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/89967
   Query 56 - 2025-01-06 10:15:02 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 57 - 2025-01-06 10:15:02 [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/89967
   Query 58 - 2025-01-06 10:15:02 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 103274 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 59 - 2025-01-06 10:15:02 [0.18ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 60 - 2025-01-06 10:15:02 [0.18ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 61 - 2025-01-06 10:15:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 62 - 2025-01-06 10:15:02 [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/89967
   Query 63 - 2025-01-06 10:15:02 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 64 - 2025-01-06 10:15:02 [0.33ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 65 - 2025-01-06 10:15:02 [0.19ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 66 - 2025-01-06 10:15:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 67 - 2025-01-06 10:15:02 [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/89967
   Query 68 - 2025-01-06 10:15:02 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 69 - 2025-01-06 10:15:02 [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/89967
   Query 70 - 2025-01-06 10:15:02 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 103275 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 71 - 2025-01-06 10:15:02 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 72 - 2025-01-06 10:15:02 [0.13ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 73 - 2025-01-06 10:15:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 74 - 2025-01-06 10:15:02 [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/89967
   Query 75 - 2025-01-06 10:15:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 76 - 2025-01-06 10:15:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 77 - 2025-01-06 10:15:02 [0.19ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 78 - 2025-01-06 10:15:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 79 - 2025-01-06 10:15:02 [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/89967
   Query 80 - 2025-01-06 10:15:02 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 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/89967
   Query 81 - 2025-01-06 10:15:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 82 - 2025-01-06 10:15:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103276 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 83 - 2025-01-06 10:15:02 [0.15ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 84 - 2025-01-06 10:15:02 [0.14ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 85 - 2025-01-06 10:15:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 86 - 2025-01-06 10:15:02 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 87 - 2025-01-06 10:15:02 [5.02ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 88 - 2025-01-06 10:15:02 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 89 - 2025-01-06 10:15:02 [0.87ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 90 - 2025-01-06 10:15:02 [0.81ms] */
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/89967
   Query 91 - 2025-01-06 10:15:02 [1.7ms] */
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/89967
   Query 92 - 2025-01-06 10:15:02 [1.1ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89967 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/89967
   Query 93 - 2025-01-06 10:15:02 [0.61ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 89967 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/89967
   Query 94 - 2025-01-06 10:15:02 [0.26ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 95 - 2025-01-06 10:15:02 [0.53ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 96 - 2025-01-06 10:15:02 [0.68ms] */
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/89967
   Query 97 - 2025-01-06 10:15:02 [0.47ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 98 - 2025-01-06 10:15:02 [0.46ms] */
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/89967
   Query 99 - 2025-01-06 10:15:02 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 100 - 2025-01-06 10:15:02 [0.14ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 101 - 2025-01-06 10:15:02 [0.17ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 102 - 2025-01-06 10:15:02 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 103 - 2025-01-06 10:15:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 104 - 2025-01-06 10:15:02 [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/89967
   Query 105 - 2025-01-06 10:15:02 [2.6ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 106 - 2025-01-06 10:15:02 [0.71ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 105213 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/89967
   Query 107 - 2025-01-06 10:15:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 108 - 2025-01-06 10:15:02 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 109 - 2025-01-06 10:15:02 [0.3ms] */
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/89967
   Query 110 - 2025-01-06 10:15:02 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 111 - 2025-01-06 10:15:02 [0.11ms] */
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/89967
   Query 112 - 2025-01-06 10:15:02 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 113 - 2025-01-06 10:15:02 [0.15ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 114 - 2025-01-06 10:15:02 [0.17ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 115 - 2025-01-06 10:15:02 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 116 - 2025-01-06 10:15:02 [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/89967
   Query 117 - 2025-01-06 10:15:02 [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/89967
   Query 118 - 2025-01-06 10:15:02 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 119 - 2025-01-06 10:15:02 [0.8ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103274 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/89967
   Query 120 - 2025-01-06 10:15:02 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 121 - 2025-01-06 10:15:02 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 122 - 2025-01-06 10:15:02 [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/89967
   Query 123 - 2025-01-06 10:15:02 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 124 - 2025-01-06 10:15:02 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 125 - 2025-01-06 10:15:02 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 126 - 2025-01-06 10:15:02 [0.37ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 127 - 2025-01-06 10:15:02 [0.14ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 128 - 2025-01-06 10:15:02 [0.79ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 129 - 2025-01-06 10:15:02 [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/89967
   Query 130 - 2025-01-06 10:15:02 [0.11ms] */
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/89967
   Query 131 - 2025-01-06 10:15:02 [0.6ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 132 - 2025-01-06 10:15:02 [0.91ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103275 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/89967
   Query 133 - 2025-01-06 10:15:02 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 134 - 2025-01-06 10:15:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 135 - 2025-01-06 10:15:02 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 136 - 2025-01-06 10:15:02 [0.1ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 137 - 2025-01-06 10:15:02 [0.47ms] */
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/89967
   Query 138 - 2025-01-06 10:15:02 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 139 - 2025-01-06 10:15:02 [0.13ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 140 - 2025-01-06 10:15:02 [0.3ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 141 - 2025-01-06 10:15:02 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 142 - 2025-01-06 10:15:02 [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/89967
   Query 143 - 2025-01-06 10:15:02 [0.43ms] */
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/89967
   Query 144 - 2025-01-06 10:15:02 [1.93ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 145 - 2025-01-06 10:15:02 [0.42ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103276 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/89967
   Query 146 - 2025-01-06 10:15:02 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 147 - 2025-01-06 10:15:02 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 148 - 2025-01-06 10:15:02 [1ms] */
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/89967
   Query 149 - 2025-01-06 10:15:02 [0.34ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 150 - 2025-01-06 10:15:02 [0.26ms] */
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/89967
   Query 151 - 2025-01-06 10:15:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 152 - 2025-01-06 10:15:02 [0.28ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 153 - 2025-01-06 10:15:02 [0.19ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 154 - 2025-01-06 10:15:02 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 155 - 2025-01-06 10:15:02 [1.61ms] */
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/89967
   Query 156 - 2025-01-06 10:15:02 [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/89967
   Query 157 - 2025-01-06 10:15:02 [0.23ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 158 - 2025-01-06 10:15:02 [0.74ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 103007 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/89967
   Query 159 - 2025-01-06 10:15:02 [0.47ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 89967 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/89967
   Query 160 - 2025-01-06 10:15:02 [0.69ms] */
select * from `title_reprint_history` where `vehicle_id` = 89967 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-01-06 10:15:03 [2.15ms] */
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=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-01-06 10:15:03 [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/audit-details?audit_ids=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-01-06 10:15:03 [0.35ms] */
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=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-01-06 10:15:03 [0.48ms] */
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=89967&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-01-06 10:15:03 [2.52ms] */
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 = 89967 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 1 - 2025-01-06 10:15:15 [2.34ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 2 - 2025-01-06 10:15:15 [0.91ms] */
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/105213
   Query 3 - 2025-01-06 10:15:15 [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/105213
   Query 4 - 2025-01-06 10:15:15 [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/105213
   Query 5 - 2025-01-06 10:15:15 [0.77ms] */
select * from `transaction` where `transaction`.`id` = 105213 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 6 - 2025-01-06 10:15:15 [2.94ms] */
select * from `transaction_workflow` where `transaction_id` = 105213 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 7 - 2025-01-06 10:15:15 [0.73ms] */
select * from `invoice` where `transaction_id` = 105213 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 8 - 2025-01-06 10:15:15 [0.92ms] */
select * from `invoice_payment` where `invoice_id` = 104771;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 9 - 2025-01-06 10:15:15 [0.97ms] */
select * from `payment_documents` where `transaction_id` = 105213;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 10 - 2025-01-06 10:15:15 [1.09ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105213 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 11 - 2025-01-06 10:15:15 [13.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 12 - 2025-01-06 10:15:15 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 13 - 2025-01-06 10:15:15 [0.52ms] */
select * from `driver_license` where `party_id` = 51984 and `transaction_id` = 105213 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 14 - 2025-01-06 10:15:15 [0.16ms] */
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/105213
   Query 15 - 2025-01-06 10:15:15 [0.22ms] */
select * from `driver_license` where `party_id` = 51984 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 16 - 2025-01-06 10:15:15 [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/105213
   Query 17 - 2025-01-06 10:15:15 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 18 - 2025-01-06 10:15:15 [0.86ms] */
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/105213
   Query 19 - 2025-01-06 10:15:15 [795.42ms] */
select * from `transaction` where `parent_id` = 105213 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 20 - 2025-01-06 10:15:15 [0.77ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 21 - 2025-01-06 10:15:15 [0.56ms] */
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/w/wkflw/105213
   Query 22 - 2025-01-06 10:15:16 [30.78ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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/105213
   Query 23 - 2025-01-06 10:15:16 [1.09ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 24 - 2025-01-06 10:15:16 [0.95ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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/105213
   Query 25 - 2025-01-06 10:15:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 26 - 2025-01-06 10:15:16 [0.43ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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/105213
   Query 27 - 2025-01-06 10:15:16 [26.01ms] */
select * from `transaction` where `service_id` = 7 and `vehicle_id` = 89967 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 28 - 2025-01-06 10:15:16 [1.31ms] */
select * from `vehicle_tax` where `vehicle_id` = 89967 and `vehicle_tax`.`deleted_at` is null order by `created_at` asc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 29 - 2025-01-06 10:15:16 [1.54ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 30 - 2025-01-06 10:15:16 [0.59ms] */
select * from `invoice` where `id` = 102582 and `migration_id` is null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 31 - 2025-01-06 10:15:16 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 32 - 2025-01-06 10:15:16 [5.89ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103017 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/105213
   Query 33 - 2025-01-06 10:15:16 [0.36ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 34 - 2025-01-06 10:15:16 [5.83ms] */
select * from `invoice` where `invoice`.`id` = 102582 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 35 - 2025-01-06 10:15:16 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 103273 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 36 - 2025-01-06 10:15:16 [0.23ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103273 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/105213
   Query 37 - 2025-01-06 10:15:16 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 38 - 2025-01-06 10:15:16 [0.46ms] */
select * from `invoice` where `invoice`.`id` = 102835 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 39 - 2025-01-06 10:15:16 [0.97ms] */
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/105213
   Query 40 - 2025-01-06 10:15:16 [2.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/105213
   Query 41 - 2025-01-06 10:15:16 [11.55ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 42 - 2025-01-06 10:15:16 [7.98ms] */
select * from `transaction` where `transaction`.`id` = 105213 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 43 - 2025-01-06 10:15:16 [669.58ms] */
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` = 105213 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 44 - 2025-01-06 10:15:17 [791.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` = 105213 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 45 - 2025-01-06 10:15:17 [3.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/105213
   Query 46 - 2025-01-06 10:15:17 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 103017 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 47 - 2025-01-06 10:15:17 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102582 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 48 - 2025-01-06 10:15:17 [0.88ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 49 - 2025-01-06 10:15:17 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 103273 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 50 - 2025-01-06 10:15:17 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102835 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 51 - 2025-01-06 10:15:17 [0.52ms] */
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/105213
   Query 52 - 2025-01-06 10:15:17 [1.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/105213
   Query 53 - 2025-01-06 10:15:17 [12.05ms] */
select * from `transaction_workflow` where `transaction_id` = 105213 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 54 - 2025-01-06 10:15:18 [473.02ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 55 - 2025-01-06 10:15:18 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 56 - 2025-01-06 10:15:18 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89967 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 57 - 2025-01-06 10:15:18 [0.14ms] */
select * from `model` where `model`.`id` = 4012 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 58 - 2025-01-06 10:15:18 [0.13ms] */
select * from `make` where `make`.`id` = 1027 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 59 - 2025-01-06 10:15:18 [0.26ms] */
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/w/wkflw/105213
   Query 60 - 2025-01-06 10:15:18 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89967 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 61 - 2025-01-06 10:15: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): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 62 - 2025-01-06 10:15:18 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 63 - 2025-01-06 10:15:18 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 64 - 2025-01-06 10:15:18 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 65 - 2025-01-06 10:15:18 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 105213 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 66 - 2025-01-06 10:15:18 [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/105213
   Query 67 - 2025-01-06 10:15:18 [0.16ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 68 - 2025-01-06 10:15:18 [0.83ms] */
select * from `party` where `party`.`id` = 51984 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 69 - 2025-01-06 10:15:18 [0.16ms] */
select * from `person` where `person`.`id` = 51984 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 70 - 2025-01-06 10:15:18 [175.46ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 51984 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 71 - 2025-01-06 10:15:18 [0.95ms] */
select * from `address` where `address`.`id` = 51984 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 72 - 2025-01-06 10:15:18 [4.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 73 - 2025-01-06 10:15:18 [0.67ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 74 - 2025-01-06 10:15:18 [1.13ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 75 - 2025-01-06 10:15:18 [0.44ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 76 - 2025-01-06 10:15:18 [0.36ms] */
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/105213
   Query 77 - 2025-01-06 10:15:18 [0.89ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 78 - 2025-01-06 10:15:18 [0.44ms] */
select * from `transaction_workflow` where `transaction_id` = 105213 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 79 - 2025-01-06 10:15:18 [0.34ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 80 - 2025-01-06 10:15:18 [0.51ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 81 - 2025-01-06 10:15:18 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 82 - 2025-01-06 10:15:18 [0.85ms] */
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/105213
   Query 83 - 2025-01-06 10:15:18 [0.11ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 84 - 2025-01-06 10:15:18 [6.44ms] */
select * from `transaction_workflow` where `transaction_id` = 105213 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 85 - 2025-01-06 10:15:18 [1.37ms] */
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/105213
   Query 86 - 2025-01-06 10:15:18 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 87 - 2025-01-06 10:15:18 [0.15ms] */
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/105213
   Query 88 - 2025-01-06 10:15:18 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 89 - 2025-01-06 10:15:18 [6.59ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 90 - 2025-01-06 10:15:18 [0.23ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 91 - 2025-01-06 10:15:18 [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/105213
   Query 92 - 2025-01-06 10:15:18 [2.1ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 93 - 2025-01-06 10:15:18 [0.38ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105213
   Query 94 - 2025-01-06 10:15:18 [0.72ms] */
(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/105213
   Query 95 - 2025-01-06 10:15:18 [0.42ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-06 10:16:16 [2.48ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-06 10:16:16 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-06 10:16:16 [0.49ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-06 10:16:16 [0.89ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-06 10:16:16 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-06 10:16:16 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-06 10:16:16 [1.81ms] */
select count(*) as aggregate from `payment_documents` where `receipt_number` = 52831725654;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-06 10:16:16 [12.24ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105213, 'SERVICE_SMS_IMAGE', 52831725654, 'payment_confirmation/Payment-Confirmation-TR105213-ATTC-1946434992.png', '2025-01-06 10:16:16', '2025-01-06 10:16:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 1 - 2025-01-06 10:16:55 [2.06ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 2 - 2025-01-06 10:16:55 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 3 - 2025-01-06 10:16:55 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 4 - 2025-01-06 10:16:55 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 5 - 2025-01-06 10:16:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cd6e82b1cb36a63eefa807549ec3af6efb963e8bf8acb16bfd53ae146cd75cb481719c58383065f7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 6 - 2025-01-06 10:16:55 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 7 - 2025-01-06 10:16:55 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 105213 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 8 - 2025-01-06 10:16:56 [9.05ms] */
update `transaction` set `service_fee_sms_confirmation` = 123, `service_fee_ar_number` = 52831725654, `service_fee_payment_date` = '2025-01-06 10:16:55', `transaction`.`updated_at` = '2025-01-06 10:16:55' where `id` = 105213;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105213
   Query 9 - 2025-01-06 10:16:56 [0.39ms] */
