select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 56 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 29 - 2025-01-07 13:10:21 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 56 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 30 - 2025-01-07 13:10:21 [0.36ms] */
select * from `party` where `party`.`id` = 48795 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 31 - 2025-01-07 13:10:21 [0.36ms] */
select * from `person` where `person`.`id` = 48795 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2025-01-07 13:10:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2025-01-07 13:10:21 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 34 - 2025-01-07 13:10:21 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2025-01-07 13:10:21 [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 36 - 2025-01-07 13:10:21 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 37 - 2025-01-07 13:10:21 [0.55ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 56 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 38 - 2025-01-07 13:10:21 [0.13ms] */
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 39 - 2025-01-07 13:10:21 [0.3ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 59 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 40 - 2025-01-07 13:10:21 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 59 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 41 - 2025-01-07 13:10:22 [0.25ms] */
select * from `party` where `party`.`id` = 3053 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 42 - 2025-01-07 13:10:22 [0.28ms] */
select * from `person` where `person`.`id` = 3053 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2025-01-07 13:10:22 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 44 - 2025-01-07 13:10:22 [0.23ms] */
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 45 - 2025-01-07 13:10:22 [0.22ms] */
select * from `model` where `model`.`id` = 85 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 46 - 2025-01-07 13:10:22 [0.25ms] */
select * from `make` where `make`.`id` = 5 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 47 - 2025-01-07 13:10:22 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2025-01-07 13:10:22 [0.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 `vehicle_tax`.`vehicle_id` = 59 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 49 - 2025-01-07 13:10:22 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 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 50 - 2025-01-07 13:10:22 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 51 - 2025-01-07 13:10:22 [0.29ms] */
select * from `party` where `party`.`id` = 27059 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 52 - 2025-01-07 13:10:22 [0.26ms] */
select * from `person` where `person`.`id` = 27059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2025-01-07 13:10:22 [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 54 - 2025-01-07 13:10:22 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2025-01-07 13:10:22 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2025-01-07 13:10:22 [0.15ms] */
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 57 - 2025-01-07 13:10:22 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2025-01-07 13:10:22 [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` = 61 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 59 - 2025-01-07 13:10:22 [0.28ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 60 - 2025-01-07 13:10:22 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 61 - 2025-01-07 13:10:22 [0.27ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 62 - 2025-01-07 13:10:22 [0.5ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 63 - 2025-01-07 13:10:22 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 64 - 2025-01-07 13:10:22 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 65 - 2025-01-07 13:10:22 [0.22ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 66 - 2025-01-07 13:10:22 [0.21ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 67 - 2025-01-07 13:10:22 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2025-01-07 13:10:22 [0.68ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 62 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2025-01-07 13:10:22 [0.36ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2025-01-07 13:10:22 [0.4ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 67 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 71 - 2025-01-07 13:10:22 [0.44ms] */
select * from `party_vehicle` where `vehicle_id` = 67 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 72 - 2025-01-07 13:10:22 [0.4ms] */
select * from `party` where `party`.`id` = 27054 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 73 - 2025-01-07 13:10:22 [0.42ms] */
select * from `person` where `person`.`id` = 27054 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 74 - 2025-01-07 13:10:22 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2025-01-07 13:10:22 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2025-01-07 13:10:22 [0.28ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2025-01-07 13:10:22 [0.18ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 78 - 2025-01-07 13:10:22 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 79 - 2025-01-07 13:10:22 [0.91ms] */
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` = 67 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 80 - 2025-01-07 13:10:22 [0.41ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 81 - 2025-01-07 13:10:22 [0.33ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 82 - 2025-01-07 13:10:22 [0.32ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 83 - 2025-01-07 13:10:22 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 84 - 2025-01-07 13:10:22 [0.26ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2025-01-07 13:10:22 [0.25ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2025-01-07 13:10:22 [0.26ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2025-01-07 13:10:22 [0.25ms] */
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 88 - 2025-01-07 13:10:22 [0.15ms] */
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 89 - 2025-01-07 13:10:22 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 90 - 2025-01-07 13:10:22 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 71 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 91 - 2025-01-07 13:10:22 [0.31ms] */
select * from `party` where `party`.`id` = 27057 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 92 - 2025-01-07 13:10:22 [0.36ms] */
select * from `person` where `person`.`id` = 27057 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 93 - 2025-01-07 13:10:22 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2025-01-07 13:10:22 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2025-01-07 13:10:22 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2025-01-07 13:10:22 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2025-01-07 13:10:22 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 98 - 2025-01-07 13:10:22 [0.47ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 71 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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-07 13:10:22 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 100 - 2025-01-07 13:10:22 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 75 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 101 - 2025-01-07 13:10:22 [0.3ms] */
select * from `party` where `party`.`id` = 27071 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 102 - 2025-01-07 13:10:22 [0.28ms] */
select * from `person` where `person`.`id` = 27071 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 103 - 2025-01-07 13:10:22 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 104 - 2025-01-07 13:10:22 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2025-01-07 13:10:22 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 106 - 2025-01-07 13:10:22 [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 107 - 2025-01-07 13:10:22 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2025-01-07 13:10:22 [0.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` = 75 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 109 - 2025-01-07 13:10:22 [0.16ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 110 - 2025-01-07 13:10:22 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 111 - 2025-01-07 13:10:22 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 112 - 2025-01-07 13:10:22 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76 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-07 13:10:22 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 76 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-07 13:10:22 [0.3ms] */
select * from `party` where `party`.`id` = 908 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-07 13:10:22 [0.33ms] */
select * from `person` where `person`.`id` = 908 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-07 13:10:22 [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 117 - 2025-01-07 13:10:22 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 118 - 2025-01-07 13:10:22 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2025-01-07 13:10:22 [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 120 - 2025-01-07 13:10:22 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 121 - 2025-01-07 13:10:22 [0.63ms] */
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` = 76 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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-07 13:10:22 [0.16ms] */
select * from `term` where `term`.`id` = 93 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-07 13:10:22 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 124 - 2025-01-07 13:10:22 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 125 - 2025-01-07 13:10:22 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 126 - 2025-01-07 13:10:22 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 127 - 2025-01-07 13:10:22 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 128 - 2025-01-07 13:10:22 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 129 - 2025-01-07 13:10:22 [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 130 - 2025-01-07 13:10:22 [0.13ms] */
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-07 13:10:35 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:10:35 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:10:35 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:10:35 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:10:35 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:10:35 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:10:35 [3.63ms] */
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` = 'E616' 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-07 13:10:35 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:10:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:10:35 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:10:35 [0.36ms] */
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-07 13:10:35 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:10:35 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:10:35 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 67 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:10:35 [0.28ms] */
select * from `vehicle` where `id` = 67 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:10:35 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 67 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-07 13:10:35 [0.58ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 67 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-07 13:10:37 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:10:37 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:10:37 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:10:37 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-07 13:10:37 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:10:37 [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-07 13:10:37 [0.66ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:10:38 [2.09ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:10:38 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:10:38 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 13:10:38 [0.28ms] */
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-07 13:10:38 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:10:38 [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-07 13:10:38 [0.44ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 1 - 2025-01-07 13:10:42 [2.15ms] */
select * from `users` where `id` = 116 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-07 13:10:42 [0.81ms] */
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-07 13:10:42 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 4 - 2025-01-07 13:10:42 [0.41ms] */
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-07 13:10:42 [22.96ms] */
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-07 13:10:42' 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-07 13:10:42 [17.95ms] */
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-07 13:10:42' 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 30;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 7 - 2025-01-07 13:10:42 [0.69ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 77 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-07 13:10:42 [0.46ms] */
select * from `party_vehicle` where `vehicle_id` = 77 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-07 13:10:42 [0.45ms] */
select * from `party` where `party`.`id` = 27068 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-07 13:10:42 [0.25ms] */
select * from `person` where `person`.`id` = 27068 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-07 13:10:42 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 12 - 2025-01-07 13:10:42 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 14 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-07 13:10:42 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 14 - 2025-01-07 13:10:42 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 15 - 2025-01-07 13:10:42 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 16 - 2025-01-07 13:10:42 [0.43ms] */
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` = 77 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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-07 13:10:42 [0.15ms] */
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 18 - 2025-01-07 13:10:42 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 81 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 19 - 2025-01-07 13:10:42 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 81 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 20 - 2025-01-07 13:10:42 [0.27ms] */
select * from `party` where `party`.`id` = 12351 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 21 - 2025-01-07 13:10:42 [0.25ms] */
select * from `person` where `person`.`id` = 12351 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 22 - 2025-01-07 13:10:42 [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 23 - 2025-01-07 13:10:42 [0.13ms] */
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 24 - 2025-01-07 13:10:42 [0.28ms] */
select * from `model` where `model`.`id` = 2155 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 25 - 2025-01-07 13:10:42 [0.18ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 26 - 2025-01-07 13:10:42 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 27 - 2025-01-07 13:10:42 [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` = 81 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 28 - 2025-01-07 13:10:42 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 82 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 29 - 2025-01-07 13:10:42 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 82 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 30 - 2025-01-07 13:10:42 [0.24ms] */
select * from `party` where `party`.`id` = 3087 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 31 - 2025-01-07 13:10:42 [0.21ms] */
select * from `person` where `person`.`id` = 3087 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2025-01-07 13:10:42 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2025-01-07 13:10:42 [0.13ms] */
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 34 - 2025-01-07 13:10:42 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2025-01-07 13:10:42 [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 36 - 2025-01-07 13:10:42 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 37 - 2025-01-07 13:10:42 [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` = 82 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 38 - 2025-01-07 13:10:42 [0.13ms] */
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 39 - 2025-01-07 13:10:42 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88 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 40 - 2025-01-07 13:10:42 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 88 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 41 - 2025-01-07 13:10:42 [0.21ms] */
select * from `party` where `party`.`id` = 3097 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 42 - 2025-01-07 13:10:42 [0.22ms] */
select * from `person` where `person`.`id` = 3097 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2025-01-07 13:10:42 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 44 - 2025-01-07 13:10:42 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 45 - 2025-01-07 13:10:42 [0.18ms] */
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 46 - 2025-01-07 13:10:42 [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 47 - 2025-01-07 13:10:42 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2025-01-07 13:10:42 [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` = 88 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 49 - 2025-01-07 13:10:42 [0.14ms] */
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 50 - 2025-01-07 13:10:42 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 94 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 51 - 2025-01-07 13:10:42 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 94 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 52 - 2025-01-07 13:10:42 [0.24ms] */
select * from `party` where `party`.`id` = 2504 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2025-01-07 13:10:42 [0.31ms] */
select * from `company` where `company`.`id` = 2504 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 54 - 2025-01-07 13:10:42 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2025-01-07 13:10:42 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2025-01-07 13:10:42 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 57 - 2025-01-07 13:10:42 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2025-01-07 13:10:42 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 59 - 2025-01-07 13:10:42 [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` = 94 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 60 - 2025-01-07 13:10:42 [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 61 - 2025-01-07 13:10:42 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 97 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 62 - 2025-01-07 13:10:42 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 97 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 63 - 2025-01-07 13:10:42 [0.22ms] */
select * from `party` where `party`.`id` = 27084 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 64 - 2025-01-07 13:10:42 [0.24ms] */
select * from `person` where `person`.`id` = 27084 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 65 - 2025-01-07 13:10:42 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 66 - 2025-01-07 13:10:42 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 67 - 2025-01-07 13:10:42 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2025-01-07 13:10:42 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2025-01-07 13:10:42 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2025-01-07 13:10:42 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 97 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 71 - 2025-01-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 72 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 73 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 74 - 2025-01-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2025-01-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 78 - 2025-01-07 13:10:42 [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 79 - 2025-01-07 13:10:42 [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 80 - 2025-01-07 13:10:42 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 98 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 81 - 2025-01-07 13:10:42 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 98 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 82 - 2025-01-07 13:10:42 [0.24ms] */
select * from `party` where `party`.`id` = 27948 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 83 - 2025-01-07 13:10:42 [0.23ms] */
select * from `person` where `person`.`id` = 27948 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 84 - 2025-01-07 13:10:42 [0.15ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2025-01-07 13:10:42 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2025-01-07 13:10:42 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2025-01-07 13:10:42 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 88 - 2025-01-07 13:10:42 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 89 - 2025-01-07 13:10:42 [0.66ms] */
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` = 98 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 90 - 2025-01-07 13:10:42 [0.38ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 102 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 91 - 2025-01-07 13:10:42 [0.44ms] */
select * from `party_vehicle` where `vehicle_id` = 102 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 92 - 2025-01-07 13:10:42 [0.39ms] */
select * from `party` where `party`.`id` = 27086 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 93 - 2025-01-07 13:10:42 [0.41ms] */
select * from `person` where `person`.`id` = 27086 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2025-01-07 13:10:42 [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): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2025-01-07 13:10:42 [0.39ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2025-01-07 13:10:42 [0.25ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2025-01-07 13:10:42 [0.23ms] */
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 98 - 2025-01-07 13:10:42 [0.23ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 99 - 2025-01-07 13:10:42 [0.73ms] */
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` = 102 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 100 - 2025-01-07 13:10:42 [0.25ms] */
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 101 - 2025-01-07 13:10:42 [0.44ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 105 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 102 - 2025-01-07 13:10:42 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 105 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 103 - 2025-01-07 13:10:42 [0.21ms] */
select * from `party` where `party`.`id` = 27089 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 104 - 2025-01-07 13:10:42 [0.23ms] */
select * from `person` where `person`.`id` = 27089 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2025-01-07 13:10:42 [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 106 - 2025-01-07 13:10:42 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 17 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 107 - 2025-01-07 13:10:42 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2025-01-07 13:10:42 [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 109 - 2025-01-07 13:10:42 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 110 - 2025-01-07 13:10:42 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 105 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 111 - 2025-01-07 13:10:42 [0.13ms] */
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-07 13:10:42 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 108 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-07 13:10:42 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 108 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-07 13:10:42 [0.2ms] */
select * from `party` where `party`.`id` = 3106 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-07 13:10:42 [0.21ms] */
select * from `person` where `person`.`id` = 3106 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-07 13:10:42 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 117 - 2025-01-07 13:10:42 [0.13ms] */
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-07 13:10:42 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2025-01-07 13:10:42 [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 120 - 2025-01-07 13:10:42 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 121 - 2025-01-07 13:10:42 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 108 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 93 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-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 124 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 125 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 126 - 2025-01-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 127 - 2025-01-07 13:10:42 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 128 - 2025-01-07 13:10:42 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 129 - 2025-01-07 13:10:42 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 130 - 2025-01-07 13:10:42 [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 1 - 2025-01-07 13:10:50 [1.44ms] */
select * from `users` where `id` = 116 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-07 13:10:50 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 3 - 2025-01-07 13:10:50 [0.33ms] */
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-07 13:10:50 [0.41ms] */
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-07 13:10:50 [23.34ms] */
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-07 13:10:50' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 6 - 2025-01-07 13:10:50 [17.96ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2025-01-07 13:10:50' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 40;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 7 - 2025-01-07 13:10:50 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 111 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-07 13:10:50 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 111 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-07 13:10:50 [0.28ms] */
select * from `party` where `party`.`id` = 12724 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-07 13:10:50 [0.23ms] */
select * from `person` where `person`.`id` = 12724 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-07 13:10:50 [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 12 - 2025-01-07 13:10:50 [0.13ms] */
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 13 - 2025-01-07 13:10:50 [0.27ms] */
select * from `model` where `model`.`id` = 20 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-07 13:10:50 [0.19ms] */
select * from `make` where `make`.`id` = 2 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-07 13:10:50 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 16 - 2025-01-07 13:10:50 [0.49ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 111 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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-07 13:10:50 [0.14ms] */
select * from `term` where `term`.`id` = 93 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-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 19 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 20 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 21 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 22 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 23 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 24 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 25 - 2025-01-07 13:10:50 [0.14ms] */
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 26 - 2025-01-07 13:10:50 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 115 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 27 - 2025-01-07 13:10:50 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 115 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 28 - 2025-01-07 13:10:50 [0.22ms] */
select * from `party` where `party`.`id` = 27946 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 29 - 2025-01-07 13:10:50 [0.26ms] */
select * from `person` where `person`.`id` = 27946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 30 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 31 - 2025-01-07 13:10:50 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 32 - 2025-01-07 13:10:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 33 - 2025-01-07 13:10:50 [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 34 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 35 - 2025-01-07 13:10:50 [0.32ms] */
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` = 115 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 36 - 2025-01-07 13:10:50 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 117 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 37 - 2025-01-07 13:10:50 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 117 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 38 - 2025-01-07 13:10:50 [0.22ms] */
select * from `party` where `party`.`id` = 55672 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 39 - 2025-01-07 13:10:50 [0.22ms] */
select * from `company` where `company`.`id` = 63 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 40 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 41 - 2025-01-07 13:10:50 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 42 - 2025-01-07 13:10:50 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 43 - 2025-01-07 13:10:50 [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 44 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 45 - 2025-01-07 13:10:50 [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` = 117 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 46 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 47 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 48 - 2025-01-07 13:10:50 [0.14ms] */
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 49 - 2025-01-07 13:10:50 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 123 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 50 - 2025-01-07 13:10:50 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 123 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 51 - 2025-01-07 13:10:50 [0.15ms] */
select * from `party` where `party`.`id` = 55672 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 52 - 2025-01-07 13:10:50 [0.13ms] */
select * from `company` where `company`.`id` = 63 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 53 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 54 - 2025-01-07 13:10:50 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 55 - 2025-01-07 13:10:50 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 56 - 2025-01-07 13:10:50 [0.15ms] */
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 57 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 58 - 2025-01-07 13:10:50 [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` = 123 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 59 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 60 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 61 - 2025-01-07 13:10:50 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 62 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 63 - 2025-01-07 13:10:50 [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 64 - 2025-01-07 13:10:50 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 128 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 65 - 2025-01-07 13:10:50 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 128 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 66 - 2025-01-07 13:10:50 [0.23ms] */
select * from `party` where `party`.`id` = 58389 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 67 - 2025-01-07 13:10:50 [0.25ms] */
select * from `person` where `person`.`id` = 55876 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 68 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 69 - 2025-01-07 13:10:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 70 - 2025-01-07 13:10:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 71 - 2025-01-07 13:10:50 [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 72 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 73 - 2025-01-07 13:10:50 [0.43ms] */
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` = 128 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 74 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 75 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 76 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 77 - 2025-01-07 13:10:50 [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 78 - 2025-01-07 13:10:50 [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 79 - 2025-01-07 13:10:50 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 146 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 80 - 2025-01-07 13:10:50 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 146 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 81 - 2025-01-07 13:10:50 [0.22ms] */
select * from `party` where `party`.`id` = 55676 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 82 - 2025-01-07 13:10:50 [0.24ms] */
select * from `company` where `company`.`id` = 67 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 83 - 2025-01-07 13:10:50 [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 84 - 2025-01-07 13:10:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 17 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 85 - 2025-01-07 13:10:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 86 - 2025-01-07 13:10:50 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 87 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 88 - 2025-01-07 13:10:50 [0.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 `vehicle_tax`.`vehicle_id` = 146 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 89 - 2025-01-07 13:10:50 [0.13ms] */
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 90 - 2025-01-07 13:10:50 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 155 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 91 - 2025-01-07 13:10:50 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 155 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 92 - 2025-01-07 13:10:50 [0.21ms] */
select * from `party` where `party`.`id` = 27949 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 93 - 2025-01-07 13:10:50 [0.22ms] */
select * from `person` where `person`.`id` = 27949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 94 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 95 - 2025-01-07 13:10:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 96 - 2025-01-07 13:10:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 97 - 2025-01-07 13:10:50 [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 98 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 99 - 2025-01-07 13:10:50 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 155 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 100 - 2025-01-07 13:10:50 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 156 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-07 13:10:50 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 156 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-07 13:10:50 [0.22ms] */
select * from `party` where `party`.`id` = 17092 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-07 13:10:50 [0.23ms] */
select * from `person` where `person`.`id` = 17092 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-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 105 - 2025-01-07 13:10:50 [0.13ms] */
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 106 - 2025-01-07 13:10:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 107 - 2025-01-07 13:10:50 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 108 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 109 - 2025-01-07 13:10:50 [0.35ms] */
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` = 156 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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-07 13:10:50 [0.13ms] */
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 111 - 2025-01-07 13:10:50 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 167 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 112 - 2025-01-07 13:10:50 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 167 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 113 - 2025-01-07 13:10:50 [0.25ms] */
select * from `party` where `party`.`id` = 50020 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 114 - 2025-01-07 13:10:50 [0.28ms] */
select * from `person` where `person`.`id` = 50020 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 115 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 116 - 2025-01-07 13:10:50 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 117 - 2025-01-07 13:10:50 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 118 - 2025-01-07 13:10:50 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 119 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 120 - 2025-01-07 13:10:50 [0.43ms] */
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` = 167 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 121 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 122 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 123 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 124 - 2025-01-07 13:10:50 [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 125 - 2025-01-07 13:10:50 [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 126 - 2025-01-07 13:10:50 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 170 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 127 - 2025-01-07 13:10:50 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 170 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 128 - 2025-01-07 13:10:50 [0.24ms] */
select * from `party` where `party`.`id` = 57889 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 129 - 2025-01-07 13:10:50 [0.22ms] */
select * from `company` where `company`.`id` = 2280 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 130 - 2025-01-07 13:10:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 131 - 2025-01-07 13:10:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 132 - 2025-01-07 13:10:50 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 133 - 2025-01-07 13:10:50 [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 134 - 2025-01-07 13:10:50 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 135 - 2025-01-07 13:10:50 [0.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 `vehicle_tax`.`vehicle_id` = 170 and date(`term`.`first_date_of_quarter`) <= '2025-01-07' 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 136 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 137 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 138 - 2025-01-07 13:10:50 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 139 - 2025-01-07 13:10:50 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/report.expired-tax-component
   Query 140 - 2025-01-07 13:10:50 [0.12ms] */
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-07 13:11:07 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:11:07 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:11:07 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:11:07 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:11:07 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:11:07 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:11:07 [0.9ms] */
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` = 'E618' 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-07 13:11:08 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:11:08 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:11:08 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:11:08 [0.3ms] */
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-07 13:11:08 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:11:08 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:11:08 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 53914 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:11:08 [0.32ms] */
select * from `vehicle` where `id` = 53914 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:11:08 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 53914 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-07 13:11:09 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:11:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:11:09 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:11:09 [0.17ms] */
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-07 13:11:09 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:11:09 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:11:09 [0.26ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:11:09 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:11:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:11:09 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 13:11:09 [0.18ms] */
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-07 13:11:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:11:09 [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-07 13:11:09 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:11:19 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:11:19 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:11:19 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:11:19 [0.25ms] */
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-07 13:11:19 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:11:19 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:11:19 [0.98ms] */
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` = 'E168' 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-07 13:11:21 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:11:21 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:11:21 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:11:21 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 13:11:21 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:11:21 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:11:21 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:11:21 [0.25ms] */
select * from `vehicle` where `id` = 116 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:11:21 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 116 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-07 13:11:21 [0.78ms] */
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` = 116 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-07 13:11:22 [1.59ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:11:22 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:11:22 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:11:22 [0.28ms] */
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-07 13:11:22 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:11:22 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:11:22 [0.35ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:11:23 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:11:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:11:23 [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-07 13:11:23 [0.18ms] */
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-07 13:11:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:11:23 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 13:11:23 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-07 13:11:58 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-07 13:11:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-07 13:11:58 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-07 13:11:58 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-07 13:11:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-07 13:11:58 [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-07 13:11:58 [0.74ms] */
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-07 13:11:58 [0.44ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100366, 100367, 100368, 100369, 100370) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-07 13:11:58 [0.4ms] */
select `parent_id` from `transaction` where `id` in (104031, 104032, 104033, 104034, 104035) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-07 13:11:58 [75.18ms] */
select `id` from `transaction` where `parent_id` in (105207) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-07 13:11:58 [0.46ms] */
select * from `transaction` where `id` in (105207) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-07 13:11:58 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100366, 100367, 100368, 100369, 100370) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-07 13:11:58 [0.43ms] */
select * from `invoice` where `transaction_id` = 104031 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-07 13:11:58 [1.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103593 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-07 13:11:58 [0.21ms] */
select * from `invoice` where `transaction_id` = 104032 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-07 13:11:58 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103594 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-07 13:11:58 [0.25ms] */
select * from `invoice` where `transaction_id` = 104033 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-07 13:11:58 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103595 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-07 13:11:58 [0.25ms] */
select * from `invoice` where `transaction_id` = 104034 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-07 13:11:58 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103596 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-07 13:11:58 [0.2ms] */
select * from `invoice` where `transaction_id` = 104035 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-07 13:11:58 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103597 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-07 13:11:58 [0.97ms] */
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 24 - 2025-01-07 13:11:58 [0.34ms] */
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-07 13:11:59 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:11:59 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:11:59 [0.33ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 13:11:59 [0.25ms] */
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-07 13:11:59 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:11:59 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 13:11:59 [0.24ms] */
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-07 13:12:45 [2.38ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-07 13:12:45 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-07 13:12:45 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-07 13:12:45 [0.16ms] */
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-07 13:12:45 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-07 13:12:45 [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-07 13:12:45 [0.69ms] */
delete from `payment_documents` where `transaction_id` = 105207 and `type` = 'GOV_SMS_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-07 13:12:45 [13.85ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105207, 'GOV_SMS_IMAGE', 00222, 'payment_confirmation/Payment-Confirmation-TR105207-ATTC-2113429508.png', '2025-01-07 13:12:45', '2025-01-07 13:12:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 1 - 2025-01-07 13:14:23 [2.4ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 2 - 2025-01-07 13:14:23 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 3 - 2025-01-07 13:14:23 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 4 - 2025-01-07 13:14:23 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 5 - 2025-01-07 13:14:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 6 - 2025-01-07 13:14:23 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 7 - 2025-01-07 13:14:23 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 8 - 2025-01-07 13:14:23 [11.68ms] */
update `transaction` set `gov_fee_sms_confirmation` = 00222, `gov_fee_ar_number` = 74, `gov_fee_payment_date` = '2025-01-07 13:14:23', `transaction`.`updated_at` = '2025-01-07 13:14:23' where `id` = 105207;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 9 - 2025-01-07 13:14:23 [0.48ms] */
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/105207
   Query 10 - 2025-01-07 13:14:23 [0.41ms] */
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-07 13:14:29 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-07 13:14:29 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-07 13:14:29 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-07 13:14:29 [0.16ms] */
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-07 13:14:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-07 13:14:29 [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-07 13:14:29 [0.47ms] */
delete from `payment_documents` where `transaction_id` = 105207 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-07 13:14:29 [15.22ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105207, 'GOV_RECEIPT_IMAGE', 74, 'payment_confirmation/Payment-Confirmation-TR105207-ATTC-1655646893.png', '2025-01-07 13:14:29', '2025-01-07 13:14:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-07 13:15:29 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-07 13:15:29 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-07 13:15:29 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-07 13:15:29 [0.16ms] */
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-07 13:15:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-07 13:15:29 [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-07 13:15:29 [0.47ms] */
delete from `payment_documents` where `transaction_id` = 105207 and `type` = 'SERVICE_SMS_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-07 13:15:29 [23.25ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105207, 'SERVICE_SMS_IMAGE', 900223, 'payment_confirmation/Payment-Confirmation-TR105207-ATTC-237297935.png', '2025-01-07 13:15:29', '2025-01-07 13:15:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 1 - 2025-01-07 13:15:41 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 2 - 2025-01-07 13:15:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 3 - 2025-01-07 13:15:41 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 4 - 2025-01-07 13:15:41 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 5 - 2025-01-07 13:15:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 6 - 2025-01-07 13:15:41 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 7 - 2025-01-07 13:15:41 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 8 - 2025-01-07 13:15:41 [3.38ms] */
update `transaction` set `service_fee_sms_confirmation` = 900223, `service_fee_ar_number` = 7, `service_fee_payment_date` = '2025-01-07 13:15:41', `transaction`.`updated_at` = '2025-01-07 13:15:41' where `id` = 105207;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 9 - 2025-01-07 13:15:41 [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): POST https://testtra.puntlandgov.org/api/transaction/receipt/105207
   Query 10 - 2025-01-07 13:15:41 [0.14ms] */
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-07 13:15:45 [2ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-07 13:15:45 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-07 13:15:45 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-07 13:15:45 [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-07 13:15:45 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-07 13:15:45 [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-07 13:15:45 [0.47ms] */
delete from `payment_documents` where `transaction_id` = 105207 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-07 13:15:45 [9.47ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105207, 'SERVICE_RECEIPT_IMAGE', 7, 'payment_confirmation/Payment-Confirmation-TR105207-ATTC-86750133.png', '2025-01-07 13:15:45', '2025-01-07 13:15:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-07 13:15:55 [2.41ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-07 13:15:55 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-07 13:15:55 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-07 13:15:55 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-07 13:15:55 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-07 13:15:55 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-07 13:15:55 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-01-07 13:15:55 [0.85ms] */
select * from `invoice_payment` where `invoice_id` = 104765 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-01-07 13:15:55 [22.78ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 105207 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-01-07 13:15:55 [22.77ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 105207 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-01-07 13:15:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-01-07 13:15:55 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-01-07 13:15:55 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-01-07 13:15:55 [15.72ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 105207 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-01-07 13:15:55 [0.18ms] */
select * from `party` where `party`.`id` = 55672 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-01-07 13:15:55 [0.4ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-01-07 13:15:55', '#677CFEDB311DD', 74, 5, 401.00, null, 876543, null, 37, 5, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-01-07 13:15:55 [0.2ms] */
select * from `Payment` where `id` = 89849 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-01-07 13:15:55 [1.23ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":5,"payment_amount":"401.00","payment_date":"2025-01-07 13:15:55","external_payment_reference_no":"#677CFEDB311DD","payment_receipt_number":"74","siinpay_payref_number":null,"paid_by":null,"paid_by_mobile":"876543","district_id":37,"migration_id":null,"payment_collected_by":5}}', 5, 'App\Models\User', 89849, 'Modules\Transaction\Entities\Payment', 'created', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-01-07 13:15:55 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-01-07 13:15:55 [0.44ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-01-07 13:15:55 [0.35ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-01-07 13:15:55 [0.42ms] */
select * from `invoice` where `invoice`.`id` = 103593 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-01-07 13:15:55 [0.94ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 13:15:55', 103593, 89849, '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-01-07 13:15:55 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 103593 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-01-07 13:15:55 [0.49ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103593 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-01-07 13:15:55 [0.44ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103593 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-01-07 13:15:55 [0.21ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 100, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 13:15:55' where `id` = 103593;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `id` = 103593 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-01-07 13:15:55 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"100.00","status":"OPEN"}}', 5, 'App\Models\User', 103593, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-01-07 13:15:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104031 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-01-07 13:15:55 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 104031 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-01-07 13:15:55 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-01-07 13:15:55 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104031, 'PAID', '2025-01-07 13:15:55', 7, 5, null, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-01-07 13:15:55 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-01-07 13:15:55 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 13:15:55' where `id` = 104031;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-01-07 13:15:55 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103593 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-01-07 13:15:55 [0.25ms] */
select * from `vehicle_tax` where `transaction_id` = 104031 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-01-07 13:15:55 [0.2ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 13:15:55' where `id` = 100366;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-01-07 13:15:55 [0.17ms] */
select * from `vehicle_tax` where `id` = 100366 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-01-07 13:15:55 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 100366, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103594 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-01-07 13:15:55 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 13:15:55', 103594, 89849, '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103594 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-01-07 13:15:55 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103594 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-01-07 13:15:55 [0.24ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103594 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-01-07 13:15:55 [0.16ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 13:15:55' where `id` = 103594;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-01-07 13:15:55 [0.18ms] */
select * from `invoice` where `id` = 103594 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-01-07 13:15:55 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 103594, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-01-07 13:15:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104032 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-01-07 13:15:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104032 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-01-07 13:15:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-01-07 13:15:55 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-01-07 13:15:55 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104032, 'PAID', '2025-01-07 13:15:55', 7, 5, null, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-01-07 13:15:55 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-01-07 13:15:55 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 13:15:55' where `id` = 104032;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-01-07 13:15:55 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-01-07 13:15:55 [0.46ms] */
select * from `invoice` where `invoice`.`id` = 103594 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-01-07 13:15:55 [0.38ms] */
select * from `vehicle_tax` where `transaction_id` = 104032 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-01-07 13:15:55 [0.31ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 13:15:55' where `id` = 100367;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-01-07 13:15:55 [0.27ms] */
select * from `vehicle_tax` where `id` = 100367 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-01-07 13:15:55 [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":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 100367, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 67 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103595 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 68 - 2025-01-07 13:15:55 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 13:15:55', 103595, 89849, '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 69 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103595 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 70 - 2025-01-07 13:15:55 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103595 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 71 - 2025-01-07 13:15:55 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103595 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 72 - 2025-01-07 13:15:55 [0.16ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 13:15:55' where `id` = 103595;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 73 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `id` = 103595 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 74 - 2025-01-07 13:15:55 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 103595, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 75 - 2025-01-07 13:15:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104033 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 76 - 2025-01-07 13:15:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104033 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 77 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 78 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 79 - 2025-01-07 13:15:55 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 80 - 2025-01-07 13:15:55 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104033, 'PAID', '2025-01-07 13:15:55', 7, 5, null, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 81 - 2025-01-07 13:15:55 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 82 - 2025-01-07 13:15:55 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 13:15:55' where `id` = 104033;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 83 - 2025-01-07 13:15:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 84 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103595 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 85 - 2025-01-07 13:15:55 [0.7ms] */
select * from `vehicle_tax` where `transaction_id` = 104033 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 86 - 2025-01-07 13:15:55 [0.83ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 13:15:55' where `id` = 100368;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 87 - 2025-01-07 13:15:55 [0.79ms] */
select * from `vehicle_tax` where `id` = 100368 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 88 - 2025-01-07 13:15:55 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 100368, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 89 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103596 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 90 - 2025-01-07 13:15:55 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 13:15:55', 103596, 89849, '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 91 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103596 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 92 - 2025-01-07 13:15:55 [0.25ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103596 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 93 - 2025-01-07 13:15:55 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103596 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 94 - 2025-01-07 13:15:55 [0.16ms] */
update `invoice` set `invoice_amount` = 67, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 67, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 13:15:55' where `id` = 103596;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 95 - 2025-01-07 13:15:55 [0.18ms] */
select * from `invoice` where `id` = 103596 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 96 - 2025-01-07 13:15:55 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"67.00","status":"OPEN"}}', 5, 'App\Models\User', 103596, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 97 - 2025-01-07 13:15:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104034 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 98 - 2025-01-07 13:15:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104034 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 99 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 100 - 2025-01-07 13:15:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 101 - 2025-01-07 13:15:55 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 102 - 2025-01-07 13:15:55 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104034, 'PAID', '2025-01-07 13:15:55', 7, 5, null, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 103 - 2025-01-07 13:15:55 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 104 - 2025-01-07 13:15:55 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 13:15:55' where `id` = 104034;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 105 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 106 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103596 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 107 - 2025-01-07 13:15:55 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 104034 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 108 - 2025-01-07 13:15:55 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 13:15:55' where `id` = 100369;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 109 - 2025-01-07 13:15:55 [0.28ms] */
select * from `vehicle_tax` where `id` = 100369 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 110 - 2025-01-07 13:15:55 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 100369, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 111 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103597 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 112 - 2025-01-07 13:15:55 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 13:15:55', 103597, 89849, '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 113 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103597 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 114 - 2025-01-07 13:15:55 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 103597 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 115 - 2025-01-07 13:15:55 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103597 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 116 - 2025-01-07 13:15:55 [0.17ms] */
update `invoice` set `invoice_amount` = 100, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 100, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 13:15:55' where `id` = 103597;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 117 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `id` = 103597 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 118 - 2025-01-07 13:15:55 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"100.00","status":"OPEN"}}', 5, 'App\Models\User', 103597, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 119 - 2025-01-07 13:15:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104035 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 120 - 2025-01-07 13:15:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104035 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 121 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 122 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 123 - 2025-01-07 13:15:55 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 124 - 2025-01-07 13:15:55 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104035, 'PAID', '2025-01-07 13:15:55', 7, 5, null, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 125 - 2025-01-07 13:15:55 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 126 - 2025-01-07 13:15:55 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 13:15:55' where `id` = 104035;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 127 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 128 - 2025-01-07 13:15:55 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 103597 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 129 - 2025-01-07 13:15:55 [0.19ms] */
select * from `vehicle_tax` where `transaction_id` = 104035 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 130 - 2025-01-07 13:15:55 [0.15ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-07 13:15:55' where `id` = 100370;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 131 - 2025-01-07 13:15:55 [0.18ms] */
select * from `vehicle_tax` where `id` = 100370 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 132 - 2025-01-07 13:15:55 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 100370, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 133 - 2025-01-07 13:15:55 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 104765 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 134 - 2025-01-07 13:15:55 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 104765 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 135 - 2025-01-07 13:15:55 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-07 13:15:55', 104765, 89849, '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 136 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104765 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 137 - 2025-01-07 13:15:55 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 104765 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 138 - 2025-01-07 13:15:55 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-07 13:15:55' where `id` = 104765;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 139 - 2025-01-07 13:15:55 [0.18ms] */
select * from `invoice` where `id` = 104765 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 140 - 2025-01-07 13:15:55 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"401.00","status":"OPEN"}}', 5, 'App\Models\User', 104765, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 141 - 2025-01-07 13:15:55 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 142 - 2025-01-07 13:15:55 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105207 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 143 - 2025-01-07 13:15:55 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 144 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 145 - 2025-01-07 13:15:55 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 146 - 2025-01-07 13:15:55 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105207, 'PAID', '2025-01-07 13:15:55', 7, 5, null, 5, 5, '2025-01-07 13:15:55', '2025-01-07 13:15:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 147 - 2025-01-07 13:15:55 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 148 - 2025-01-07 13:15:55 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-07 13:15:55' where `id` = 105207;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 149 - 2025-01-07 13:15:55 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 150 - 2025-01-07 13:15:55 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104765 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 151 - 2025-01-07 13:15:55 [7.18ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-01-07 13:15:55' where `receipt_number` = 74 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 152 - 2025-01-07 13:15:55 [6.76ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-01-07 13:15:55' where `receipt_number` = 7 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 13:16:16 [2.16ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 13:16:16 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 13:16:16 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 13:16:16 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 13:16:16 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 13:16:16 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 13:16:16 [11.19ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 13:16:17 [2.22ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 13:16:17 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 13:16:17 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 13:16:17 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 13:16:17 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 13:16:17 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 13:16:17 [6.61ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 13:16:28 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 13:16:28 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 13:16:28 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 13:16:28 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 13:16:28 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 13:16:28 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 13:16:28 [2.51ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 13:16:29 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 13:16:29 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 13:16:29 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 13:16:29 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 13:16:29 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 13:16:29 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 13:16:29 [2.29ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:19:55 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:19:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:19:55 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:19:55 [0.26ms] */
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-07 13:19:55 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:19:55 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:19:55 [0.69ms] */
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` = 'E168' 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-07 13:19:56 [1.67ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:19:56 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:19:56 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:19:56 [0.22ms] */
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-07 13:19:56 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:19:56 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:19:56 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:19:56 [0.32ms] */
select * from `vehicle` where `id` = 116 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:19:56 [0.43ms] */
select * from `party_vehicle` where `vehicle_id` = 116 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-07 13:19:56 [0.99ms] */
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` = 116 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-07 13:19:58 [2.34ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:19:58 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:19:58 [0.31ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:19:58 [0.18ms] */
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-07 13:19:58 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:19:58 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:19:58 [0.48ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:19:58 [1.49ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:19:58 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:19:58 [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-07 13:19:58 [0.21ms] */
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-07 13:19:58 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:19:58 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 13:19:58 [0.3ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:23:49 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:23:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:23:49 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:23:49 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:23:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:23:49 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:23:49 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'E168' 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-07 13:23:50 [2.41ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:23:50 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:23:50 [0.41ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:23:50 [0.3ms] */
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-07 13:23:50 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:23:50 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:23:50 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:23:50 [0.36ms] */
select * from `vehicle` where `id` = 116 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:23:50 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 116 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-07 13:23:50 [0.25ms] */
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` = 116 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-07 13:23:51 [2.09ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:23:51 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:23:51 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:23:51 [0.32ms] */
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-07 13:23:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:23:51 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:23:51 [0.26ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:23:51 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:23:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:23:51 [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-07 13:23:51 [0.18ms] */
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-07 13:23:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:23:51 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 13:23:51 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 13:24:19 [2.4ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 13:24:19 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 13:24:19 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 13:24:19 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 13:24:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 13:24:19 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 13:24:19 [5.53ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 13:24:19 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 13:24:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 13:24:19 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 13:24:19 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 13:24:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 13:24:19 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 13:24:19 [5.77ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:24:29 [2.36ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:24:29 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:24:29 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:24:29 [0.33ms] */
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-07 13:24:29 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:24:29 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:24:29 [4.02ms] */
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` = 31246 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-07 13:24:30 [2.34ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:24:30 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:24:30 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:24:30 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 13:24:30 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:24:30 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:24:30 [0.45ms] */
select * from `vehicle` where `vehicle`.`id` = 111 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:24:30 [0.38ms] */
select * from `vehicle` where `id` = 111 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:24:30 [0.41ms] */
select * from `party_vehicle` where `vehicle_id` = 111 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-07 13:24:30 [0.81ms] */
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` = 111 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-07 13:24:31 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:24:31 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:24:31 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:24:31 [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-07 13:24:31 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:24:31 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:24:31 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:24:32 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:24:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:24:32 [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-07 13:24:32 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-07 13:24:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:24:32 [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-07 13:24:32 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:26:49 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:26:49 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:26:49 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:26:49 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:26:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:26:49 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:26:49 [0.36ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 31246 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-07 13:26:49 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:26:49 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:26:49 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:26:49 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 13:26:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:26:49 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:26:49 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 111 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:26:49 [0.15ms] */
select * from `vehicle` where `id` = 111 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:26:49 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 111 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-07 13:26:49 [0.26ms] */
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` = 111 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-07 13:26:51 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:26:51 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:26:51 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:26:51 [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-07 13:26:51 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:26:51 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:26:51 [0.21ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:26:51 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:26:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:26:51 [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-07 13:26:51 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-07 13:26:51 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:26:51 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 13:26:51 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:27:22 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:27:22 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:27:22 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:27:22 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:27:22 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:27:22 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:27:22 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 31246 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-07 13:27:23 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:27:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:27:23 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:27:23 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 13:27:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:27:23 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:27:23 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 111 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:27:23 [0.17ms] */
select * from `vehicle` where `id` = 111 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:27:23 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 111 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-07 13:27:23 [0.25ms] */
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` = 111 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-07 13:27:24 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:27:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:27:24 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:27:24 [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-07 13:27:24 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:27:24 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:27:24 [0.28ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:27:25 [1.87ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:27:25 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:27:25 [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-07 13:27:25 [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-07 13:27:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:27:25 [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-07 13:27:25 [0.18ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:30:58 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:30:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:30:58 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:30:58 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:30:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:30:58 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:30:58 [0.39ms] */
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` = 'E168' 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-07 13:30:59 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:30:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:30:59 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:30:59 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 13:30:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:30:59 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:30:59 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:30:59 [0.17ms] */
select * from `vehicle` where `id` = 116 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:30:59 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 116 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-07 13:30:59 [0.25ms] */
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` = 116 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-07 13:31:01 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:31:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:31:01 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:31:01 [0.17ms] */
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-07 13:31:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:31:01 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:31:01 [0.24ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:31:02 [2.29ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:31:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:31:02 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 13:31:02 [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-07 13:31:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:31:02 [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-07 13:31:02 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 13:37:50 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 13:37:50 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 13:37:50 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 13:37:50 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-07 13:37:50 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 13:37:50 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 13:37:50 [0.34ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'E168' 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-07 13:37:51 [1.49ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 13:37:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 13:37:51 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 13:37:51 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-07 13:37:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 13:37:51 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 13:37:51 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 13:37:51 [0.17ms] */
select * from `vehicle` where `id` = 116 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 13:37:51 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 116 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-07 13:37:51 [0.25ms] */
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` = 116 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-07 13:37:52 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 13:37:52 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 13:37:52 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 13:37:52 [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-07 13:37:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 13:37:52 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 13:37:52 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 13:37:53 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 13:37:53 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 13:37:53 [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-07 13:37:53 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-07 13:37:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 13:37:53 [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-07 13:37:53 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 14:16:54 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 14:16:54 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 14:16:54 [0.33ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 14:16:54 [0.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 14:16:54 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 14:16:54 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 14:16:54 [7.51ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 14:16:55 [2.22ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 14:16:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 14:16:55 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 14:16:55 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 14:16:55 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '77c01fc96da77a3af3ec1c800f6b6197de2d8d20e278aee8bc14577d7adca0cbc9313118a2c79ec7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 14:16:55 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 14:16:55 [5.73ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 14:36:17 [2.74ms] */
select * from `oauth_access_tokens` where `id` = 'e699a869b367b5c82422eb3308f227abb05cb7c82e0c5ae4bd8a90e3eaea503058499b78d9b0a619' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 14:36:17 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e699a869b367b5c82422eb3308f227abb05cb7c82e0c5ae4bd8a90e3eaea503058499b78d9b0a619' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 14:36:17 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 14:36:17 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 14:36:17 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e699a869b367b5c82422eb3308f227abb05cb7c82e0c5ae4bd8a90e3eaea503058499b78d9b0a619' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 14:36:17 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 14:36:17 [2.48ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-07 14:36:18 [2.12ms] */
select * from `oauth_access_tokens` where `id` = 'e699a869b367b5c82422eb3308f227abb05cb7c82e0c5ae4bd8a90e3eaea503058499b78d9b0a619' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-07 14:36:18 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'e699a869b367b5c82422eb3308f227abb05cb7c82e0c5ae4bd8a90e3eaea503058499b78d9b0a619' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-07 14:36:18 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-07 14:36:18 [0.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-07 14:36:18 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'e699a869b367b5c82422eb3308f227abb05cb7c82e0c5ae4bd8a90e3eaea503058499b78d9b0a619' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-07 14:36:18 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-07 14:36:18 [2.46ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 14:39:35 [2.3ms] */
select * from `oauth_access_tokens` where `id` = 'c8f7dc0afbdc7630d857ac079bcec174f2d13ba61a44c83893ad4320176f0a7a2231973c5628d574' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 14:39:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'c8f7dc0afbdc7630d857ac079bcec174f2d13ba61a44c83893ad4320176f0a7a2231973c5628d574' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 14:39:35 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 14:39:35 [0.32ms] */
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-07 14:39:35 [0.31ms] */
select * from `oauth_access_tokens` where `id` = 'c8f7dc0afbdc7630d857ac079bcec174f2d13ba61a44c83893ad4320176f0a7a2231973c5628d574' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-07 14:39:35 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-07 14:39:35 [0.28ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 1 - 2025-01-07 14:44:08 [2.8ms] */
select * from `users` where `email` = 'Dhasara.Palanisamy@user.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 2 - 2025-01-07 14:44:08 [0.27ms] */
select * from `users` where `id` = 109 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 3 - 2025-01-07 14:44:08 [0.92ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 109 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 4 - 2025-01-07 14:44:08 [12.33ms] */
update `userprofiles` set `last_ip` = '49.47.216.187', `login_count` = 92, `last_login` = '2025-01-07 14:44:08', `userprofiles`.`updated_at` = '2025-01-07 14:44:08' where `id` = 109;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 5 - 2025-01-07 14:44:08 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 6 - 2025-01-07 14:44:08 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 7 - 2025-01-07 14:44:08 [0.48ms] */
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-07 14:44:08 [2.06ms] */
select * from `users` where `id` = 109 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-07 14:44:08 [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
   Query 3 - 2025-01-07 14:44:08 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-01-07 14:44:08 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-01-07 14:44:08 [15.07ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-07 14:44:08 [16.19ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-07' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-07 14:44:08 [46.19ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-07 14:44:08 [26.95ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-07' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-07 14:44:09 [120.91ms] */
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-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-07 14:44:09 [20.39ms] */
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-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-07 14:44:09 [209.95ms] */
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-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-07 14:44:09 [28.56ms] */
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-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-01-07 14:44:09 [0.38ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-01-07 14:44:09 [0.23ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 1 - 2025-01-07 14:44:19 [2.18ms] */
select * from `users` where `id` = 109 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 2 - 2025-01-07 14:44:19 [0.72ms] */
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/mytrn
   Query 3 - 2025-01-07 14:44:19 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 4 - 2025-01-07 14:44:19 [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/m/mytrn
   Query 5 - 2025-01-07 14:44:19 [5.28ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 109 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-07 14:44:19 [1.88ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 109 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 7 - 2025-01-07 14:44:19 [0.28ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 8 - 2025-01-07 14:44:19 [0.57ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 9 - 2025-01-07 14:44:19 [0.72ms] */
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/mytrn
   Query 10 - 2025-01-07 14:44:19 [1.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 11 - 2025-01-07 14:44:19 [1.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 12 - 2025-01-07 14:44:19 [0.51ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 13 - 2025-01-07 14:44:19 [0.85ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 14 - 2025-01-07 14:44:19 [1ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 15 - 2025-01-07 14:44:19 [0.74ms] */
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/mytrn
   Query 16 - 2025-01-07 14:44:19 [0.47ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 17 - 2025-01-07 14:44:19 [0.79ms] */
select * from `users` where `users`.`id` = 117 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 18 - 2025-01-07 14:44:19 [0.22ms] */
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/mytrn
   Query 19 - 2025-01-07 14:44:19 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 20 - 2025-01-07 14:44:19 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 21 - 2025-01-07 14:44:19 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 22 - 2025-01-07 14:44:19 [0.14ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 23 - 2025-01-07 14:44:19 [0.53ms] */
select * from `vehicle` where `vehicle`.`id` = 89860 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 24 - 2025-01-07 14:44:19 [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/mytrn
   Query 25 - 2025-01-07 14:44:19 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 26 - 2025-01-07 14:44:19 [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/mytrn
   Query 27 - 2025-01-07 14:44:19 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 28 - 2025-01-07 14:44:19 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 29 - 2025-01-07 14:44:19 [0.34ms] */
select * from `party` where `party`.`id` = 56318 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 30 - 2025-01-07 14:44:19 [0.57ms] */
select * from `company` where `company`.`id` = 709 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 31 - 2025-01-07 14:44:19 [0.5ms] */
select * from `vehicle` where `vehicle`.`id` = 1359 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 32 - 2025-01-07 14:44:19 [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/mytrn
   Query 33 - 2025-01-07 14:44:19 [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/mytrn
   Query 34 - 2025-01-07 14:44:19 [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/mytrn
   Query 35 - 2025-01-07 14:44:19 [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/mytrn
   Query 36 - 2025-01-07 14:44:19 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 37 - 2025-01-07 14:44:19 [0.54ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 38 - 2025-01-07 14:44:19 [0.35ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 39 - 2025-01-07 14:44:19 [0.49ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 40 - 2025-01-07 14:44:19 [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/mytrn
   Query 41 - 2025-01-07 14:44:19 [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/mytrn
   Query 42 - 2025-01-07 14:44:19 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 43 - 2025-01-07 14:44:19 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 44 - 2025-01-07 14:44:19 [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/mytrn
   Query 45 - 2025-01-07 14:44:19 [0.13ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 46 - 2025-01-07 14:44:19 [0.14ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 47 - 2025-01-07 14:44:19 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 48 - 2025-01-07 14:44:19 [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/mytrn
   Query 49 - 2025-01-07 14:44:19 [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/mytrn
   Query 50 - 2025-01-07 14:44:19 [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/mytrn
   Query 51 - 2025-01-07 14:44:19 [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/mytrn
   Query 52 - 2025-01-07 14:44:19 [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/mytrn
   Query 53 - 2025-01-07 14:44:19 [0.13ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 54 - 2025-01-07 14:44:19 [0.14ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 55 - 2025-01-07 14:44:19 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 56 - 2025-01-07 14:44:19 [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/mytrn
   Query 57 - 2025-01-07 14:44:19 [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/mytrn
   Query 58 - 2025-01-07 14:44:19 [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/mytrn
   Query 59 - 2025-01-07 14:44:19 [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/mytrn
   Query 60 - 2025-01-07 14:44:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 61 - 2025-01-07 14:44:19 [0.15ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 62 - 2025-01-07 14:44:19 [0.14ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 63 - 2025-01-07 14:44:19 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88944 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 64 - 2025-01-07 14:44:19 [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/mytrn
   Query 65 - 2025-01-07 14:44:19 [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/mytrn
   Query 66 - 2025-01-07 14:44:19 [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/mytrn
   Query 67 - 2025-01-07 14:44:19 [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/mytrn
   Query 68 - 2025-01-07 14:44:19 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 69 - 2025-01-07 14:44:19 [0.31ms] */
select * from `party` where `party`.`id` = 58063 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 70 - 2025-01-07 14:44:19 [0.35ms] */
select * from `person` where `person`.`id` = 55662 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 71 - 2025-01-07 14:44:19 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 88964 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 72 - 2025-01-07 14:44:19 [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/mytrn
   Query 73 - 2025-01-07 14:44:19 [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/mytrn
   Query 74 - 2025-01-07 14:44:19 [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/mytrn
   Query 75 - 2025-01-07 14:44:19 [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/mytrn
   Query 76 - 2025-01-07 14:44:19 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 77 - 2025-01-07 14:44:19 [0.13ms] */
select * from `party` where `party`.`id` = 58063 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 78 - 2025-01-07 14:44:19 [0.14ms] */
select * from `person` where `person`.`id` = 55662 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 79 - 2025-01-07 14:44:19 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88964 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 80 - 2025-01-07 14:44:19 [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/mytrn
   Query 81 - 2025-01-07 14:44:19 [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/mytrn
   Query 82 - 2025-01-07 14:44:19 [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/mytrn
   Query 83 - 2025-01-07 14:44:19 [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/mytrn
   Query 84 - 2025-01-07 14:44:19 [0.21ms] */
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/mytrn
   Query 85 - 2025-01-07 14:44:19 [0.26ms] */
select * from `party` where `party`.`id` = 58063 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 86 - 2025-01-07 14:44:19 [0.27ms] */
select * from `person` where `person`.`id` = 55662 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 87 - 2025-01-07 14:44:19 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 88964 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 88 - 2025-01-07 14:44:19 [0.27ms] */
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/mytrn
   Query 89 - 2025-01-07 14:44:19 [0.27ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 90 - 2025-01-07 14:44:19 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 91 - 2025-01-07 14:44:19 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-07 14:44:47 [3.03ms] */
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-07 14:44:47 [0.26ms] */
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-07 14:44:47 [0.9ms] */
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-07 14:44:47 [7.19ms] */
update `userprofiles` set `last_ip` = '171.79.51.14', `login_count` = 800, `last_login` = '2025-01-07 14:44:47', `userprofiles`.`updated_at` = '2025-01-07 14:44:47' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-07 14:44:47 [0.55ms] */
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-07 14:44:47 [0.56ms] */
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-07 14:44:47 [1.05ms] */
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-07 14:44:47 [0.87ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-07 14:44:47 [0.34ms] */
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-07 14:44:47 [1.03ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-07 14:44:47 [0.31ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-07 14:44:47 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-07 14:44:47 [3.76ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e', 5, 3, '[]', 0, '2025-01-07 14:44:47', '2025-01-07 14:44:47', '2026-01-07 14:44:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-07 14:44:47 [0.38ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-07 14:44:47 [3.16ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 14:45:25 [2.37ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 14:45:25 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 14:45:25 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 14:45:25 [0.33ms] */
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-07 14:45:25 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 14:45:25 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 14:45:25 [0.68ms] */
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` = 'RTA051' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-07 14:45:31 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-07 14:45:31 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-07 14:45:31 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-07 14:45:31 [0.26ms] */
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-07 14:45:31 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-07 14:45:31 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-07 14:45:31 [1.57ms] */
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` = 'RTA033' 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-07 14:45:32 [2.09ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-07 14:45:32 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-07 14:45:32 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-07 14:45:32 [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-07 14:45:32 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-07 14:45:32 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-07 14:45:32 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 89993 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-07 14:45:32 [0.26ms] */
select * from `vehicle` where `id` = 89993 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-07 14:45:32 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 89993 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-07 14:45:32 [0.71ms] */
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` = 89993 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-07 14:45:33 [2ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-07 14:45:33 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-07 14:45:33 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-07 14:45:33 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-07 14:45:33 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-07 14:45:33 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-07 14:45:33 [0.73ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-07 14:45:34 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-07 14:45:34 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '960289c54e1c7173534d33dd3b6f5b29f040ac25e708659357cd2ff1417791024e311933e9a39f5e' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-07 14:45:34 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-07 14:45:34 [0.36ms] */
