select * from `person` where `person`.`id` = 36378 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 48 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 49 - 2025-04-07 07:39:38 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 50 - 2025-04-07 07:39:38 [0.14ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 51 - 2025-04-07 07:39:38 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 52 - 2025-04-07 07:39:38 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 53 - 2025-04-07 07:39:38 [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` = 75259 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 54 - 2025-04-07 07:39:38 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 55 - 2025-04-07 07:39:38 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 56 - 2025-04-07 07:39:38 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 78587 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 57 - 2025-04-07 07:39:38 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 78587 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/service.tax-list-component
   Query 58 - 2025-04-07 07:39:38 [0.38ms] */
select * from `party` where `party`.`id` = 50583 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 59 - 2025-04-07 07:39:38 [0.4ms] */
select * from `person` where `person`.`id` = 50583 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 60 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 61 - 2025-04-07 07:39:38 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2025-04-07 07:39:38 [0.13ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 63 - 2025-04-07 07:39:38 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 64 - 2025-04-07 07:39:38 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 65 - 2025-04-07 07:39:38 [0.62ms] */
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` = 78587 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2025-04-07 07:39:38 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2025-04-07 07:39:38 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 68 - 2025-04-07 07:39:38 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 81404 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 69 - 2025-04-07 07:39:38 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 81404 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/service.tax-list-component
   Query 70 - 2025-04-07 07:39:38 [0.29ms] */
select * from `party` where `party`.`id` = 30885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 71 - 2025-04-07 07:39:38 [0.34ms] */
select * from `person` where `person`.`id` = 30885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 72 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 73 - 2025-04-07 07:39:38 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 74 - 2025-04-07 07:39:38 [0.13ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 75 - 2025-04-07 07:39:38 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 76 - 2025-04-07 07:39:38 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 25 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 77 - 2025-04-07 07:39:38 [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` = 81404 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 78 - 2025-04-07 07:39:38 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 79 - 2025-04-07 07:39:38 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2025-04-07 07:39:38 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 69632 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 81 - 2025-04-07 07:39:38 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 69632 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/service.tax-list-component
   Query 82 - 2025-04-07 07:39:38 [0.29ms] */
select * from `party` where `party`.`id` = 48453 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 83 - 2025-04-07 07:39:38 [0.36ms] */
select * from `person` where `person`.`id` = 48453 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 84 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 85 - 2025-04-07 07:39:38 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 86 - 2025-04-07 07:39:38 [0.14ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 87 - 2025-04-07 07:39:38 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 88 - 2025-04-07 07:39:38 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 89 - 2025-04-07 07:39:38 [0.58ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 69632 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 90 - 2025-04-07 07:39:38 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 91 - 2025-04-07 07:39:38 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71424 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 92 - 2025-04-07 07:39:38 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 71424 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/service.tax-list-component
   Query 93 - 2025-04-07 07:39:38 [0.19ms] */
select * from `party` where `party`.`id` = 47867 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2025-04-07 07:39:38 [0.17ms] */
select * from `person` where `person`.`id` = 47867 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 95 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 96 - 2025-04-07 07:39:38 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 97 - 2025-04-07 07:39:38 [0.31ms] */
select * from `model` where `model`.`id` = 1335 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 98 - 2025-04-07 07:39:38 [0.16ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 99 - 2025-04-07 07:39:38 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 100 - 2025-04-07 07:39:38 [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` = 71424 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 101 - 2025-04-07 07:39:38 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 102 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 103 - 2025-04-07 07:39:38 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 104 - 2025-04-07 07:39:38 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 68099 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 105 - 2025-04-07 07:39:38 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 68099 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/service.tax-list-component
   Query 106 - 2025-04-07 07:39:38 [0.39ms] */
select * from `party` where `party`.`id` = 46681 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 107 - 2025-04-07 07:39:38 [0.3ms] */
select * from `person` where `person`.`id` = 46681 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 108 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 109 - 2025-04-07 07:39:38 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 110 - 2025-04-07 07:39:38 [0.15ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 111 - 2025-04-07 07:39:38 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 112 - 2025-04-07 07:39:38 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 113 - 2025-04-07 07:39:38 [0.87ms] */
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` = 68099 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 114 - 2025-04-07 07:39:38 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 115 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 116 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 117 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 118 - 2025-04-07 07:39:38 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 119 - 2025-04-07 07:39:38 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 64259 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 120 - 2025-04-07 07:39:38 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 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/service.tax-list-component
   Query 121 - 2025-04-07 07:39:38 [0.39ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 122 - 2025-04-07 07:39:38 [0.31ms] */
select * from `person` where `person`.`id` = 45296 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 123 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 124 - 2025-04-07 07:39:38 [0.18ms] */
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/service.tax-list-component
   Query 125 - 2025-04-07 07:39:38 [0.14ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 126 - 2025-04-07 07:39:38 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 127 - 2025-04-07 07:39:38 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 128 - 2025-04-07 07:39:38 [1ms] */
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` = 64259 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 129 - 2025-04-07 07:39:38 [0.18ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 130 - 2025-04-07 07:39:38 [0.15ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 131 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 132 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 133 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 134 - 2025-04-07 07:39:38 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 135 - 2025-04-07 07:39:38 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71430 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 136 - 2025-04-07 07:39:38 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 71430 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/service.tax-list-component
   Query 137 - 2025-04-07 07:39:38 [0.28ms] */
select * from `party` where `party`.`id` = 57444 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 138 - 2025-04-07 07:39:38 [0.33ms] */
select * from `company` where `company`.`id` = 1731 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 139 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 140 - 2025-04-07 07:39:38 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 141 - 2025-04-07 07:39:38 [0.15ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 142 - 2025-04-07 07:39:38 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 143 - 2025-04-07 07:39:38 [0.13ms] */
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/service.tax-list-component
   Query 144 - 2025-04-07 07:39:38 [0.79ms] */
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` = 71430 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:38' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 145 - 2025-04-07 07:39:38 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 146 - 2025-04-07 07:39:38 [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/service.tax-list-component
   Query 147 - 2025-04-07 07:39:38 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 07:39:51 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 07:39:51 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 07:39:51 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 07:39:51 [0.19ms] */
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-04-07 07:39:51 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 07:39:51 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 07:39:51 [1.23ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'BE710' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 07:39:51 [0.25ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 07:39:51 [0.25ms] */
select * from `vehicle` where `id` = 64259 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 07:39:51 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 07:39:52 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 07:39:52 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 07:39:52 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 07:39:52 [0.34ms] */
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-04-07 07:39:52 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 07:39:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 07:39:52 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 64259 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 07:39:52 [0.26ms] */
select * from `vehicle` where `id` = 64259 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 07:39:52 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 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-04-07 07:39:52 [0.83ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 64259 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 07:39:53 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 07:39:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 07:39:53 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 07:39:53 [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-04-07 07:39:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 07:39:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 07:39:53 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-07 07:39:53 [1.91ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 07:39:53 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 07:39:53 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 07:39:53 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-07 07:39:53 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 07:39:53 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 07:39:53 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-04-07 07:39:55 [1.32ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-04-07 07:39:55 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-04-07 07:39:55 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-04-07 07:39:55 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 1 - 2025-04-07 07:39:55 [2.05ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 2 - 2025-04-07 07:39:55 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 3 - 2025-04-07 07:39:55 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 4 - 2025-04-07 07:39:55 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 5 - 2025-04-07 07:39:55 [0.39ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 6 - 2025-04-07 07:39:55 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 64259 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 7 - 2025-04-07 07:39:55 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 8 - 2025-04-07 07:39:55 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 59332 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 9 - 2025-04-07 07:39:55 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 10 - 2025-04-07 07:39:55 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 11 - 2025-04-07 07:39:55 [0.26ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 12 - 2025-04-07 07:39:55 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 64259 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 13 - 2025-04-07 07:39:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 14 - 2025-04-07 07:39:55 [0.37ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 15 - 2025-04-07 07:39:55 [66.97ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 16 - 2025-04-07 07:39:55 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 17 - 2025-04-07 07:39:55 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 18 - 2025-04-07 07:39:55 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 19 - 2025-04-07 07:39:55 [0.12ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 20 - 2025-04-07 07:39:55 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 21 - 2025-04-07 07:39:55 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 22 - 2025-04-07 07:39:55 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 23 - 2025-04-07 07:39:55 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 24 - 2025-04-07 07:39:55 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 25 - 2025-04-07 07:39:55 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 26 - 2025-04-07 07:39:55 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 27 - 2025-04-07 07:39:55 [0.12ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 28 - 2025-04-07 07:39:55 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 29 - 2025-04-07 07:39:55 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 30 - 2025-04-07 07:39:55 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 31 - 2025-04-07 07:39:55 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 32 - 2025-04-07 07:39:55 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 33 - 2025-04-07 07:39:55 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 34 - 2025-04-07 07:39:55 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 35 - 2025-04-07 07:39:55 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 36 - 2025-04-07 07:39:55 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 64259 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 37 - 2025-04-07 07:39:55 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 38 - 2025-04-07 07:39:55 [0.14ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 39 - 2025-04-07 07:39:55 [1.5ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 59332 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 40 - 2025-04-07 07:39:55 [0.27ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 316844 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 41 - 2025-04-07 07:39:55 [12.27ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-04-07 07:39:55' where `id` = 316844;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 42 - 2025-04-07 07:39:55 [1ms] */
select * from `vehicle_tax` where `id` = 316844 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 43 - 2025-04-07 07:39:55 [3.7ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 316844, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 44 - 2025-04-07 07:39:55 [0.66ms] */
select * from `invoice` where `transaction_id` = 414896 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 45 - 2025-04-07 07:39:55 [3.33ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-04-07 07:39:55' where `id` = 392425;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 46 - 2025-04-07 07:39:55 [0.55ms] */
select * from `invoice` where `id` = 392425 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 47 - 2025-04-07 07:39:55 [3.48ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 392425, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 48 - 2025-04-07 07:39:55 [0.52ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 316845 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 49 - 2025-04-07 07:39:55 [3.25ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-04-07 07:39:55' where `id` = 316845;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 50 - 2025-04-07 07:39:55 [0.48ms] */
select * from `vehicle_tax` where `id` = 316845 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 51 - 2025-04-07 07:39:55 [3.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 316845, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 52 - 2025-04-07 07:39:55 [0.55ms] */
select * from `invoice` where `transaction_id` = 414897 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 53 - 2025-04-07 07:39:55 [3.13ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-04-07 07:39:55' where `id` = 392426;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 54 - 2025-04-07 07:39:55 [0.51ms] */
select * from `invoice` where `id` = 392426 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 55 - 2025-04-07 07:39:55 [3.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 392426, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 56 - 2025-04-07 07:39:55 [0.5ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 316846 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 57 - 2025-04-07 07:39:55 [3.07ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-04-07 07:39:55' where `id` = 316846;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 58 - 2025-04-07 07:39:55 [0.48ms] */
select * from `vehicle_tax` where `id` = 316846 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 59 - 2025-04-07 07:39:55 [3.11ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 316846, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 60 - 2025-04-07 07:39:55 [0.57ms] */
select * from `invoice` where `transaction_id` = 414898 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 61 - 2025-04-07 07:39:55 [9.89ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-04-07 07:39:55' where `id` = 392427;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 62 - 2025-04-07 07:39:55 [0.48ms] */
select * from `invoice` where `id` = 392427 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 63 - 2025-04-07 07:39:55 [3.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 392427, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 64 - 2025-04-07 07:39:55 [0.5ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 316847 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 65 - 2025-04-07 07:39:55 [3.09ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-04-07 07:39:55' where `id` = 316847;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 66 - 2025-04-07 07:39:55 [0.51ms] */
select * from `vehicle_tax` where `id` = 316847 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 67 - 2025-04-07 07:39:55 [3.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":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 316847, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 68 - 2025-04-07 07:39:55 [0.52ms] */
select * from `invoice` where `transaction_id` = 414899 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 69 - 2025-04-07 07:39:55 [3.12ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-04-07 07:39:55' where `id` = 392428;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 70 - 2025-04-07 07:39:55 [0.47ms] */
select * from `invoice` where `id` = 392428 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 71 - 2025-04-07 07:39:55 [3.09ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 392428, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 72 - 2025-04-07 07:39:55 [9.37ms] */
select * from `discount` where `vehicle_tax` = 316844 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 73 - 2025-04-07 07:39:55 [4.47ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[316844,316845,316846,316847]', 64259, 45296, '2025-09-01 07:39:55', 1, 1, '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 74 - 2025-04-07 07:39:55 [0.41ms] */
select * from `discount` where `id` = 6319 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 75 - 2025-04-07 07:39:55 [3.23ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":64259,"amount":null,"expiry_date":"2025-09-01 07:39:55","party_id":45296,"service_id":2,"vehicle_tax":[316844,316845,316846,316847],"party_vehicle_id":null}}', 1, 'App\Models\User', 6319, 'Modules\Transaction\Entities\Discount', 'created', '2025-04-07 07:39:55', '2025-04-07 07:39:55');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 76 - 2025-04-07 07:39:55 [0.73ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 64259 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 77 - 2025-04-07 07:39:55 [0.58ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 64259 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 78 - 2025-04-07 07:39:55 [0.61ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 79 - 2025-04-07 07:39:55 [0.24ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 80 - 2025-04-07 07:39:55 [2.6ms] */
select * from `vehicle` where `vehicle`.`id` = 64259 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 81 - 2025-04-07 07:39:55 [0.74ms] */
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` = 64259 and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:55' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 82 - 2025-04-07 07:39:55 [0.32ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 64259 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 83 - 2025-04-07 07:39:55 [0.37ms] */
select sum(`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (316844, 316845, 316846, 316847, 427561, 427562) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 84 - 2025-04-07 07:39:55 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 64259 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 85 - 2025-04-07 07:39:55 [0.23ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 86 - 2025-04-07 07:39:55 [0.22ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 87 - 2025-04-07 07:39:55 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 88 - 2025-04-07 07:39:55 [0.42ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 64259 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 89 - 2025-04-07 07:39:55 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 90 - 2025-04-07 07:39:55 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 91 - 2025-04-07 07:39:55 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 92 - 2025-04-07 07:39:55 [0.21ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 93 - 2025-04-07 07:39:55 [0.19ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 94 - 2025-04-07 07:39:55 [0.2ms] */
select * from `person` where `person`.`id` = 45296 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 95 - 2025-04-07 07:39:55 [26.64ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 45296 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 96 - 2025-04-07 07:39:55 [0.31ms] */
select * from `address` where `address`.`id` = 45296 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 97 - 2025-04-07 07:39:55 [0.26ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 98 - 2025-04-07 07:39:55 [0.21ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 99 - 2025-04-07 07:39:55 [0.2ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 100 - 2025-04-07 07:39:55 [0.15ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 101 - 2025-04-07 07:39:55 [0.14ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 102 - 2025-04-07 07:39:55 [0.15ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 103 - 2025-04-07 07:39:55 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 104 - 2025-04-07 07:39:55 [0.18ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 105 - 2025-04-07 07:39:55 [0.15ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 106 - 2025-04-07 07:39:55 [0.16ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 107 - 2025-04-07 07:39:55 [0.15ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 108 - 2025-04-07 07:39:55 [0.17ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 109 - 2025-04-07 07:39:55 [0.15ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 110 - 2025-04-07 07:39:55 [0.25ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 111 - 2025-04-07 07:39:55 [0.22ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 112 - 2025-04-07 07:39:55 [0.24ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 113 - 2025-04-07 07:39:55 [0.22ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 114 - 2025-04-07 07:39:55 [0.22ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 115 - 2025-04-07 07:39:55 [0.23ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 116 - 2025-04-07 07:39:55 [0.23ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 117 - 2025-04-07 07:39:55 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 537419 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 118 - 2025-04-07 07:39:55 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 513087 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 119 - 2025-04-07 07:39:55 [0.26ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 120 - 2025-04-07 07:39:55 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 537420 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 121 - 2025-04-07 07:39:55 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 513088 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 122 - 2025-04-07 07:39:55 [0.18ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 123 - 2025-04-07 07:39:55 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 537421 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 124 - 2025-04-07 07:39:55 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 513089 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 125 - 2025-04-07 07:39:55 [0.17ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 126 - 2025-04-07 07:39:55 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 537422 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 127 - 2025-04-07 07:39:55 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 513090 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 128 - 2025-04-07 07:39:55 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 129 - 2025-04-07 07:39:55 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 130 - 2025-04-07 07:39:55 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 131 - 2025-04-07 07:39:55 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 132 - 2025-04-07 07:39:55 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 133 - 2025-04-07 07:39:55 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 134 - 2025-04-07 07:39:55 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 135 - 2025-04-07 07:39:55 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 136 - 2025-04-07 07:39:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 137 - 2025-04-07 07:39:55 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/64259
   Query 138 - 2025-04-07 07:39:55 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 1 - 2025-04-07 07:39:59 [1.41ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 2 - 2025-04-07 07:39:59 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 3 - 2025-04-07 07:39:59 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 4 - 2025-04-07 07:39:59 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 5 - 2025-04-07 07:39:59 [800.28ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` 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`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:59') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 6 - 2025-04-07 07:40:00 [715.4ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` 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`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-04-07 07:39:59') and `ban_status` = 'GOOD_STANDING' and `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 order by `updated_at` desc limit 10 offset 260;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 7 - 2025-04-07 07:40:00 [0.3ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76023 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 8 - 2025-04-07 07:40:00 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 9 - 2025-04-07 07:40:00 [0.25ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 10 - 2025-04-07 07:40:00 [0.25ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 11 - 2025-04-07 07:40:00 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 12 - 2025-04-07 07:40:00 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 13 - 2025-04-07 07:40:00 [0.22ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 14 - 2025-04-07 07:40:00 [0.22ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 15 - 2025-04-07 07:40:00 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 16 - 2025-04-07 07:40:00 [0.65ms] */
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` = 76023 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 17 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 18 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 19 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 20 - 2025-04-07 07:40:00 [0.15ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 21 - 2025-04-07 07:40:00 [0.15ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 22 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 23 - 2025-04-07 07:40:00 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 24 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 25 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 26 - 2025-04-07 07:40:00 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 74490 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 27 - 2025-04-07 07:40:00 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 74490 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 28 - 2025-04-07 07:40:00 [0.15ms] */
select * from `party` where `party`.`id` = 49005 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 29 - 2025-04-07 07:40:00 [0.17ms] */
select * from `person` where `person`.`id` = 49005 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 30 - 2025-04-07 07:40:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 31 - 2025-04-07 07:40:00 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 32 - 2025-04-07 07:40:00 [0.14ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 33 - 2025-04-07 07:40:00 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 34 - 2025-04-07 07:40:00 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 35 - 2025-04-07 07:40:00 [0.83ms] */
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` = 74490 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 36 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 37 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 38 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 39 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 40 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 41 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 42 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 43 - 2025-04-07 07:40:00 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 44 - 2025-04-07 07:40:00 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75259 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 45 - 2025-04-07 07:40:00 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 75259 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 46 - 2025-04-07 07:40:00 [0.15ms] */
select * from `party` where `party`.`id` = 36378 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 47 - 2025-04-07 07:40:00 [0.15ms] */
select * from `person` where `person`.`id` = 36378 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 48 - 2025-04-07 07:40:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 49 - 2025-04-07 07:40:00 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 50 - 2025-04-07 07:40:00 [0.14ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 51 - 2025-04-07 07:40:00 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 52 - 2025-04-07 07:40:00 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 53 - 2025-04-07 07:40:00 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 75259 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 54 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 55 - 2025-04-07 07:40:00 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 56 - 2025-04-07 07:40:00 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 78587 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 57 - 2025-04-07 07:40:00 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 78587 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 58 - 2025-04-07 07:40:00 [0.14ms] */
select * from `party` where `party`.`id` = 50583 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 59 - 2025-04-07 07:40:00 [0.15ms] */
select * from `person` where `person`.`id` = 50583 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 60 - 2025-04-07 07:40:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 61 - 2025-04-07 07:40:00 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 62 - 2025-04-07 07:40:00 [0.27ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 63 - 2025-04-07 07:40:00 [0.2ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 64 - 2025-04-07 07:40:00 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 65 - 2025-04-07 07:40:00 [0.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 78587 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 66 - 2025-04-07 07:40:00 [0.2ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 67 - 2025-04-07 07:40:00 [0.17ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 68 - 2025-04-07 07:40:00 [0.18ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 81404 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 69 - 2025-04-07 07:40:00 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 81404 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 70 - 2025-04-07 07:40:00 [0.2ms] */
select * from `party` where `party`.`id` = 30885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 71 - 2025-04-07 07:40:00 [0.22ms] */
select * from `person` where `person`.`id` = 30885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 72 - 2025-04-07 07:40:00 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 73 - 2025-04-07 07:40:00 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 74 - 2025-04-07 07:40:00 [0.17ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 75 - 2025-04-07 07:40:00 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 76 - 2025-04-07 07:40:00 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 25 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 77 - 2025-04-07 07:40:00 [0.64ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 81404 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 78 - 2025-04-07 07:40:00 [0.18ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 79 - 2025-04-07 07:40:00 [0.16ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 80 - 2025-04-07 07:40:00 [0.16ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 69632 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 81 - 2025-04-07 07:40:00 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 69632 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 82 - 2025-04-07 07:40:00 [0.17ms] */
select * from `party` where `party`.`id` = 48453 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 83 - 2025-04-07 07:40:00 [0.18ms] */
select * from `person` where `person`.`id` = 48453 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 84 - 2025-04-07 07:40:00 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 85 - 2025-04-07 07:40:00 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 86 - 2025-04-07 07:40:00 [0.16ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 87 - 2025-04-07 07:40:00 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 88 - 2025-04-07 07:40:00 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 89 - 2025-04-07 07:40:00 [0.67ms] */
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` = 69632 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 90 - 2025-04-07 07:40:00 [0.19ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 91 - 2025-04-07 07:40:00 [0.16ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71424 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 92 - 2025-04-07 07:40:00 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 71424 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 93 - 2025-04-07 07:40:00 [0.16ms] */
select * from `party` where `party`.`id` = 47867 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 94 - 2025-04-07 07:40:00 [0.16ms] */
select * from `person` where `person`.`id` = 47867 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 95 - 2025-04-07 07:40:00 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 96 - 2025-04-07 07:40:00 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 97 - 2025-04-07 07:40:00 [0.14ms] */
select * from `model` where `model`.`id` = 1335 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 98 - 2025-04-07 07:40:00 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 99 - 2025-04-07 07:40:00 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 100 - 2025-04-07 07:40:00 [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` = 71424 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 101 - 2025-04-07 07:40:00 [0.16ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 102 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 103 - 2025-04-07 07:40:00 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 104 - 2025-04-07 07:40:00 [0.16ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 68099 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 105 - 2025-04-07 07:40:00 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 68099 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 106 - 2025-04-07 07:40:00 [0.17ms] */
select * from `party` where `party`.`id` = 46681 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 107 - 2025-04-07 07:40:00 [0.25ms] */
select * from `person` where `person`.`id` = 46681 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 108 - 2025-04-07 07:40:00 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 109 - 2025-04-07 07:40:00 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 110 - 2025-04-07 07:40:00 [0.26ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 111 - 2025-04-07 07:40:00 [0.28ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 112 - 2025-04-07 07:40:00 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 113 - 2025-04-07 07:40:00 [0.97ms] */
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` = 68099 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 114 - 2025-04-07 07:40:00 [0.26ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 115 - 2025-04-07 07:40:00 [0.27ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 116 - 2025-04-07 07:40:00 [0.25ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 117 - 2025-04-07 07:40:00 [0.26ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 118 - 2025-04-07 07:40:00 [0.26ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 119 - 2025-04-07 07:40:00 [0.28ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 64259 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 120 - 2025-04-07 07:40:00 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 121 - 2025-04-07 07:40:00 [0.29ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 122 - 2025-04-07 07:40:00 [0.25ms] */
select * from `person` where `person`.`id` = 45296 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 123 - 2025-04-07 07:40:00 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 124 - 2025-04-07 07:40:00 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 125 - 2025-04-07 07:40:00 [0.19ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 126 - 2025-04-07 07:40:00 [0.18ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 127 - 2025-04-07 07:40:00 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 128 - 2025-04-07 07:40:00 [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` = 64259 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 129 - 2025-04-07 07:40:00 [0.21ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 130 - 2025-04-07 07:40:00 [0.18ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 131 - 2025-04-07 07:40:00 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 132 - 2025-04-07 07:40:00 [0.88ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 133 - 2025-04-07 07:40:00 [0.26ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 134 - 2025-04-07 07:40:00 [0.2ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 135 - 2025-04-07 07:40:00 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71430 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 136 - 2025-04-07 07:40:00 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 71430 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 137 - 2025-04-07 07:40:00 [0.21ms] */
select * from `party` where `party`.`id` = 57444 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 138 - 2025-04-07 07:40:00 [0.19ms] */
select * from `company` where `company`.`id` = 1731 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 139 - 2025-04-07 07:40:00 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 140 - 2025-04-07 07:40:00 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 141 - 2025-04-07 07:40:00 [0.18ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 142 - 2025-04-07 07:40:00 [0.18ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 143 - 2025-04-07 07:40:00 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 144 - 2025-04-07 07:40:00 [0.98ms] */
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` = 71430 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 145 - 2025-04-07 07:40:00 [0.21ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 146 - 2025-04-07 07:40:00 [0.21ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 147 - 2025-04-07 07:40:00 [0.22ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 148 - 2025-04-07 07:40:00 [0.41ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=27
   Query 149 - 2025-04-07 07:40:00 [0.25ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 07:40:02 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 07:40:02 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 07:40:02 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 07:40:02 [0.2ms] */
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-04-07 07:40:02 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 07:40:02 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 07:40:02 [0.44ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'BE710' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 07:40:02 [0.18ms] */
select * from `party` where `party`.`id` = 45296 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 07:40:02 [0.19ms] */
select * from `vehicle` where `id` = 64259 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 07:40:02 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 07:40:03 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 07:40:03 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 07:40:03 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 07:40:03 [0.19ms] */
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-04-07 07:40:03 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 07:40:03 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 07:40:03 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 64259 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 07:40:03 [0.17ms] */
select * from `vehicle` where `id` = 64259 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 07:40:03 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 64259 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-04-07 07:40:03 [0.96ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 64259 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 07:40:04 [2.18ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 07:40:04 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 07:40:04 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 07:40:04 [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-04-07 07:40:04 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 07:40:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 07:40:04 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-07 07:40:04 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 07:40:04 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 07:40:04 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 07:40:04 [0.33ms] */
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-04-07 07:40:04 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 07:40:04 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 07:40:04 [0.19ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 07:40:12 [1.86ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 07:40:12 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 07:40:12 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 07:40:12 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-07 07:40:12 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 07:40:12 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 07:40:12 [2.88ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'IR779' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 07:40:12 [0.38ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 07:40:12 [0.28ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 07:40:12 [0.29ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 11 - 2025-04-07 07:40:12 [0.38ms] */
select * from `vehicle` where `id` = 76023 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 12 - 2025-04-07 07:40:12 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 07:40:13 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 07:40:13 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 07:40:13 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 07:40:13 [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-04-07 07:40:13 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 07:40:13 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 07:40:13 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 07:40:13 [0.2ms] */
select * from `vehicle` where `id` = 76023 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 07:40:13 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 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-04-07 07:40:13 [1.19ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 76023 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 07:40:14 [1.46ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 07:40:14 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 07:40:14 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 07:40:14 [0.19ms] */
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-04-07 07:40:14 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 07:40:14 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 07:40:14 [0.16ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-07 07:40:14 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 07:40:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 07:40:14 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 07:40:14 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-07 07:40:14 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 07:40:14 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 07:40:14 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-04-07 07:40:17 [2.31ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-04-07 07:40:17 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-04-07 07:40:17 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-04-07 07:40:17 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 1 - 2025-04-07 07:40:17 [1.72ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 2 - 2025-04-07 07:40:17 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 3 - 2025-04-07 07:40:17 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 4 - 2025-04-07 07:40:17 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 5 - 2025-04-07 07:40:17 [0.61ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 6 - 2025-04-07 07:40:17 [0.44ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76023 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 7 - 2025-04-07 07:40:17 [0.46ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 8 - 2025-04-07 07:40:17 [0.6ms] */
select * from `transaction` where `transaction`.`id` = 79895 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 9 - 2025-04-07 07:40:17 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 10 - 2025-04-07 07:40:17 [0.26ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 11 - 2025-04-07 07:40:17 [0.38ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 12 - 2025-04-07 07:40:17 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 13 - 2025-04-07 07:40:17 [0.35ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 14 - 2025-04-07 07:40:17 [0.7ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 15 - 2025-04-07 07:40:17 [90.32ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 16 - 2025-04-07 07:40:17 [0.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 17 - 2025-04-07 07:40:17 [0.15ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 18 - 2025-04-07 07:40:17 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 19 - 2025-04-07 07:40:17 [0.14ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 20 - 2025-04-07 07:40:17 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 21 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 22 - 2025-04-07 07:40:17 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 23 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 24 - 2025-04-07 07:40:17 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 25 - 2025-04-07 07:40:17 [0.15ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 26 - 2025-04-07 07:40:17 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 27 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 28 - 2025-04-07 07:40:17 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 29 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 30 - 2025-04-07 07:40:17 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 31 - 2025-04-07 07:40:17 [0.14ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 32 - 2025-04-07 07:40:17 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 33 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 34 - 2025-04-07 07:40:17 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 35 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 36 - 2025-04-07 07:40:17 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 37 - 2025-04-07 07:40:17 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 38 - 2025-04-07 07:40:17 [0.17ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 39 - 2025-04-07 07:40:17 [4.9ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 79895 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 40 - 2025-04-07 07:40:17 [0.27ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239003 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 41 - 2025-04-07 07:40:17 [11.51ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239003;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 42 - 2025-04-07 07:40:17 [0.37ms] */
select * from `vehicle_tax` where `id` = 239003 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 43 - 2025-04-07 07:40:17 [4.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239003, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 44 - 2025-04-07 07:40:17 [0.62ms] */
select * from `invoice` where `transaction_id` = 307008 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 45 - 2025-04-07 07:40:17 [3.5ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287273;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 46 - 2025-04-07 07:40:17 [0.3ms] */
select * from `invoice` where `id` = 287273 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 47 - 2025-04-07 07:40:17 [3.43ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287273, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 48 - 2025-04-07 07:40:17 [0.28ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239004 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 49 - 2025-04-07 07:40:17 [3.24ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239004;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 50 - 2025-04-07 07:40:17 [0.34ms] */
select * from `vehicle_tax` where `id` = 239004 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 51 - 2025-04-07 07:40:17 [3.48ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239004, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 52 - 2025-04-07 07:40:17 [0.39ms] */
select * from `invoice` where `transaction_id` = 307009 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 53 - 2025-04-07 07:40:17 [3.14ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287274;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 54 - 2025-04-07 07:40:17 [0.31ms] */
select * from `invoice` where `id` = 287274 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 55 - 2025-04-07 07:40:17 [3.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287274, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 56 - 2025-04-07 07:40:17 [0.3ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239005 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 57 - 2025-04-07 07:40:17 [3.21ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239005;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 58 - 2025-04-07 07:40:17 [0.29ms] */
select * from `vehicle_tax` where `id` = 239005 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 59 - 2025-04-07 07:40:17 [3.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":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239005, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 60 - 2025-04-07 07:40:17 [0.34ms] */
select * from `invoice` where `transaction_id` = 307010 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 61 - 2025-04-07 07:40:17 [3.14ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287275;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 62 - 2025-04-07 07:40:17 [0.32ms] */
select * from `invoice` where `id` = 287275 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 63 - 2025-04-07 07:40:17 [3.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287275, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 64 - 2025-04-07 07:40:17 [0.3ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239006 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 65 - 2025-04-07 07:40:17 [3.08ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239006;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 66 - 2025-04-07 07:40:17 [0.29ms] */
select * from `vehicle_tax` where `id` = 239006 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 67 - 2025-04-07 07:40:17 [3.43ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239006, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 68 - 2025-04-07 07:40:17 [0.34ms] */
select * from `invoice` where `transaction_id` = 307011 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 69 - 2025-04-07 07:40:17 [4.19ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287276;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 70 - 2025-04-07 07:40:17 [0.3ms] */
select * from `invoice` where `id` = 287276 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 71 - 2025-04-07 07:40:17 [3.07ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287276, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 72 - 2025-04-07 07:40:17 [0.29ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239007 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 73 - 2025-04-07 07:40:17 [3.16ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239007;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 74 - 2025-04-07 07:40:17 [0.3ms] */
select * from `vehicle_tax` where `id` = 239007 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 75 - 2025-04-07 07:40:17 [3.54ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239007, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 76 - 2025-04-07 07:40:17 [0.35ms] */
select * from `invoice` where `transaction_id` = 307012 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 77 - 2025-04-07 07:40:17 [3.03ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287277;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 78 - 2025-04-07 07:40:17 [0.3ms] */
select * from `invoice` where `id` = 287277 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 79 - 2025-04-07 07:40:17 [3.08ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287277, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 80 - 2025-04-07 07:40:17 [0.29ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239008 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 81 - 2025-04-07 07:40:17 [3.06ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239008;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 82 - 2025-04-07 07:40:17 [0.28ms] */
select * from `vehicle_tax` where `id` = 239008 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 83 - 2025-04-07 07:40:17 [3.01ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239008, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 84 - 2025-04-07 07:40:17 [0.34ms] */
select * from `invoice` where `transaction_id` = 307013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 85 - 2025-04-07 07:40:17 [3.09ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287278;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 86 - 2025-04-07 07:40:17 [0.32ms] */
select * from `invoice` where `id` = 287278 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 87 - 2025-04-07 07:40:17 [7.43ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287278, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 88 - 2025-04-07 07:40:17 [0.38ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239009 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 89 - 2025-04-07 07:40:17 [3.56ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-07 07:40:17' where `id` = 239009;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 90 - 2025-04-07 07:40:17 [0.38ms] */
select * from `vehicle_tax` where `id` = 239009 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 91 - 2025-04-07 07:40:17 [3.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 239009, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 92 - 2025-04-07 07:40:17 [0.36ms] */
select * from `invoice` where `transaction_id` = 307014 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 93 - 2025-04-07 07:40:17 [3.13ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-07 07:40:17' where `id` = 287279;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 94 - 2025-04-07 07:40:17 [0.32ms] */
select * from `invoice` where `id` = 287279 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 95 - 2025-04-07 07:40:17 [3.07ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 287279, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 96 - 2025-04-07 07:40:17 [10.49ms] */
select * from `discount` where `vehicle_tax` = 239003 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 97 - 2025-04-07 07:40:17 [3.07ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[239003,239004,239005,239006,239007,239008,239009]', 76023, 56880, '2025-09-01 07:40:17', 1, 1, '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 98 - 2025-04-07 07:40:17 [0.31ms] */
select * from `discount` where `id` = 6320 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 99 - 2025-04-07 07:40:17 [3.43ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":76023,"amount":null,"expiry_date":"2025-09-01 07:40:17","party_id":56880,"service_id":2,"vehicle_tax":[239003,239004,239005,239006,239007,239008,239009],"party_vehicle_id":null}}', 1, 'App\Models\User', 6320, 'Modules\Transaction\Entities\Discount', 'created', '2025-04-07 07:40:17', '2025-04-07 07:40:17');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 100 - 2025-04-07 07:40:17 [1.03ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 76023 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 101 - 2025-04-07 07:40:17 [2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76023 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 102 - 2025-04-07 07:40:17 [0.61ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 103 - 2025-04-07 07:40:17 [0.24ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 104 - 2025-04-07 07:40:17 [0.56ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 105 - 2025-04-07 07:40:17 [2.77ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 76023 and `term`.`first_date_of_quarter` <= '2025-04-07 07:40:17' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 106 - 2025-04-07 07:40:17 [0.49ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 76023 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 107 - 2025-04-07 07:40:17 [0.55ms] */
select sum(`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (239003, 239004, 239005, 239006, 239007, 239008, 239009, 436370, 436371) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 108 - 2025-04-07 07:40:17 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 109 - 2025-04-07 07:40:17 [0.21ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 110 - 2025-04-07 07:40:17 [0.19ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 111 - 2025-04-07 07:40:17 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 112 - 2025-04-07 07:40:17 [0.47ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 113 - 2025-04-07 07:40:17 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 114 - 2025-04-07 07:40:17 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 115 - 2025-04-07 07:40:17 [1.88ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 116 - 2025-04-07 07:40:17 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 117 - 2025-04-07 07:40:17 [0.17ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 118 - 2025-04-07 07:40:17 [0.16ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 119 - 2025-04-07 07:40:17 [0.16ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 120 - 2025-04-07 07:40:17 [0.17ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 121 - 2025-04-07 07:40:17 [0.15ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 122 - 2025-04-07 07:40:17 [0.29ms] */
select * from `address` where `address`.`id` = 56880 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 123 - 2025-04-07 07:40:17 [0.17ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 124 - 2025-04-07 07:40:17 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 125 - 2025-04-07 07:40:17 [0.15ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 126 - 2025-04-07 07:40:17 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 127 - 2025-04-07 07:40:17 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 128 - 2025-04-07 07:40:17 [0.23ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 129 - 2025-04-07 07:40:17 [0.17ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 130 - 2025-04-07 07:40:17 [0.16ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 131 - 2025-04-07 07:40:17 [0.15ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 132 - 2025-04-07 07:40:17 [0.17ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 133 - 2025-04-07 07:40:17 [0.23ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 134 - 2025-04-07 07:40:17 [0.16ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 135 - 2025-04-07 07:40:17 [0.16ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 136 - 2025-04-07 07:40:17 [0.18ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 137 - 2025-04-07 07:40:17 [0.26ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 138 - 2025-04-07 07:40:17 [0.18ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 139 - 2025-04-07 07:40:17 [0.17ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 140 - 2025-04-07 07:40:17 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 141 - 2025-04-07 07:40:17 [0.35ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 142 - 2025-04-07 07:40:17 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 143 - 2025-04-07 07:40:17 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 144 - 2025-04-07 07:40:17 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 546229 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 145 - 2025-04-07 07:40:17 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 521897 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 146 - 2025-04-07 07:40:17 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 147 - 2025-04-07 07:40:17 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 546230 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 148 - 2025-04-07 07:40:17 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 521898 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 149 - 2025-04-07 07:40:17 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 150 - 2025-04-07 07:40:17 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 546231 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 151 - 2025-04-07 07:40:17 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 521899 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 152 - 2025-04-07 07:40:17 [0.14ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 153 - 2025-04-07 07:40:17 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 546232 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 154 - 2025-04-07 07:40:17 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 521900 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 155 - 2025-04-07 07:40:17 [0.22ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 156 - 2025-04-07 07:40:17 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 157 - 2025-04-07 07:40:17 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 158 - 2025-04-07 07:40:17 [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/service/tax/start/76023
   Query 159 - 2025-04-07 07:40:17 [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/service/tax/start/76023
   Query 160 - 2025-04-07 07:40:17 [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/service/tax/start/76023
   Query 161 - 2025-04-07 07:40:17 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 162 - 2025-04-07 07:40:17 [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/service/tax/start/76023
   Query 163 - 2025-04-07 07:40:17 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 164 - 2025-04-07 07:40:17 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 165 - 2025-04-07 07:40:17 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 07:40:20 [2.37ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 07:40:20 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 07:40:20 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 07:40:20 [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-04-07 07:40:20 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 07:40:20 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 07:40:20 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'IR779' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 07:40:20 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 07:40:20 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 07:40:20 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 11 - 2025-04-07 07:40:20 [0.15ms] */
select * from `vehicle` where `id` = 76023 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 12 - 2025-04-07 07:40:20 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 07:40:21 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 07:40:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 07:40:21 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 07:40:21 [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-04-07 07:40:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 07:40:21 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 07:40:21 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 07:40:21 [0.15ms] */
select * from `vehicle` where `id` = 76023 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 07:40:21 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 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-04-07 07:40:21 [0.59ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 76023 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 07:40:22 [2.27ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 07:40:22 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 07:40:22 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 07:40:22 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-07 07:40:22 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 07:40:22 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 07:40:22 [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-04-07 07:40:23 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 07:40:23 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 07:40:23 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 07:40:23 [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-04-07 07:40:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 07:40:23 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 07:40:23 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 1 - 2025-04-07 07:40:33 [2.01ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 2 - 2025-04-07 07:40:33 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 3 - 2025-04-07 07:40:33 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 4 - 2025-04-07 07:40:33 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 5 - 2025-04-07 07:40:33 [0.29ms] */
select * from `vehicle` where `id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 6 - 2025-04-07 07:40:33 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 7 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 8 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 9 - 2025-04-07 07:40:33 [0.26ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 10 - 2025-04-07 07:40:33 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 11 - 2025-04-07 07:40:33 [0.15ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 12 - 2025-04-07 07:40:33 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 13 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 14 - 2025-04-07 07:40:33 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 15 - 2025-04-07 07:40:33 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 16 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 17 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 18 - 2025-04-07 07:40:33 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 19 - 2025-04-07 07:40:33 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 20 - 2025-04-07 07:40:33 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 21 - 2025-04-07 07:40:33 [0.13ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 22 - 2025-04-07 07:40:33 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 23 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 24 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 25 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 26 - 2025-04-07 07:40:33 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 27 - 2025-04-07 07:40:33 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 79895 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 28 - 2025-04-07 07:40:33 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 29 - 2025-04-07 07:40:33 [0.23ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 30 - 2025-04-07 07:40:33 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 31 - 2025-04-07 07:40:33 [0.16ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 32 - 2025-04-07 07:40:33 [0.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 76023 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 33 - 2025-04-07 07:40:33 [0.17ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 34 - 2025-04-07 07:40:33 [0.25ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 416003 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 35 - 2025-04-07 07:40:33 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 36 - 2025-04-07 07:40:33 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 37 - 2025-04-07 07:40:33 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 38 - 2025-04-07 07:40:33 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 39 - 2025-04-07 07:40:33 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 307007 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 40 - 2025-04-07 07:40:33 [0.17ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 41 - 2025-04-07 07:40:33 [0.16ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 42 - 2025-04-07 07:40:33 [0.2ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 43 - 2025-04-07 07:40:33 [0.29ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 441047 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 44 - 2025-04-07 07:40:33 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 45 - 2025-04-07 07:40:33 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 46 - 2025-04-07 07:40:33 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 47 - 2025-04-07 07:40:33 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 48 - 2025-04-07 07:40:33 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 307008 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 49 - 2025-04-07 07:40:33 [0.23ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 50 - 2025-04-07 07:40:33 [0.22ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 51 - 2025-04-07 07:40:33 [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/vehicle/76023
   Query 52 - 2025-04-07 07:40:33 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 53 - 2025-04-07 07:40:33 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 54 - 2025-04-07 07:40:33 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 55 - 2025-04-07 07:40:33 [0.22ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 56 - 2025-04-07 07:40:33 [0.42ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 463363 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 57 - 2025-04-07 07:40:33 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 58 - 2025-04-07 07:40:33 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 59 - 2025-04-07 07:40:33 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 60 - 2025-04-07 07:40:33 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 61 - 2025-04-07 07:40:33 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 307009 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 62 - 2025-04-07 07:40:33 [0.21ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 63 - 2025-04-07 07:40:33 [0.19ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 64 - 2025-04-07 07:40:33 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 65 - 2025-04-07 07:40:33 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 66 - 2025-04-07 07:40:33 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 67 - 2025-04-07 07:40:33 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 68 - 2025-04-07 07:40:33 [0.19ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 69 - 2025-04-07 07:40:33 [0.31ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 485975 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 70 - 2025-04-07 07:40:33 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 71 - 2025-04-07 07:40:33 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 72 - 2025-04-07 07:40:33 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 73 - 2025-04-07 07:40:33 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 74 - 2025-04-07 07:40:33 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 307010 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 75 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 76 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 77 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 78 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 79 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 80 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 81 - 2025-04-07 07:40:33 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 82 - 2025-04-07 07:40:33 [0.23ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 516117 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 83 - 2025-04-07 07:40:33 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 84 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 85 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 86 - 2025-04-07 07:40:33 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 87 - 2025-04-07 07:40:33 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 307011 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 88 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 89 - 2025-04-07 07:40:33 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 90 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 91 - 2025-04-07 07:40:33 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 92 - 2025-04-07 07:40:33 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 93 - 2025-04-07 07:40:33 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 94 - 2025-04-07 07:40:33 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 95 - 2025-04-07 07:40:33 [0.27ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 541117 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 96 - 2025-04-07 07:40:33 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 97 - 2025-04-07 07:40:33 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 98 - 2025-04-07 07:40:33 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 99 - 2025-04-07 07:40:33 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 100 - 2025-04-07 07:40:33 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 307012 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 101 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 102 - 2025-04-07 07:40:33 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 103 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 104 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 105 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 106 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 107 - 2025-04-07 07:40:33 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 108 - 2025-04-07 07:40:33 [0.23ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 563724 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 109 - 2025-04-07 07:40:33 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 110 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 111 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 112 - 2025-04-07 07:40:33 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 113 - 2025-04-07 07:40:33 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 307013 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 114 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 115 - 2025-04-07 07:40:33 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 116 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 117 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 118 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 119 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 120 - 2025-04-07 07:40:33 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 121 - 2025-04-07 07:40:33 [0.23ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 586338 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 122 - 2025-04-07 07:40:33 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 123 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 124 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 125 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 126 - 2025-04-07 07:40:33 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 307014 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 127 - 2025-04-07 07:40:33 [0.19ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 128 - 2025-04-07 07:40:33 [0.15ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 129 - 2025-04-07 07:40:33 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 130 - 2025-04-07 07:40:33 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 131 - 2025-04-07 07:40:33 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 132 - 2025-04-07 07:40:33 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 133 - 2025-04-07 07:40:33 [0.15ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 134 - 2025-04-07 07:40:33 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 135 - 2025-04-07 07:40:33 [0.83ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 136 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 137 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 138 - 2025-04-07 07:40:33 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 546229 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 139 - 2025-04-07 07:40:33 [0.13ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 140 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 141 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 142 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 143 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 144 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 145 - 2025-04-07 07:40:33 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 146 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 147 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 148 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 149 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 150 - 2025-04-07 07:40:33 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 546230 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 151 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 152 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 153 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 154 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 155 - 2025-04-07 07:40:33 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 156 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 157 - 2025-04-07 07:40:33 [0.12ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 158 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 159 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 160 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 161 - 2025-04-07 07:40:33 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 162 - 2025-04-07 07:40:33 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 546231 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 163 - 2025-04-07 07:40:33 [0.13ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 164 - 2025-04-07 07:40:33 [0.12ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 165 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 166 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 167 - 2025-04-07 07:40:33 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 168 - 2025-04-07 07:40:33 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 169 - 2025-04-07 07:40:33 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 170 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 171 - 2025-04-07 07:40:33 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 172 - 2025-04-07 07:40:33 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 173 - 2025-04-07 07:40:33 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 174 - 2025-04-07 07:40:33 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 546232 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 175 - 2025-04-07 07:40:33 [0.13ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 176 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 177 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 178 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 179 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 180 - 2025-04-07 07:40:33 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 181 - 2025-04-07 07:40:33 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 182 - 2025-04-07 07:40:33 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 183 - 2025-04-07 07:40:33 [0.2ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 184 - 2025-04-07 07:40:33 [0.56ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 76023 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 185 - 2025-04-07 07:40:33 [0.58ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 76023 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 186 - 2025-04-07 07:40:33 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 187 - 2025-04-07 07:40:33 [0.17ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 188 - 2025-04-07 07:40:33 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 189 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 190 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 191 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 192 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 193 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 194 - 2025-04-07 07:40:33 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 195 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 196 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 197 - 2025-04-07 07:40:33 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 198 - 2025-04-07 07:40:33 [0.37ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 546229 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 199 - 2025-04-07 07:40:33 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 200 - 2025-04-07 07:40:33 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 201 - 2025-04-07 07:40:33 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 202 - 2025-04-07 07:40:33 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 203 - 2025-04-07 07:40:33 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 204 - 2025-04-07 07:40:33 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 205 - 2025-04-07 07:40:33 [0.24ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 206 - 2025-04-07 07:40:33 [0.2ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 207 - 2025-04-07 07:40:33 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 208 - 2025-04-07 07:40:33 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 209 - 2025-04-07 07:40:33 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 210 - 2025-04-07 07:40:33 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 211 - 2025-04-07 07:40:33 [0.4ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 546230 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 212 - 2025-04-07 07:40:33 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 213 - 2025-04-07 07:40:33 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 214 - 2025-04-07 07:40:33 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 215 - 2025-04-07 07:40:33 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 216 - 2025-04-07 07:40:33 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 217 - 2025-04-07 07:40:33 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 218 - 2025-04-07 07:40:33 [0.2ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 219 - 2025-04-07 07:40:33 [0.22ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 220 - 2025-04-07 07:40:33 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 221 - 2025-04-07 07:40:33 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 222 - 2025-04-07 07:40:33 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 223 - 2025-04-07 07:40:33 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 224 - 2025-04-07 07:40:33 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 546231 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 225 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 226 - 2025-04-07 07:40:33 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 227 - 2025-04-07 07:40:33 [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/vehicle/76023
   Query 228 - 2025-04-07 07:40:33 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 229 - 2025-04-07 07:40:33 [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/vehicle/76023
   Query 230 - 2025-04-07 07:40:33 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 231 - 2025-04-07 07:40:33 [0.23ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 232 - 2025-04-07 07:40:33 [0.21ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 233 - 2025-04-07 07:40:33 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 234 - 2025-04-07 07:40:33 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 235 - 2025-04-07 07:40:33 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 236 - 2025-04-07 07:40:33 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 237 - 2025-04-07 07:40:33 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 546232 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 238 - 2025-04-07 07:40:33 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 239 - 2025-04-07 07:40:33 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 240 - 2025-04-07 07:40:33 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 241 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 242 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 243 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 244 - 2025-04-07 07:40:33 [0.13ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 245 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 246 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 247 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 248 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 249 - 2025-04-07 07:40:33 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 250 - 2025-04-07 07:40:33 [0.25ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 251 - 2025-04-07 07:40:33 [0.32ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 307007 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 252 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 253 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 254 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 255 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 256 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 257 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 258 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 259 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 260 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 261 - 2025-04-07 07:40:33 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 262 - 2025-04-07 07:40:33 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 263 - 2025-04-07 07:40:33 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 307008 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 264 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 265 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 266 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 267 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 268 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 269 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 270 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 271 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 272 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 273 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 274 - 2025-04-07 07:40:33 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 275 - 2025-04-07 07:40:33 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 276 - 2025-04-07 07:40:33 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 277 - 2025-04-07 07:40:33 [0.36ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 307009 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 278 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 279 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 280 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 281 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 282 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 283 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 284 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 285 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 286 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 287 - 2025-04-07 07:40:33 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 288 - 2025-04-07 07:40:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 289 - 2025-04-07 07:40:33 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 290 - 2025-04-07 07:40:33 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 291 - 2025-04-07 07:40:33 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 307010 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 292 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 293 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 294 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 295 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 296 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 297 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 298 - 2025-04-07 07:40:33 [0.13ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 299 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 300 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 301 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 302 - 2025-04-07 07:40:33 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 303 - 2025-04-07 07:40:33 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 304 - 2025-04-07 07:40:33 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 305 - 2025-04-07 07:40:33 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 307011 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 306 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 307 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 308 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 309 - 2025-04-07 07:40:33 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 310 - 2025-04-07 07:40:33 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 311 - 2025-04-07 07:40:33 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 312 - 2025-04-07 07:40:33 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 313 - 2025-04-07 07:40:33 [0.13ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 314 - 2025-04-07 07:40:33 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79895 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 315 - 2025-04-07 07:40:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 316 - 2025-04-07 07:40:33 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 317 - 2025-04-07 07:40:33 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 318 - 2025-04-07 07:40:33 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 319 - 2025-04-07 07:40:33 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 307012 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 320 - 2025-04-07 07:40:33 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 321 - 2025-04-07 07:40:33 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 322 - 2025-04-07 07:40:33 [0.27ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 76023 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 323 - 2025-04-07 07:40:33 [0.27ms] */
select * from `title_reprint_history` where `vehicle_id` = 76023 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 324 - 2025-04-07 07:40:33 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/76023
   Query 325 - 2025-04-07 07:40:33 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=76023&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-04-07 07:40:34 [1.51ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=76023&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-04-07 07:40:34 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=76023&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-04-07 07:40:34 [0.92ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 76023 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-07 07:40:48 [2.18ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-07 07:40:48 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-07 07:40:48 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-07 07:40:48 [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-04-07 07:40:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-07 07:40:48 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-07 07:40:48 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'IR779' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-07 07:40:48 [0.15ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-07 07:40:48 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-07 07:40:48 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 11 - 2025-04-07 07:40:48 [0.16ms] */
select * from `vehicle` where `id` = 76023 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 12 - 2025-04-07 07:40:48 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-07 07:40:49 [1.67ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-07 07:40:49 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-07 07:40:49 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-07 07:40:49 [0.32ms] */
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-04-07 07:40:49 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-07 07:40:49 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-07 07:40:49 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-07 07:40:49 [0.25ms] */
select * from `vehicle` where `id` = 76023 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-07 07:40:49 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 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-04-07 07:40:49 [0.32ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 76023 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-07 07:40:50 [1.46ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-07 07:40:50 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-07 07:40:50 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-07 07:40:50 [0.19ms] */
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-04-07 07:40:50 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-07 07:40:50 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-07 07:40:50 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-07 07:40:51 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-07 07:40:51 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-07 07:40:51 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-07 07:40:51 [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-04-07 07:40:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5e4f1c089dd31e11e206fbac3be15c9472c6103edaf40d43346ae8ab87f301e1c52844e6735b3fd3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-07 07:40:51 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-07 07:40:51 [0.19ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 1 - 2025-04-07 07:41:40 [2.11ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 2 - 2025-04-07 07:41:40 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 3 - 2025-04-07 07:41:40 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 4 - 2025-04-07 07:41:40 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 5 - 2025-04-07 07:41:40 [0.38ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 6 - 2025-04-07 07:41:40 [0.3ms] */
select * from `invoice` where `id` = 287272 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 7 - 2025-04-07 07:41:40 [0.33ms] */
select * from `transaction` where `transaction`.`id` in (307007) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 8 - 2025-04-07 07:41:40 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` in (76023) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 9 - 2025-04-07 07:41:40 [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/trns/i/287272
   Query 10 - 2025-04-07 07:41:40 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 11 - 2025-04-07 07:41:40 [0.24ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 12 - 2025-04-07 07:41:40 [0.28ms] */
select * from `party` where `party`.`id` in (56880) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 13 - 2025-04-07 07:41:40 [0.23ms] */
select * from `address` where `address`.`id` in (56880) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 14 - 2025-04-07 07:41:40 [0.74ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 307007 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 15 - 2025-04-07 07:41:40 [0.61ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 307007 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 16 - 2025-04-07 07:41:40 [0.14ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 17 - 2025-04-07 07:41:40 [0.14ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 18 - 2025-04-07 07:41:40 [0.13ms] */
select * from `address` where `address`.`id` = 56880 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 19 - 2025-04-07 07:41:40 [0.72ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 287272 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 20 - 2025-04-07 07:41:40 [0.68ms] */
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` = 287272 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 21 - 2025-04-07 07:41:40 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/287272
   Query 22 - 2025-04-07 07:41:40 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 1 - 2025-04-07 07:42:19 [2.09ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 2 - 2025-04-07 07:42:19 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 3 - 2025-04-07 07:42:19 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 4 - 2025-04-07 07:42:19 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 5 - 2025-04-07 07:42:19 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 6 - 2025-04-07 07:42:19 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76023 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 7 - 2025-04-07 07:42:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 8 - 2025-04-07 07:42:19 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 79895 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 9 - 2025-04-07 07:42:19 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 10 - 2025-04-07 07:42:19 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 11 - 2025-04-07 07:42:19 [0.17ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 12 - 2025-04-07 07:42:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 13 - 2025-04-07 07:42:19 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 14 - 2025-04-07 07:42:19 [0.47ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 15 - 2025-04-07 07:42:19 [129.65ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 16 - 2025-04-07 07:42:19 [0.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 17 - 2025-04-07 07:42:19 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 18 - 2025-04-07 07:42:19 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 19 - 2025-04-07 07:42:19 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 20 - 2025-04-07 07:42:19 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 21 - 2025-04-07 07:42:19 [0.14ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 22 - 2025-04-07 07:42:19 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 23 - 2025-04-07 07:42:19 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 24 - 2025-04-07 07:42:19 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 25 - 2025-04-07 07:42:19 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 26 - 2025-04-07 07:42:19 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 27 - 2025-04-07 07:42:19 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 28 - 2025-04-07 07:42:19 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 29 - 2025-04-07 07:42:19 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 30 - 2025-04-07 07:42:19 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 31 - 2025-04-07 07:42:19 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 32 - 2025-04-07 07:42:19 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 33 - 2025-04-07 07:42:19 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 34 - 2025-04-07 07:42:19 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 35 - 2025-04-07 07:42:19 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 36 - 2025-04-07 07:42:19 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 76023 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 37 - 2025-04-07 07:42:19 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 38 - 2025-04-07 07:42:19 [0.13ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 39 - 2025-04-07 07:42:19 [1.49ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 79895 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 40 - 2025-04-07 07:42:19 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239003 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 41 - 2025-04-07 07:42:19 [0.32ms] */
select * from `invoice` where `transaction_id` = 307008 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 42 - 2025-04-07 07:42:19 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239004 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 43 - 2025-04-07 07:42:19 [0.31ms] */
select * from `invoice` where `transaction_id` = 307009 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 44 - 2025-04-07 07:42:19 [0.23ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239005 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 45 - 2025-04-07 07:42:19 [0.22ms] */
select * from `invoice` where `transaction_id` = 307010 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 46 - 2025-04-07 07:42:19 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239006 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 47 - 2025-04-07 07:42:19 [0.22ms] */
select * from `invoice` where `transaction_id` = 307011 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 48 - 2025-04-07 07:42:19 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239007 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 49 - 2025-04-07 07:42:19 [0.22ms] */
select * from `invoice` where `transaction_id` = 307012 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 50 - 2025-04-07 07:42:19 [0.24ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239008 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 51 - 2025-04-07 07:42:19 [0.23ms] */
select * from `invoice` where `transaction_id` = 307013 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 52 - 2025-04-07 07:42:19 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 239009 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 53 - 2025-04-07 07:42:19 [0.23ms] */
select * from `invoice` where `transaction_id` = 307014 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 54 - 2025-04-07 07:42:19 [5.94ms] */
select * from `discount` where `vehicle_tax` = 239003 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 55 - 2025-04-07 07:42:19 [6.22ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[239003,239004,239005,239006,239007,239008,239009]', 76023, 56880, '2025-09-01 07:42:19', 1, 1, '2025-04-07 07:42:19', '2025-04-07 07:42:19');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 56 - 2025-04-07 07:42:19 [0.2ms] */
select * from `discount` where `id` = 6321 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 57 - 2025-04-07 07:42:19 [3.96ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":76023,"amount":null,"expiry_date":"2025-09-01 07:42:19","party_id":56880,"service_id":2,"vehicle_tax":[239003,239004,239005,239006,239007,239008,239009],"party_vehicle_id":null}}', 1, 'App\Models\User', 6321, 'Modules\Transaction\Entities\Discount', 'created', '2025-04-07 07:42:19', '2025-04-07 07:42:19');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 58 - 2025-04-07 07:42:19 [0.38ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 76023 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 59 - 2025-04-07 07:42:19 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76023 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 60 - 2025-04-07 07:42:19 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 76023 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 61 - 2025-04-07 07:42:19 [0.35ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 62 - 2025-04-07 07:42:19 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 63 - 2025-04-07 07:42:19 [1.37ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 76023 and `term`.`first_date_of_quarter` <= '2025-04-07 07:42:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 64 - 2025-04-07 07:42:19 [0.24ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 76023 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 65 - 2025-04-07 07:42:19 [0.26ms] */
select sum(`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (239003, 239004, 239005, 239006, 239007, 239008, 239009, 436370, 436371) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 66 - 2025-04-07 07:42:19 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 76023 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 67 - 2025-04-07 07:42:19 [0.24ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 68 - 2025-04-07 07:42:19 [0.22ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 69 - 2025-04-07 07:42:19 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 70 - 2025-04-07 07:42:19 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 76023 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 71 - 2025-04-07 07:42:19 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 72 - 2025-04-07 07:42:19 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 73 - 2025-04-07 07:42:19 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 74 - 2025-04-07 07:42:19 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 75 - 2025-04-07 07:42:19 [0.16ms] */
select * from `party` where `party`.`id` = 56880 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 76 - 2025-04-07 07:42:19 [0.15ms] */
select * from `company` where `company`.`id` = 1167 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 77 - 2025-04-07 07:42:19 [0.14ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 78 - 2025-04-07 07:42:19 [0.16ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 79 - 2025-04-07 07:42:19 [0.14ms] */
select * from `company_type` where `company_type`.`id` = 1 and `company_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 80 - 2025-04-07 07:42:19 [0.15ms] */
select * from `address` where `address`.`id` = 56880 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 81 - 2025-04-07 07:42:19 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 82 - 2025-04-07 07:42:19 [0.19ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 83 - 2025-04-07 07:42:19 [0.23ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 84 - 2025-04-07 07:42:19 [0.22ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 85 - 2025-04-07 07:42:19 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 86 - 2025-04-07 07:42:19 [0.22ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 87 - 2025-04-07 07:42:19 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 88 - 2025-04-07 07:42:19 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 89 - 2025-04-07 07:42:19 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 90 - 2025-04-07 07:42:19 [0.13ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 91 - 2025-04-07 07:42:19 [0.11ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 92 - 2025-04-07 07:42:19 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 93 - 2025-04-07 07:42:19 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 94 - 2025-04-07 07:42:19 [0.16ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 95 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 96 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 97 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 98 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 99 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 100 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 101 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 102 - 2025-04-07 07:42:19 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 546229 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 103 - 2025-04-07 07:42:19 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 521897 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 104 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 105 - 2025-04-07 07:42:19 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 546230 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 106 - 2025-04-07 07:42:19 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 521898 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 107 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 108 - 2025-04-07 07:42:19 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 546231 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 109 - 2025-04-07 07:42:19 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 521899 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 110 - 2025-04-07 07:42:19 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 111 - 2025-04-07 07:42:19 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 546232 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 112 - 2025-04-07 07:42:19 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 521900 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 113 - 2025-04-07 07:42:19 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/76023
   Query 114 - 2025-04-07 07:42: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/service/tax/start/76023
   Query 115 - 2025-04-07 07:42: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/service/tax/start/76023
   Query 116 - 2025-04-07 07:42: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/service/tax/start/76023
   Query 117 - 2025-04-07 07:42: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/service/tax/start/76023
   Query 118 - 2025-04-07 07:42:19 [0.14ms] */
