select * from `vehicle` where `vehicle`.`id` in (89651) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2024-12-10 11:50:02 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2024-12-10 11:50:02 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89651 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2024-12-10 11:50:02 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89651 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2024-12-10 11:50:02 [0.33ms] */
select * from `service_fee` where (`sub_category_id` = 4 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2024-12-10 11:50:02 [0.13ms] */
select `id` from `term` where `quarter` = 1 and `year` >= 2024 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2024-12-10 11:50:02 [0.13ms] */
select `id` from `term` where `quarter` != 1 and `year` >= 2024 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2024-12-10 11:50:02 [0.27ms] */
select * from `vehicle_tax` where `vehicle_id` = 89651 and `term_id` in (97, 101) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2024-12-10 11:50:02 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2024-12-10 11:50:02 [0.12ms] */
select `id` from `term` where `year` = 2024 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2024-12-10 11:50:02 [0.16ms] */
select * from `term` where `term`.`id` = 101 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2024-12-10 11:50:02 [0.12ms] */
select `id` from `term` where `year` = 2099 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2024-12-10 11:50:02 [0.2ms] */
select * from `vehicle_tax` where `vehicle_id` = 89651 and `term_id` in (98, 99, 100) and `term_id` not in (97, 98, 99, 100, 101) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2024-12-10 11:50:02 [0.27ms] */
select * from `vehicle_tax` where `vehicle_id` = 89651 and `term_id` in (97, 98, 99, 100, 101) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2024-12-10 11:50:02 [0.24ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98801 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2024-12-10 11:50:02 [5.95ms] */
update `vehicle_tax` set `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-10 11:50:02' where `id` = 98801;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2024-12-10 11:50:02 [0.27ms] */
select * from `vehicle_tax` where `id` = 98801 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 28 - 2024-12-10 11:50:02 [3.07ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 98801, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-10 11:50:02', '2024-12-10 11:50:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 29 - 2024-12-10 11:50:02 [0.21ms] */
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-component
   Query 30 - 2024-12-10 11:50:02 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 31 - 2024-12-10 11:50:02 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 1 - 2024-12-10 11:50:19 [2.01ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 2 - 2024-12-10 11:50:19 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 3 - 2024-12-10 11:50:19 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 4 - 2024-12-10 11:50:19 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2024-12-10 11:50:19 [21.96ms] */
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` <= '2024-12-10 11:50:19' and `vehicle_tax`.`deleted_at` is null) 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
   Query 6 - 2024-12-10 11:50:19 [21.12ms] */
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` <= '2024-12-10 11:50:19' and `vehicle_tax`.`deleted_at` is null) 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 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 7 - 2024-12-10 11:50:19 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1389 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 8 - 2024-12-10 11:50:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 1389 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 9 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 17194 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
   Query 10 - 2024-12-10 11:50:19 [0.15ms] */
select * from `person` where `person`.`id` = 17194 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 11 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 12 - 2024-12-10 11:50:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 13 - 2024-12-10 11:50:19 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 14 - 2024-12-10 11:50:19 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 15 - 2024-12-10 11:50:19 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 16 - 2024-12-10 11:50:19 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1389 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 17 - 2024-12-10 11:50:19 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 18 - 2024-12-10 11:50:19 [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
   Query 19 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 20 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 21 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 22 - 2024-12-10 11:50:19 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 23 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 71 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 24 - 2024-12-10 11:50:19 [0.15ms] */
select * from `party` where `party`.`id` = 27057 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 25 - 2024-12-10 11:50:19 [0.14ms] */
select * from `person` where `person`.`id` = 27057 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 26 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 27 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 28 - 2024-12-10 11:50:19 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 29 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 30 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 31 - 2024-12-10 11:50:19 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 71 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 32 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 33 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 34 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 35 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 36 - 2024-12-10 11:50: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/list
   Query 37 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 34 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 38 - 2024-12-10 11:50:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 34 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 39 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 27081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 40 - 2024-12-10 11:50:19 [0.15ms] */
select * from `person` where `person`.`id` = 27081 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 41 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 42 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 43 - 2024-12-10 11:50:19 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 44 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 45 - 2024-12-10 11:50:19 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 46 - 2024-12-10 11:50:19 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 34 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 47 - 2024-12-10 11:50:19 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 48 - 2024-12-10 11:50:19 [0.13ms] */
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
   Query 49 - 2024-12-10 11:50: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/list
   Query 50 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 51 - 2024-12-10 11:50: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/list
   Query 52 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89876 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 53 - 2024-12-10 11:50:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89876 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
   Query 54 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 27949 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
   Query 55 - 2024-12-10 11:50:19 [0.14ms] */
select * from `person` where `person`.`id` = 27949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 56 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 57 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 58 - 2024-12-10 11:50:19 [0.12ms] */
select * from `model` where `model`.`id` = 3251 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 59 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 60 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 61 - 2024-12-10 11:50:19 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89876 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 62 - 2024-12-10 11:50:19 [0.14ms] */
select * from `term` where `term`.`id` = 85 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 63 - 2024-12-10 11:50:19 [0.12ms] */
select * from `term` where `term`.`id` = 86 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 64 - 2024-12-10 11:50:19 [0.12ms] */
select * from `term` where `term`.`id` = 87 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 65 - 2024-12-10 11:50:19 [0.12ms] */
select * from `term` where `term`.`id` = 88 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 66 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 67 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 68 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 69 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 71 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 72 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 73 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 74 - 2024-12-10 11:50: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/list
   Query 75 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89828 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 76 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89828 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
   Query 77 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 2017 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
   Query 78 - 2024-12-10 11:50:19 [0.14ms] */
select * from `company` where `company`.`id` = 2017 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 79 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 80 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 81 - 2024-12-10 11:50:19 [0.12ms] */
select * from `model` where `model`.`id` = 3251 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 82 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 83 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 84 - 2024-12-10 11:50:19 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89828 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 85 - 2024-12-10 11:50: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/list
   Query 86 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 870 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 87 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 870 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
   Query 88 - 2024-12-10 11:50:19 [0.15ms] */
select * from `party` where `party`.`id` = 56077 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
   Query 89 - 2024-12-10 11:50:19 [0.14ms] */
select * from `company` where `company`.`id` = 468 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 90 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 91 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 92 - 2024-12-10 11:50:19 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 93 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 94 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 95 - 2024-12-10 11:50:19 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 870 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 96 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 97 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89797 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 98 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89797 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
   Query 99 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 100 - 2024-12-10 11:50:19 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 101 - 2024-12-10 11:50:19 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 102 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 103 - 2024-12-10 11:50:19 [0.12ms] */
select * from `model` where `model`.`id` = 3251 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 104 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 105 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 106 - 2024-12-10 11:50:19 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89797 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 107 - 2024-12-10 11:50:19 [0.13ms] */
select * from `term` where `term`.`id` = 85 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 108 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89839 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 109 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89839 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
   Query 110 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 27949 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
   Query 111 - 2024-12-10 11:50:19 [0.14ms] */
select * from `person` where `person`.`id` = 27949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 112 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 113 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 114 - 2024-12-10 11:50:19 [0.13ms] */
select * from `model` where `model`.`id` = 3251 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 115 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 116 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 117 - 2024-12-10 11:50:19 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89839 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 118 - 2024-12-10 11:50: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/list
   Query 119 - 2024-12-10 11:50:19 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 79292 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 120 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 79292 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
   Query 121 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 11778 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
   Query 122 - 2024-12-10 11:50:19 [0.15ms] */
select * from `person` where `person`.`id` = 11778 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 123 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 124 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 125 - 2024-12-10 11:50:19 [0.13ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 126 - 2024-12-10 11:50:19 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 127 - 2024-12-10 11:50:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 128 - 2024-12-10 11:50:19 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 79292 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 129 - 2024-12-10 11:50: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/list
   Query 130 - 2024-12-10 11:50:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89923 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 131 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89923 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
   Query 132 - 2024-12-10 11:50:19 [0.14ms] */
select * from `party` where `party`.`id` = 58769 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
   Query 133 - 2024-12-10 11:50:19 [0.15ms] */
select * from `person` where `person`.`id` = 56247 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 134 - 2024-12-10 11:50:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 135 - 2024-12-10 11:50:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 136 - 2024-12-10 11:50:19 [0.12ms] */
select * from `model` where `model`.`id` = 2030 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 137 - 2024-12-10 11:50:19 [0.12ms] */
select * from `make` where `make`.`id` = 287 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 138 - 2024-12-10 11:50:19 [0.12ms] */
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
   Query 139 - 2024-12-10 11:50:19 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89923 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 140 - 2024-12-10 11:50: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/list
   Query 141 - 2024-12-10 11:50:19 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 142 - 2024-12-10 11:50:19 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2024-12-10 11:50:23 [1.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2024-12-10 11:50:23 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2024-12-10 11:50:23 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2024-12-10 11:50:23 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2024-12-10 11:50:23 [21.75ms] */
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` <= '2024-12-10 11:50:23' and `vehicle_tax`.`deleted_at` is null) 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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2024-12-10 11:50:23 [21.45ms] */
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` <= '2024-12-10 11:50:23' and `vehicle_tax`.`deleted_at` is null) 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 90;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2024-12-10 11:50:23 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89904 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 8 - 2024-12-10 11:50:23 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89904 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 9 - 2024-12-10 11:50:23 [0.16ms] */
select * from `party` where `party`.`id` = 58741 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 10 - 2024-12-10 11:50:23 [0.16ms] */
select * from `person` where `person`.`id` = 56219 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2024-12-10 11:50:23 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 12 - 2024-12-10 11:50:23 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2024-12-10 11:50:23 [0.14ms] */
select * from `model` where `model`.`id` = 2287 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2024-12-10 11:50:23 [0.14ms] */
select * from `make` where `make`.`id` = 273 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2024-12-10 11:50:23 [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 16 - 2024-12-10 11:50:23 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89904 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 17 - 2024-12-10 11:50:23 [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 18 - 2024-12-10 11:50:23 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89898 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 19 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89898 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 20 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party` where `party`.`id` = 58735 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 21 - 2024-12-10 11:50:23 [0.15ms] */
select * from `person` where `person`.`id` = 56213 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 22 - 2024-12-10 11:50:23 [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 23 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 24 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 2030 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 25 - 2024-12-10 11:50:23 [0.12ms] */
select * from `make` where `make`.`id` = 287 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 26 - 2024-12-10 11:50:23 [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 27 - 2024-12-10 11:50:23 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89898 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 28 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 29 - 2024-12-10 11:50:23 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89101 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 30 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89101 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 31 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party` where `party`.`id` = 27948 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 32 - 2024-12-10 11:50:23 [0.15ms] */
select * from `person` where `person`.`id` = 27948 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2024-12-10 11:50:23 [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 34 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 35 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 36 - 2024-12-10 11:50:23 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 37 - 2024-12-10 11:50:23 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 38 - 2024-12-10 11:50:23 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89101 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 39 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 40 - 2024-12-10 11:50:23 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89897 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 41 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89897 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 42 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party` where `party`.`id` = 58734 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 43 - 2024-12-10 11:50:23 [0.15ms] */
select * from `person` where `person`.`id` = 56212 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 44 - 2024-12-10 11:50:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 45 - 2024-12-10 11:50:23 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 46 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 3149 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 47 - 2024-12-10 11:50:23 [0.28ms] */
select * from `make` where `make`.`id` = 406 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 48 - 2024-12-10 11:50:23 [0.3ms] */
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 49 - 2024-12-10 11:50:23 [0.71ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89897 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 50 - 2024-12-10 11:50:23 [0.27ms] */
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 51 - 2024-12-10 11:50:23 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89896 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 52 - 2024-12-10 11:50:23 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 89896 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 53 - 2024-12-10 11:50:23 [0.29ms] */
select * from `party` where `party`.`id` = 58733 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 54 - 2024-12-10 11:50:23 [0.32ms] */
select * from `person` where `person`.`id` = 56211 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 55 - 2024-12-10 11:50:23 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 56 - 2024-12-10 11:50:23 [0.26ms] */
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 57 - 2024-12-10 11:50:23 [0.29ms] */
select * from `model` where `model`.`id` = 2287 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 58 - 2024-12-10 11:50:23 [0.24ms] */
select * from `make` where `make`.`id` = 273 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 59 - 2024-12-10 11:50:23 [0.12ms] */
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 60 - 2024-12-10 11:50:23 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89896 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 61 - 2024-12-10 11:50:23 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2024-12-10 11:50:23 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89894 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 63 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89894 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 64 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party` where `party`.`id` = 58727 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 65 - 2024-12-10 11:50:23 [0.15ms] */
select * from `person` where `person`.`id` = 56205 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2024-12-10 11:50:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 68 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 1716 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 69 - 2024-12-10 11:50:23 [0.13ms] */
select * from `make` where `make`.`id` = 406 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 70 - 2024-12-10 11:50:23 [0.12ms] */
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 71 - 2024-12-10 11:50:23 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89894 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 72 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 73 - 2024-12-10 11:50:23 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89864 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 74 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89864 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 75 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 76 - 2024-12-10 11:50:23 [0.15ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 77 - 2024-12-10 11:50:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 78 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 79 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2024-12-10 11:50:23 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 81 - 2024-12-10 11:50:23 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 82 - 2024-12-10 11:50:23 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89864 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 83 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 84 - 2024-12-10 11:50:23 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89886 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 85 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89886 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 86 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party` where `party`.`id` = 32315 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 87 - 2024-12-10 11:50:23 [0.15ms] */
select * from `person` where `person`.`id` = 32315 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 88 - 2024-12-10 11:50:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 89 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 90 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 6 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 91 - 2024-12-10 11:50:23 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 92 - 2024-12-10 11:50:23 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 27 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 93 - 2024-12-10 11:50:23 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89886 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 94 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 95 - 2024-12-10 11:50:23 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89895 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 96 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89895 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 97 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party` where `party`.`id` = 58728 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 98 - 2024-12-10 11:50:23 [0.14ms] */
select * from `person` where `person`.`id` = 56206 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 99 - 2024-12-10 11:50:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 100 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 101 - 2024-12-10 11:50:23 [0.13ms] */
select * from `model` where `model`.`id` = 1806 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 102 - 2024-12-10 11:50:23 [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 103 - 2024-12-10 11:50:23 [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 104 - 2024-12-10 11:50:23 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89895 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 105 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 106 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 107 - 2024-12-10 11:50:23 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89889 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 108 - 2024-12-10 11:50:23 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89889 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 109 - 2024-12-10 11:50:23 [0.15ms] */
select * from `party` where `party`.`id` = 58720 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 110 - 2024-12-10 11:50:23 [0.16ms] */
select * from `person` where `person`.`id` = 56198 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 111 - 2024-12-10 11:50:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 112 - 2024-12-10 11:50:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 113 - 2024-12-10 11:50:23 [0.12ms] */
select * from `model` where `model`.`id` = 1448 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 114 - 2024-12-10 11:50:23 [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 115 - 2024-12-10 11:50:23 [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 116 - 2024-12-10 11:50:23 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89889 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 117 - 2024-12-10 11:50:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2024-12-10 11:50:26 [1.98ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2024-12-10 11:50:26 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2024-12-10 11:50:26 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2024-12-10 11:50:26 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2024-12-10 11:50:26 [21.73ms] */
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` <= '2024-12-10 11:50:26' and `vehicle_tax`.`deleted_at` is null) 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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2024-12-10 11:50:26 [31.28ms] */
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` <= '2024-12-10 11:50:26' and `vehicle_tax`.`deleted_at` is null) 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 120;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2024-12-10 11:50:26 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89859 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 8 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89859 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 9 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party` where `party`.`id` = 58674 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 10 - 2024-12-10 11:50:26 [0.15ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2024-12-10 11:50:26 [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 12 - 2024-12-10 11:50:26 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2024-12-10 11:50:26 [0.14ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2024-12-10 11:50:26 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2024-12-10 11:50:26 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2024-12-10 11:50:26 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89859 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 17 - 2024-12-10 11:50:26 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 18 - 2024-12-10 11:50:26 [0.27ms] */
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 19 - 2024-12-10 11:50:26 [0.23ms] */
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 20 - 2024-12-10 11:50:26 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89858 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 21 - 2024-12-10 11:50:26 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 89858 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 22 - 2024-12-10 11:50:26 [0.26ms] */
select * from `party` where `party`.`id` = 58689 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 23 - 2024-12-10 11:50:26 [0.26ms] */
select * from `person` where `person`.`id` = 56168 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 24 - 2024-12-10 11:50:26 [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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 25 - 2024-12-10 11:50:26 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 26 - 2024-12-10 11:50:26 [0.27ms] */
select * from `model` where `model`.`id` = 3251 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 27 - 2024-12-10 11:50:26 [0.26ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 28 - 2024-12-10 11:50:26 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 29 - 2024-12-10 11:50:26 [0.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89858 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 30 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 31 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 32 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2024-12-10 11:50:26 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89856 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 34 - 2024-12-10 11:50:26 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89856 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 35 - 2024-12-10 11:50:26 [0.14ms] */
select * from `party` where `party`.`id` = 58687 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 36 - 2024-12-10 11:50:26 [0.15ms] */
select * from `person` where `person`.`id` = 56166 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 37 - 2024-12-10 11:50:26 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 38 - 2024-12-10 11:50:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 39 - 2024-12-10 11:50:26 [0.12ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 40 - 2024-12-10 11:50:26 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 41 - 2024-12-10 11:50:26 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 42 - 2024-12-10 11:50:26 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89856 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 43 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 44 - 2024-12-10 11:50:26 [0.12ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89854 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 45 - 2024-12-10 11:50:26 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89854 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 46 - 2024-12-10 11:50:26 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 47 - 2024-12-10 11:50:26 [0.14ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 48 - 2024-12-10 11:50:26 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 49 - 2024-12-10 11:50:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 50 - 2024-12-10 11:50:26 [0.13ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 51 - 2024-12-10 11:50:26 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 52 - 2024-12-10 11:50:26 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 53 - 2024-12-10 11:50:26 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89854 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 - 2024-12-10 11:50:26 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 55 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 56 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 57 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 58 - 2024-12-10 11:50:26 [0.14ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 59 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 60 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 61 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 63 - 2024-12-10 11:50:26 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 64 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 65 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2024-12-10 11:50:26 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89852 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 67 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89852 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 68 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 69 - 2024-12-10 11:50:26 [0.15ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 70 - 2024-12-10 11:50:26 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 71 - 2024-12-10 11:50:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 72 - 2024-12-10 11:50:26 [0.13ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 73 - 2024-12-10 11:50:26 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 74 - 2024-12-10 11:50:26 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 75 - 2024-12-10 11:50:26 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89852 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 76 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 77 - 2024-12-10 11:50:26 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89851 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 78 - 2024-12-10 11:50:26 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89851 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 79 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party` where `party`.`id` = 58682 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 80 - 2024-12-10 11:50:26 [0.15ms] */
select * from `person` where `person`.`id` = 56161 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 81 - 2024-12-10 11:50:26 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 82 - 2024-12-10 11:50:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 83 - 2024-12-10 11:50:26 [0.13ms] */
select * from `model` where `model`.`id` = 4334 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 84 - 2024-12-10 11:50:26 [0.12ms] */
select * from `make` where `make`.`id` = 1117 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 85 - 2024-12-10 11:50:26 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 3 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 86 - 2024-12-10 11:50:26 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89851 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 87 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 88 - 2024-12-10 11:50:26 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 89 - 2024-12-10 11:50:26 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89850 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 90 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89850 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 91 - 2024-12-10 11:50:26 [0.15ms] */
select * from `party` where `party`.`id` = 58681 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 92 - 2024-12-10 11:50:26 [0.15ms] */
select * from `person` where `person`.`id` = 56160 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 93 - 2024-12-10 11:50:26 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2024-12-10 11:50:26 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 95 - 2024-12-10 11:50:26 [0.13ms] */
select * from `model` where `model`.`id` = 2039 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 96 - 2024-12-10 11:50:26 [0.12ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 97 - 2024-12-10 11:50:26 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 98 - 2024-12-10 11:50:26 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89850 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 99 - 2024-12-10 11:50:26 [0.19ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 100 - 2024-12-10 11:50:26 [0.25ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 101 - 2024-12-10 11:50:26 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89848 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 102 - 2024-12-10 11:50:26 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 89848 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 103 - 2024-12-10 11:50:26 [0.25ms] */
select * from `party` where `party`.`id` = 58678 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 104 - 2024-12-10 11:50:26 [0.27ms] */
select * from `person` where `person`.`id` = 56157 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 105 - 2024-12-10 11:50:26 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 106 - 2024-12-10 11:50:26 [0.27ms] */
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 107 - 2024-12-10 11:50:26 [0.25ms] */
select * from `model` where `model`.`id` = 3591 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 108 - 2024-12-10 11:50:26 [0.23ms] */
select * from `make` where `make`.`id` = 185 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 109 - 2024-12-10 11:50:26 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 7 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 110 - 2024-12-10 11:50:26 [0.35ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89848 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 111 - 2024-12-10 11:50:26 [0.39ms] */
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 112 - 2024-12-10 11:50:26 [0.31ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 113 - 2024-12-10 11:50:26 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89846 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 114 - 2024-12-10 11:50:26 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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 115 - 2024-12-10 11:50:26 [0.27ms] */
select * from `party` where `party`.`id` = 58674 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 116 - 2024-12-10 11:50:26 [0.27ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 117 - 2024-12-10 11:50:26 [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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 118 - 2024-12-10 11:50:26 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 119 - 2024-12-10 11:50:26 [0.26ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 120 - 2024-12-10 11:50:26 [0.24ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 121 - 2024-12-10 11:50:26 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 122 - 2024-12-10 11:50:26 [0.68ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89846 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 123 - 2024-12-10 11:50:26 [0.22ms] */
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 124 - 2024-12-10 11:50:26 [0.23ms] */
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 125 - 2024-12-10 11:50:26 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 126 - 2024-12-10 11:50:26 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89845 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 127 - 2024-12-10 11:50:26 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 89845 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 128 - 2024-12-10 11:50:26 [0.22ms] */
select * from `party` where `party`.`id` = 58675 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 129 - 2024-12-10 11:50:26 [0.24ms] */
select * from `person` where `person`.`id` = 56154 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 130 - 2024-12-10 11:50:26 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 131 - 2024-12-10 11:50:26 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 132 - 2024-12-10 11:50:26 [0.2ms] */
select * from `model` where `model`.`id` = 3251 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 133 - 2024-12-10 11:50:26 [0.19ms] */
select * from `make` where `make`.`id` = 906 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 134 - 2024-12-10 11:50:26 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 135 - 2024-12-10 11:50:26 [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` = 89845 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' 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 136 - 2024-12-10 11:50:26 [0.21ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 137 - 2024-12-10 11:50:26 [0.22ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 138 - 2024-12-10 11:50:26 [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 1 - 2024-12-10 11:50:32 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2024-12-10 11:50:32 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2024-12-10 11:50:32 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2024-12-10 11:50:32 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 1 - 2024-12-10 11:50:32 [1.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 2 - 2024-12-10 11:50:32 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 3 - 2024-12-10 11:50:32 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 4 - 2024-12-10 11:50:32 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 5 - 2024-12-10 11:50:32 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 6 - 2024-12-10 11:50:32 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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/89846
   Query 7 - 2024-12-10 11:50:32 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89846 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 8 - 2024-12-10 11:50:32 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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/89846
   Query 9 - 2024-12-10 11:50:32 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 101205 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/89846
   Query 10 - 2024-12-10 11:50:32 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 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/89846
   Query 11 - 2024-12-10 11:50:32 [0.29ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 12 - 2024-12-10 11:50:32 [0.45ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 13 - 2024-12-10 11:50:32 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 14 - 2024-12-10 11:50:32 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 15 - 2024-12-10 11:50:32 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 16 - 2024-12-10 11:50:32 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 17 - 2024-12-10 11:50:32 [0.28ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 18 - 2024-12-10 11:50:32 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 19 - 2024-12-10 11:50:32 [1.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 20 - 2024-12-10 11:50:32 [0.55ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102685, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 21 - 2024-12-10 11:50:32 [0.31ms] */
select * from `term` where `year` = 2022 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 22 - 2024-12-10 11:50:32 [0.62ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '5MZ-101205-757', 89846, 89, 58674, 98545, 102685, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 23 - 2024-12-10 11:50:32 [0.31ms] */
select * from `vehicle_tax` where `id` = 99329 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 24 - 2024-12-10 11:50:32 [0.42ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"5MZ-101205-757","tax_sticker_id":null,"vehicle_id":89846,"term_id":89,"party_id":58674,"transaction_id":102685,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99329, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 25 - 2024-12-10 11:50:32 [0.41ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 26 - 2024-12-10 11:50:32 [0.91ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 27 - 2024-12-10 11:50:32 [0.26ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 28 - 2024-12-10 11:50:32 [0.29ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 29 - 2024-12-10 11:50:32 [0.48ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102685, '2022-03-10 00:00:00', '2021-12-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 30 - 2024-12-10 11:50:32 [0.27ms] */
select * from `invoice` where `id` = 102274 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 31 - 2024-12-10 11:50:32 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102685,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2022-03-10 00:00:00","due_date":"2021-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102274, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 32 - 2024-12-10 11:50:32 [0.35ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102274, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 33 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice_item` where `id` = 200235 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 34 - 2024-12-10 11:50:32 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102274}}', 5, 'App\Models\User', 200235, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 35 - 2024-12-10 11:50:32 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102274, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 36 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200236 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 37 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102274}}', 5, 'App\Models\User', 200236, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 38 - 2024-12-10 11:50:32 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102274 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 39 - 2024-12-10 11:50:32 [0.3ms] */
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` = 102274 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 40 - 2024-12-10 11:50:32 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102274 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 41 - 2024-12-10 11:50:32 [0.2ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102274;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 42 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice` where `id` = 102274 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 43 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102274, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 44 - 2024-12-10 11:50:32 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-258-102274112', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102274;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 45 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102274 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 46 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-258-102274112","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102274, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 47 - 2024-12-10 11:50:32 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99329, `invoice_id` = 102274, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102685;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 48 - 2024-12-10 11:50:32 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 49 - 2024-12-10 11:50:32 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 50 - 2024-12-10 11:50:32 [0.23ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 51 - 2024-12-10 11:50:32 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 52 - 2024-12-10 11:50:32 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 53 - 2024-12-10 11:50:32 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102686, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 54 - 2024-12-10 11:50:32 [0.2ms] */
select * from `term` where `year` = 2022 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 55 - 2024-12-10 11:50:32 [0.21ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'K8Y-101205-549', 89846, 90, 58674, 98545, 102686, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 56 - 2024-12-10 11:50:32 [0.18ms] */
select * from `vehicle_tax` where `id` = 99330 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 57 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"K8Y-101205-549","tax_sticker_id":null,"vehicle_id":89846,"term_id":90,"party_id":58674,"transaction_id":102686,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99330, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 58 - 2024-12-10 11:50:32 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 59 - 2024-12-10 11:50:32 [0.18ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 60 - 2024-12-10 11:50:32 [0.2ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 61 - 2024-12-10 11:50:32 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102686, '2022-03-10 00:00:00', '2022-03-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 62 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102275 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 63 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102686,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2022-03-10 00:00:00","due_date":"2022-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102275, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 64 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102275, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 65 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200237 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 66 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102275}}', 5, 'App\Models\User', 200237, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 67 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102275, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 68 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200238 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 69 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102275}}', 5, 'App\Models\User', 200238, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 70 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102275 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 71 - 2024-12-10 11:50:32 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102275 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 72 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102275 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 73 - 2024-12-10 11:50:32 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102275;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 74 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102275 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 75 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102275, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 76 - 2024-12-10 11:50:32 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-705-102275274', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102275;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 77 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102275 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 78 - 2024-12-10 11:50:32 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-705-102275274","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102275, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 79 - 2024-12-10 11:50:32 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99330, `invoice_id` = 102275, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102686;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 80 - 2024-12-10 11:50:32 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 81 - 2024-12-10 11:50:32 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 82 - 2024-12-10 11:50:32 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 83 - 2024-12-10 11:50:32 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 84 - 2024-12-10 11:50:32 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 85 - 2024-12-10 11:50:32 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102687, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 86 - 2024-12-10 11:50:32 [0.22ms] */
select * from `term` where `year` = 2022 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 87 - 2024-12-10 11:50:32 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'OYI-101205-746', 89846, 91, 58674, 98545, 102687, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 88 - 2024-12-10 11:50:32 [0.17ms] */
select * from `vehicle_tax` where `id` = 99331 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 89 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"OYI-101205-746","tax_sticker_id":null,"vehicle_id":89846,"term_id":91,"party_id":58674,"transaction_id":102687,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99331, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 90 - 2024-12-10 11:50:32 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 91 - 2024-12-10 11:50:32 [0.18ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 92 - 2024-12-10 11:50:32 [0.19ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 93 - 2024-12-10 11:50:32 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102687, '2022-06-01 00:00:00', '2022-06-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 94 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice` where `id` = 102276 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 95 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102687,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2022-06-01 00:00:00","due_date":"2022-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102276, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 96 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102276, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 97 - 2024-12-10 11:50:32 [0.16ms] */
select * from `invoice_item` where `id` = 200239 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 98 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102276}}', 5, 'App\Models\User', 200239, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 99 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102276, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 100 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200240 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 101 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102276}}', 5, 'App\Models\User', 200240, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 102 - 2024-12-10 11:50:32 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102276 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 103 - 2024-12-10 11:50:32 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102276 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 104 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102276 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 105 - 2024-12-10 11:50:32 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102276;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 106 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice` where `id` = 102276 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 107 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102276, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 108 - 2024-12-10 11:50:32 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-351-102276533', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102276;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 109 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102276 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 110 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-351-102276533","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102276, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 111 - 2024-12-10 11:50:32 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99331, `invoice_id` = 102276, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102687;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 112 - 2024-12-10 11:50:32 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 113 - 2024-12-10 11:50:32 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 114 - 2024-12-10 11:50:32 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 115 - 2024-12-10 11:50:32 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 116 - 2024-12-10 11:50:32 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 117 - 2024-12-10 11:50:32 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102688, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 118 - 2024-12-10 11:50:32 [0.2ms] */
select * from `term` where `year` = 2022 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 119 - 2024-12-10 11:50:32 [0.17ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'H0C-101205-825', 89846, 92, 58674, 98545, 102688, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 120 - 2024-12-10 11:50:32 [0.17ms] */
select * from `vehicle_tax` where `id` = 99332 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 121 - 2024-12-10 11:50:32 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"H0C-101205-825","tax_sticker_id":null,"vehicle_id":89846,"term_id":92,"party_id":58674,"transaction_id":102688,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99332, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 122 - 2024-12-10 11:50:32 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 123 - 2024-12-10 11:50:32 [0.17ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 124 - 2024-12-10 11:50:32 [0.19ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 125 - 2024-12-10 11:50:32 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102688, '2022-09-01 00:00:00', '2022-09-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 126 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice` where `id` = 102277 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 127 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102688,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2022-09-01 00:00:00","due_date":"2022-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102277, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 128 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102277, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 129 - 2024-12-10 11:50:32 [0.16ms] */
select * from `invoice_item` where `id` = 200241 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 130 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102277}}', 5, 'App\Models\User', 200241, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 131 - 2024-12-10 11:50:32 [0.14ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102277, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 132 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200242 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 133 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102277}}', 5, 'App\Models\User', 200242, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 134 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102277 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 135 - 2024-12-10 11:50:32 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102277 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 136 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102277 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 137 - 2024-12-10 11:50:32 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102277;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 138 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102277 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 139 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102277, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 140 - 2024-12-10 11:50:32 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-295-102277333', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102277;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 141 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102277 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 142 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-295-102277333","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102277, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 143 - 2024-12-10 11:50:32 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99332, `invoice_id` = 102277, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102688;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 144 - 2024-12-10 11:50:32 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 145 - 2024-12-10 11:50:32 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 146 - 2024-12-10 11:50:32 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 147 - 2024-12-10 11:50:32 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 148 - 2024-12-10 11:50:32 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 149 - 2024-12-10 11:50:32 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102689, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 150 - 2024-12-10 11:50:32 [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/89846
   Query 151 - 2024-12-10 11:50:32 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 152 - 2024-12-10 11:50:32 [0.21ms] */
select * from `term` where `year` = 2023 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 153 - 2024-12-10 11:50:32 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'MPE-101205-475', 89846, 93, 58674, 98545, 102689, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 154 - 2024-12-10 11:50:32 [0.17ms] */
select * from `vehicle_tax` where `id` = 99333 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 155 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"MPE-101205-475","tax_sticker_id":null,"vehicle_id":89846,"term_id":93,"party_id":58674,"transaction_id":102689,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99333, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 156 - 2024-12-10 11:50:32 [0.46ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 157 - 2024-12-10 11:50:32 [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/service/tax/start/89846
   Query 158 - 2024-12-10 11:50:32 [0.19ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 159 - 2024-12-10 11:50:32 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102689, '2022-12-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 160 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice` where `id` = 102278 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 161 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102689,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2022-12-01 00:00:00","due_date":"2022-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102278, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 162 - 2024-12-10 11:50:32 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly fee for 14 HP', 'Yearly fee for 14 HP', 1, 56.00, 56.00, 102278, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 163 - 2024-12-10 11:50:32 [0.16ms] */
select * from `invoice_item` where `id` = 200243 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 164 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly fee for 14 HP","description":"Yearly fee for 14 HP","unit_price":"56.00","quantity":1,"total_price":"56.00","invoice_id":102278}}', 5, 'App\Models\User', 200243, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 165 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Yearly Tax Service Fee', 1, 8.00, 8.00, 102278, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 166 - 2024-12-10 11:50:32 [0.16ms] */
select * from `invoice_item` where `id` = 200244 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 167 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102278}}', 5, 'App\Models\User', 200244, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 168 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102278 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 169 - 2024-12-10 11:50:32 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102278 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 170 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102278 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 171 - 2024-12-10 11:50:32 [0.19ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 64, `discounts` = 0, `total_invoice_amount` = 64, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102278;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 172 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice` where `id` = 102278 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 173 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102278, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 174 - 2024-12-10 11:50:32 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-322-102278641', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102278;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 175 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102278 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 176 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00","invoice_number":"INV-322-102278641","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102278, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 177 - 2024-12-10 11:50:32 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99333, `invoice_id` = 102278, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102689;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 178 - 2024-12-10 11:50:32 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 179 - 2024-12-10 11:50:32 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 180 - 2024-12-10 11:50:32 [0.42ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 181 - 2024-12-10 11:50:32 [0.4ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 182 - 2024-12-10 11:50:32 [0.48ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 183 - 2024-12-10 11:50:32 [0.34ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102690, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 184 - 2024-12-10 11:50:32 [0.4ms] */
select * from `term` where `year` = 2023 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 185 - 2024-12-10 11:50:32 [0.59ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'P1D-101205-566', 89846, 94, 58674, 98545, 102690, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 186 - 2024-12-10 11:50:32 [0.35ms] */
select * from `vehicle_tax` where `id` = 99334 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 187 - 2024-12-10 11:50:32 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"P1D-101205-566","tax_sticker_id":null,"vehicle_id":89846,"term_id":94,"party_id":58674,"transaction_id":102690,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99334, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 188 - 2024-12-10 11:50:32 [0.43ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 189 - 2024-12-10 11:50:32 [0.34ms] */
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/89846
   Query 190 - 2024-12-10 11:50:32 [0.28ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 191 - 2024-12-10 11:50:32 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102690, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 192 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102279 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 193 - 2024-12-10 11:50:32 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102690,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2023-03-01 00:00:00","due_date":"2023-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102279, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 194 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102279, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 195 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200245 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 196 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102279}}', 5, 'App\Models\User', 200245, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 197 - 2024-12-10 11:50:32 [0.14ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102279, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 198 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200246 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 199 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102279}}', 5, 'App\Models\User', 200246, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 200 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102279 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 201 - 2024-12-10 11:50:32 [0.27ms] */
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` = 102279 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 202 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102279 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 203 - 2024-12-10 11:50:32 [0.19ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102279;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 204 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102279 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 205 - 2024-12-10 11:50:32 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102279, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 206 - 2024-12-10 11:50:32 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-227-102279903', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102279;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 207 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102279 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 208 - 2024-12-10 11:50:32 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-227-102279903","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102279, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 209 - 2024-12-10 11:50:32 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99334, `invoice_id` = 102279, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102690;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 210 - 2024-12-10 11:50:32 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 211 - 2024-12-10 11:50:32 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 212 - 2024-12-10 11:50:32 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 213 - 2024-12-10 11:50:32 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 214 - 2024-12-10 11:50:32 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 215 - 2024-12-10 11:50:32 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102691, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 216 - 2024-12-10 11:50:32 [0.2ms] */
select * from `term` where `year` = 2023 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 217 - 2024-12-10 11:50:32 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'GN0-101205-270', 89846, 95, 58674, 98545, 102691, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 218 - 2024-12-10 11:50:32 [0.18ms] */
select * from `vehicle_tax` where `id` = 99335 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 219 - 2024-12-10 11:50:32 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"GN0-101205-270","tax_sticker_id":null,"vehicle_id":89846,"term_id":95,"party_id":58674,"transaction_id":102691,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99335, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 220 - 2024-12-10 11:50:32 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 221 - 2024-12-10 11:50:32 [0.17ms] */
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/89846
   Query 222 - 2024-12-10 11:50:32 [0.2ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 223 - 2024-12-10 11:50:32 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102691, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 224 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102280 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 225 - 2024-12-10 11:50:32 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102691,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2023-06-01 00:00:00","due_date":"2023-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102280, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 226 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102280, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 227 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice_item` where `id` = 200247 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 228 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102280}}', 5, 'App\Models\User', 200247, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 229 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102280, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 230 - 2024-12-10 11:50:32 [0.16ms] */
select * from `invoice_item` where `id` = 200248 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 231 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102280}}', 5, 'App\Models\User', 200248, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 232 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102280 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 233 - 2024-12-10 11:50:32 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102280 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 234 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102280 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 235 - 2024-12-10 11:50:32 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102280;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 236 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102280 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 237 - 2024-12-10 11:50:32 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102280, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 238 - 2024-12-10 11:50:32 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-228-102280336', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102280;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 239 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice` where `id` = 102280 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 240 - 2024-12-10 11:50:32 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-228-102280336","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102280, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 241 - 2024-12-10 11:50:32 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99335, `invoice_id` = 102280, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102691;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 242 - 2024-12-10 11:50:32 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 243 - 2024-12-10 11:50:32 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 244 - 2024-12-10 11:50:32 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 245 - 2024-12-10 11:50:32 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 246 - 2024-12-10 11:50:32 [0.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 247 - 2024-12-10 11:50:32 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102692, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 248 - 2024-12-10 11:50:32 [0.22ms] */
select * from `term` where `year` = 2023 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 249 - 2024-12-10 11:50:32 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'AUS-101205-741', 89846, 96, 58674, 98545, 102692, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 250 - 2024-12-10 11:50:32 [0.17ms] */
select * from `vehicle_tax` where `id` = 99336 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 251 - 2024-12-10 11:50:32 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"AUS-101205-741","tax_sticker_id":null,"vehicle_id":89846,"term_id":96,"party_id":58674,"transaction_id":102692,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99336, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 252 - 2024-12-10 11:50:32 [0.43ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 253 - 2024-12-10 11:50:32 [0.34ms] */
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/89846
   Query 254 - 2024-12-10 11:50:32 [0.29ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 255 - 2024-12-10 11:50:32 [0.29ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102692, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 256 - 2024-12-10 11:50:32 [0.28ms] */
select * from `invoice` where `id` = 102281 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 257 - 2024-12-10 11:50:32 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102692,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2023-09-01 00:00:00","due_date":"2023-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102281, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 258 - 2024-12-10 11:50:32 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 102281, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 259 - 2024-12-10 11:50:32 [0.26ms] */
select * from `invoice_item` where `id` = 200249 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 260 - 2024-12-10 11:50:32 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":102281}}', 5, 'App\Models\User', 200249, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 261 - 2024-12-10 11:50:32 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 102281, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 262 - 2024-12-10 11:50:32 [0.27ms] */
select * from `invoice_item` where `id` = 200250 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 263 - 2024-12-10 11:50:32 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102281}}', 5, 'App\Models\User', 200250, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 264 - 2024-12-10 11:50:32 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 102281 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 265 - 2024-12-10 11:50:32 [0.36ms] */
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` = 102281 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 266 - 2024-12-10 11:50:32 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102281 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 267 - 2024-12-10 11:50:32 [0.27ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102281;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 268 - 2024-12-10 11:50:32 [0.28ms] */
select * from `invoice` where `id` = 102281 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 269 - 2024-12-10 11:50:32 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102281, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 270 - 2024-12-10 11:50:32 [0.25ms] */
update `invoice` set `invoice_number` = 'INV-459-102281653', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102281;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 271 - 2024-12-10 11:50:32 [5.21ms] */
select * from `invoice` where `id` = 102281 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 272 - 2024-12-10 11:50:32 [0.39ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-459-102281653","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102281, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 273 - 2024-12-10 11:50:32 [0.39ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99336, `invoice_id` = 102281, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102692;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 274 - 2024-12-10 11:50:32 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 275 - 2024-12-10 11:50:32 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 276 - 2024-12-10 11:50:32 [0.35ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 277 - 2024-12-10 11:50:32 [0.37ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 278 - 2024-12-10 11:50:32 [0.26ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58674, 2, 89846, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 279 - 2024-12-10 11:50:32 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102693, 'INITIATED', '2024-12-10 11:50:32', 5, 5, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 280 - 2024-12-10 11:50:32 [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/89846
   Query 281 - 2024-12-10 11:50:32 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 282 - 2024-12-10 11:50:32 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 283 - 2024-12-10 11:50:32 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'J7W-101205-575', 89846, 97, 58674, 98545, 102693, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 284 - 2024-12-10 11:50:32 [0.17ms] */
select * from `vehicle_tax` where `id` = 99337 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 285 - 2024-12-10 11:50:32 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"J7W-101205-575","tax_sticker_id":null,"vehicle_id":89846,"term_id":97,"party_id":58674,"transaction_id":102693,"party_vehicle_id":98545,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 99337, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 286 - 2024-12-10 11:50:32 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 287 - 2024-12-10 11:50:32 [0.19ms] */
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/89846
   Query 288 - 2024-12-10 11:50:32 [0.19ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 289 - 2024-12-10 11:50:32 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102693, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 58674, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 290 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice` where `id` = 102282 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 291 - 2024-12-10 11:50:32 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102693,"party_id":58674,"invoice_amount":"0.00","invoice_date":"2023-12-01 00:00:00","due_date":"2023-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 102282, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 292 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly fee for 14 HP', 'Yearly fee for 14 HP', 1, 56.00, 56.00, 102282, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 293 - 2024-12-10 11:50:32 [0.17ms] */
select * from `invoice_item` where `id` = 200251 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 294 - 2024-12-10 11:50:32 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly fee for 14 HP","description":"Yearly fee for 14 HP","unit_price":"56.00","quantity":1,"total_price":"56.00","invoice_id":102282}}', 5, 'App\Models\User', 200251, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 295 - 2024-12-10 11:50:32 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Yearly Tax Service Fee', 1, 8.00, 8.00, 102282, 5, 5, '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 296 - 2024-12-10 11:50:32 [0.18ms] */
select * from `invoice_item` where `id` = 200252 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 297 - 2024-12-10 11:50:32 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102282}}', 5, 'App\Models\User', 200252, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 298 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 299 - 2024-12-10 11:50:32 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102282 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 300 - 2024-12-10 11:50:32 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102282 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 301 - 2024-12-10 11:50:32 [0.18ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 64, `discounts` = 0, `total_invoice_amount` = 64, `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102282;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 302 - 2024-12-10 11:50:32 [0.19ms] */
select * from `invoice` where `id` = 102282 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 303 - 2024-12-10 11:50:32 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 102282, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 304 - 2024-12-10 11:50:32 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-451-102282938', `invoice`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102282;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 305 - 2024-12-10 11:50:32 [0.34ms] */
select * from `invoice` where `id` = 102282 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 306 - 2024-12-10 11:50:32 [0.43ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00","invoice_number":"INV-451-102282938","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 102282, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-10 11:50:32', '2024-12-10 11:50:32');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 307 - 2024-12-10 11:50:32 [0.4ms] */
update `transaction` set `party_vehicle_id` = 98545, `vehicle_tax_id` = 99337, `invoice_id` = 102282, `transaction`.`updated_at` = '2024-12-10 11:50:32' where `id` = 102693;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 308 - 2024-12-10 11:50:32 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 309 - 2024-12-10 11:50:32 [2.92ms] */
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/89846
   Query 310 - 2024-12-10 11:50:32 [0.37ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 311 - 2024-12-10 11:50:32 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 312 - 2024-12-10 11:50:32 [2.88ms] */
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/89846
   Query 313 - 2024-12-10 11:50:32 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 314 - 2024-12-10 11:50:32 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 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/89846
   Query 315 - 2024-12-10 11:50:32 [2.66ms] */
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/89846
   Query 316 - 2024-12-10 11:50:32 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 317 - 2024-12-10 11:50:32 [0.47ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89846 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 318 - 2024-12-10 11:50:32 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89846 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 319 - 2024-12-10 11:50:32 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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/89846
   Query 320 - 2024-12-10 11:50:32 [0.15ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 321 - 2024-12-10 11:50:32 [0.54ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 322 - 2024-12-10 11:50:32 [0.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` = 89846 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 323 - 2024-12-10 11:50:32 [0.53ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89846 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 324 - 2024-12-10 11:50:32 [0.8ms] */
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 (98516, 98517, 98518, 99329, 99330, 99331, 99332, 99333, 99334, 99335, 99336, 99337) 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/89846
   Query 325 - 2024-12-10 11:50:32 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 326 - 2024-12-10 11:50:32 [0.22ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 327 - 2024-12-10 11:50:32 [0.23ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 328 - 2024-12-10 11:50:32 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 329 - 2024-12-10 11:50:32 [0.55ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89846 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 330 - 2024-12-10 11:50:32 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 331 - 2024-12-10 11:50:32 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 332 - 2024-12-10 11:50:32 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 6 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 333 - 2024-12-10 11:50:32 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 334 - 2024-12-10 11:50:32 [0.37ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 335 - 2024-12-10 11:50:32 [0.16ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 336 - 2024-12-10 11:50:32 [28.42ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56153 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/89846
   Query 337 - 2024-12-10 11:50:32 [0.56ms] */
select * from `address` where `address`.`id` = 58674 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/89846
   Query 338 - 2024-12-10 11:50:32 [0.31ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 339 - 2024-12-10 11:50:32 [0.21ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 340 - 2024-12-10 11:50:32 [0.78ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 341 - 2024-12-10 11:50:32 [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/89846
   Query 342 - 2024-12-10 11:50:32 [0.21ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 343 - 2024-12-10 11:50:32 [0.19ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 344 - 2024-12-10 11:50:32 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 345 - 2024-12-10 11:50:32 [0.43ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 346 - 2024-12-10 11:50:32 [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/89846
   Query 347 - 2024-12-10 11:50:32 [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/89846
   Query 348 - 2024-12-10 11:50:32 [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/89846
   Query 349 - 2024-12-10 11:50:32 [0.43ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 350 - 2024-12-10 11:50:32 [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/89846
   Query 351 - 2024-12-10 11:50:32 [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/89846
   Query 352 - 2024-12-10 11:50:32 [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/89846
   Query 353 - 2024-12-10 11:50:32 [0.31ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 354 - 2024-12-10 11:50:32 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 102685 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/89846
   Query 355 - 2024-12-10 11:50:32 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 102274 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/89846
   Query 356 - 2024-12-10 11:50:32 [0.13ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 357 - 2024-12-10 11:50:32 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 102686 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/89846
   Query 358 - 2024-12-10 11:50:32 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 102275 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/89846
   Query 359 - 2024-12-10 11:50:32 [0.13ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 360 - 2024-12-10 11:50:32 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102687 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/89846
   Query 361 - 2024-12-10 11:50:32 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 102276 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/89846
   Query 362 - 2024-12-10 11:50:32 [0.17ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 363 - 2024-12-10 11:50:32 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102688 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/89846
   Query 364 - 2024-12-10 11:50:32 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 102277 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/89846
   Query 365 - 2024-12-10 11:50:32 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 366 - 2024-12-10 11:50:32 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102689 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/89846
   Query 367 - 2024-12-10 11:50:32 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 102278 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/89846
   Query 368 - 2024-12-10 11:50:32 [0.13ms] */
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/89846
   Query 369 - 2024-12-10 11:50:32 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102690 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/89846
   Query 370 - 2024-12-10 11:50:32 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 102279 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/89846
   Query 371 - 2024-12-10 11:50:32 [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/89846
   Query 372 - 2024-12-10 11:50:32 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 102691 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/89846
   Query 373 - 2024-12-10 11:50:32 [0.63ms] */
select * from `invoice` where `invoice`.`id` = 102280 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/89846
   Query 374 - 2024-12-10 11:50:32 [0.23ms] */
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/89846
   Query 375 - 2024-12-10 11:50:32 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 102692 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/89846
   Query 376 - 2024-12-10 11:50:32 [0.57ms] */
select * from `invoice` where `invoice`.`id` = 102281 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/89846
   Query 377 - 2024-12-10 11:50:32 [0.4ms] */
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/89846
   Query 378 - 2024-12-10 11:50:32 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 102693 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/89846
   Query 379 - 2024-12-10 11:50:32 [0.43ms] */
select * from `invoice` where `invoice`.`id` = 102282 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/89846
   Query 380 - 2024-12-10 11:50:32 [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/start/89846
   Query 381 - 2024-12-10 11:50:32 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 101195 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/89846
   Query 382 - 2024-12-10 11:50:32 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 100934 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/89846
   Query 383 - 2024-12-10 11:50:32 [0.2ms] */
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/89846
   Query 384 - 2024-12-10 11:50:32 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 101196 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/89846
   Query 385 - 2024-12-10 11:50:32 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 100935 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/89846
   Query 386 - 2024-12-10 11:50:32 [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/start/89846
   Query 387 - 2024-12-10 11:50:32 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 101197 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/89846
   Query 388 - 2024-12-10 11:50:32 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 100936 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/89846
   Query 389 - 2024-12-10 11:50:32 [0.28ms] */
(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/89846
   Query 390 - 2024-12-10 11:50:32 [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/service/tax/start/89846
   Query 391 - 2024-12-10 11:50:32 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 392 - 2024-12-10 11:50:32 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 393 - 2024-12-10 11:50:32 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 394 - 2024-12-10 11:50:32 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 395 - 2024-12-10 11:50:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 396 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 397 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 398 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 399 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 400 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 401 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 402 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 403 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 404 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 405 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 406 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 407 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 408 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 409 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 410 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 411 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 412 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 413 - 2024-12-10 11:50: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/service/tax/start/89846
   Query 414 - 2024-12-10 11:50:33 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89846
   Query 415 - 2024-12-10 11:50:33 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2024-12-10 11:50:38 [1.38ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2024-12-10 11:50:38 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2024-12-10 11:50:38 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2024-12-10 11:50:38 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2024-12-10 11:50:38 [0.4ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (99329, 99330, 99331, 99332, 99333, 99334, 99335, 99336, 99337, 98516, 98517, 98518);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2024-12-10 11:50:38 [0.24ms] */
select * from `term` where `term`.`id` in (89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2024-12-10 11:50:38 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (101195, 101196, 101197, 102685, 102686, 102687, 102688, 102689, 102690, 102691, 102692, 102693) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2024-12-10 11:50:38 [0.28ms] */
select * from `invoice` where `invoice`.`id` in (100934, 100935, 100936, 102274, 102275, 102276, 102277, 102278, 102279, 102280, 102281, 102282) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2024-12-10 11:50:38 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98545 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2024-12-10 11:50:38 [0.2ms] */
select * from `party` where `party`.`id` in (58674) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2024-12-10 11:50:38 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` in (89846) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2024-12-10 11:50:38 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2024-12-10 11:50:38 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2024-12-10 11:50:38 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2024-12-10 11:50:38 [0.18ms] */
select * from `service_fee` where (`sub_category_id` = 4 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2024-12-10 11:50:38 [0.13ms] */
select `id` from `term` where `quarter` = 1 and `year` >= 2024 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2024-12-10 11:50:38 [0.12ms] */
select `id` from `term` where `quarter` != 1 and `year` >= 2024 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2024-12-10 11:50:38 [0.33ms] */
select * from `vehicle_tax` where `vehicle_id` = 89846 and `term_id` in (97, 101) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2024-12-10 11:50:38 [0.13ms] */
select * from `term` where `term`.`id` = 101 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2024-12-10 11:50:38 [0.11ms] */
select `id` from `term` where `year` = 2099 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2024-12-10 11:50:38 [0.26ms] */
select * from `vehicle_tax` where `vehicle_id` = 89846 and `term_id` in (98, 99, 100) and `term_id` not in (101) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2024-12-10 11:50:38 [0.26ms] */
select * from `vehicle_tax` where `vehicle_id` = 89846 and `term_id` in (101) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2024-12-10 11:50:38 [0.13ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2024-12-10 11:50:38 [0.35ms] */
select * from `transaction` where `service_id` = 7 and `vehicle_id` = 89846 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2024-12-10 11:50:38 [0.23ms] */
select * from `vehicle_tax` where `vehicle_id` = 89846 and `vehicle_tax`.`deleted_at` is null order by `created_at` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2024-12-10 11:50:38 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2024-12-10 11:50:38 [0.12ms] */
select `id` from `term` where `year` = 2024 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 28 - 2024-12-10 11:50:38 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 101195 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 29 - 2024-12-10 11:50:38 [0.2ms] */
select * from `invoice` where `id` = 100934 and `migration_id` is null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 30 - 2024-12-10 11:50:38 [0.13ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 31 - 2024-12-10 11:50:38 [0.25ms] */
select * from `vehicle_tax` where `vehicle_id` = 89846 and `term_id` in (97, 98, 99, 100) and `status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 32 - 2024-12-10 11:50:38 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98516 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 33 - 2024-12-10 11:50:38 [6.31ms] */
update `vehicle_tax` set `category` = 'FirstTime', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-10 11:50:38' where `id` = 98516;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 34 - 2024-12-10 11:50:38 [0.23ms] */
select * from `vehicle_tax` where `id` = 98516 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 35 - 2024-12-10 11:50:38 [3.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 98516, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-10 11:50:38', '2024-12-10 11:50:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 36 - 2024-12-10 11:50:38 [0.36ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98517 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 37 - 2024-12-10 11:50:38 [4.68ms] */
update `vehicle_tax` set `category` = 'FirstTime', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-10 11:50:38' where `id` = 98517;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 38 - 2024-12-10 11:50:38 [0.45ms] */
select * from `vehicle_tax` where `id` = 98517 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 39 - 2024-12-10 11:50:38 [3.82ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 98517, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-10 11:50:38', '2024-12-10 11:50:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 40 - 2024-12-10 11:50:38 [0.45ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98518 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 41 - 2024-12-10 11:50:38 [3.53ms] */
update `vehicle_tax` set `category` = 'FirstTime', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-10 11:50:38' where `id` = 98518;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 42 - 2024-12-10 11:50:38 [0.41ms] */
select * from `vehicle_tax` where `id` = 98518 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 43 - 2024-12-10 11:50:38 [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":[],"old":[]}', 5, 'App\Models\User', 98518, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-10 11:50:38', '2024-12-10 11:50:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 44 - 2024-12-10 11:50:38 [0.33ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99337 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 45 - 2024-12-10 11:50:38 [2.91ms] */
update `vehicle_tax` set `category` = 'FirstTime', `vehicle_tax`.`updated_at` = '2024-12-10 11:50:38' where `id` = 99337;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 46 - 2024-12-10 11:50:38 [0.32ms] */
select * from `vehicle_tax` where `id` = 99337 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 47 - 2024-12-10 11:50:38 [3.12ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 99337, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-10 11:50:38', '2024-12-10 11:50:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 48 - 2024-12-10 11:50:38 [0.33ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99337 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 49 - 2024-12-10 11:50:38 [0.39ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98516 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 50 - 2024-12-10 11:50:38 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98517 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 51 - 2024-12-10 11:50:38 [0.3ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 98518 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 52 - 2024-12-10 11:50:38 [6.61ms] */
update `vehicle` set `tax_category` = 'Yearly', `updated_by` = 5, `vehicle`.`updated_at` = '2024-12-10 11:50:38' where `id` = 89846;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 53 - 2024-12-10 11:50:38 [0.37ms] */
select * from `vehicle` where `id` = 89846 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 54 - 2024-12-10 11:50:38 [3.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 89846, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2024-12-10 11:50:38', '2024-12-10 11:50:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 55 - 2024-12-10 11:50:38 [3.18ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"tax_category":"Quarterly","updated_by":103}', '{"tax_category":"Yearly","updated_by":5}', 'updated', 89846, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '103.208.230.234', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/service.tax-component', '2024-12-10 11:50:38', '2024-12-10 11:50:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 56 - 2024-12-10 11:50:38 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 57 - 2024-12-10 11:50:38 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89846 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 58 - 2024-12-10 11:50:38 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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-component
   Query 59 - 2024-12-10 11:50:38 [0.5ms] */
select * from `transaction` where `transaction`.`id` = 101205 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 60 - 2024-12-10 11:50:38 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 61 - 2024-12-10 11:50:38 [0.16ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 62 - 2024-12-10 11:50:38 [0.18ms] */
select * from `party` where `party`.`id` = 58674 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-component
   Query 63 - 2024-12-10 11:50:38 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 64 - 2024-12-10 11:50:38 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 65 - 2024-12-10 11:50:39 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 66 - 2024-12-10 11:50:39 [2.92ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 67 - 2024-12-10 11:50:39 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 68 - 2024-12-10 11:50:39 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 69 - 2024-12-10 11:50:39 [0.15ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 70 - 2024-12-10 11:50:39 [0.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 71 - 2024-12-10 11:50:39 [0.32ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 72 - 2024-12-10 11:50:39 [0.17ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 73 - 2024-12-10 11:50:39 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 74 - 2024-12-10 11:50:39 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 75 - 2024-12-10 11:50:39 [0.16ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 76 - 2024-12-10 11:50:39 [0.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 77 - 2024-12-10 11:50:39 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 78 - 2024-12-10 11:50:39 [0.14ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 79 - 2024-12-10 11:50:39 [0.32ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 80 - 2024-12-10 11:50:39 [0.34ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 81 - 2024-12-10 11:50:39 [0.15ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 82 - 2024-12-10 11:50:39 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 83 - 2024-12-10 11:50:39 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 84 - 2024-12-10 11:50:39 [0.14ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 85 - 2024-12-10 11:50:39 [0.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 86 - 2024-12-10 11:50:39 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 87 - 2024-12-10 11:50:39 [0.15ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 88 - 2024-12-10 11:50:39 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 89 - 2024-12-10 11:50:39 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 90 - 2024-12-10 11:50:39 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 91 - 2024-12-10 11:50:39 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 92 - 2024-12-10 11:50:39 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 93 - 2024-12-10 11:50:39 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 94 - 2024-12-10 11:50:39 [0.14ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 95 - 2024-12-10 11:50:39 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 96 - 2024-12-10 11:50:39 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 97 - 2024-12-10 11:50:39 [0.14ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 98 - 2024-12-10 11:50:39 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 99 - 2024-12-10 11:50:39 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 100 - 2024-12-10 11:50:39 [0.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89846 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 101 - 2024-12-10 11:50:39 [0.27ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89846 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 102 - 2024-12-10 11:50:39 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89846 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 103 - 2024-12-10 11:50:39 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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-component
   Query 104 - 2024-12-10 11:50:39 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 105 - 2024-12-10 11:50:39 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 89846 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 106 - 2024-12-10 11:50:39 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89846 and `term`.`year` <= 2024 and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 107 - 2024-12-10 11:50:39 [0.22ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89846 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 108 - 2024-12-10 11:50:39 [0.31ms] */
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 (98516, 98517, 98518, 99329, 99330, 99331, 99332, 99333, 99334, 99335, 99336, 99337) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 109 - 2024-12-10 11:50:39 [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-component
   Query 110 - 2024-12-10 11:50:39 [0.16ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 111 - 2024-12-10 11:50:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102685 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 112 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102274 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 113 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 114 - 2024-12-10 11:50:39 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102686 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 115 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102275 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 116 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 117 - 2024-12-10 11:50:39 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102687 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 118 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102276 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 119 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 120 - 2024-12-10 11:50:39 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102688 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 121 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102277 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 122 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 123 - 2024-12-10 11:50:39 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102689 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 124 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102278 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 125 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 126 - 2024-12-10 11:50:39 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102690 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 127 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102279 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 128 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 129 - 2024-12-10 11:50:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102691 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 130 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102280 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 131 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 132 - 2024-12-10 11:50:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102692 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 133 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102281 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 134 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 135 - 2024-12-10 11:50:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102693 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 136 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102282 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 137 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 138 - 2024-12-10 11:50:39 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 101195 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 139 - 2024-12-10 11:50:39 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 100934 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 140 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 141 - 2024-12-10 11:50:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 101196 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 142 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 100935 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 143 - 2024-12-10 11:50:39 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 144 - 2024-12-10 11:50:39 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 101197 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 145 - 2024-12-10 11:50:39 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 100936 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 146 - 2024-12-10 11:50:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 147 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 148 - 2024-12-10 11:50:39 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 149 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 150 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 151 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 152 - 2024-12-10 11:50:39 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 153 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 154 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 155 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 156 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 157 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 158 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 159 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 160 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 161 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 162 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 163 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 164 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 165 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 166 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 167 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 168 - 2024-12-10 11:50:39 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 169 - 2024-12-10 11:50:39 [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/list
   Query 1 - 2024-12-10 11:50:44 [1.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 2 - 2024-12-10 11:50:44 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 3 - 2024-12-10 11:50:44 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 4 - 2024-12-10 11:50:45 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2024-12-10 11:50:45 [21.72ms] */
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` <= '2024-12-10 11:50:45' and `vehicle_tax`.`deleted_at` is null) 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
   Query 6 - 2024-12-10 11:50:45 [21.19ms] */
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` <= '2024-12-10 11:50:45' and `vehicle_tax`.`deleted_at` is null) 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 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 7 - 2024-12-10 11:50:45 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89846 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 8 - 2024-12-10 11:50:45 [0.4ms] */
select * from `party_vehicle` where `vehicle_id` = 89846 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
   Query 9 - 2024-12-10 11:50:45 [0.29ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 10 - 2024-12-10 11:50:45 [0.31ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 11 - 2024-12-10 11:50:45 [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
   Query 12 - 2024-12-10 11:50:45 [0.28ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 13 - 2024-12-10 11:50:45 [0.3ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 14 - 2024-12-10 11:50:45 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 15 - 2024-12-10 11:50:45 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 16 - 2024-12-10 11:50:45 [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` = 89846 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 17 - 2024-12-10 11:50:45 [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/service/tax/list
   Query 18 - 2024-12-10 11:50:45 [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/list
   Query 19 - 2024-12-10 11:50:45 [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
   Query 20 - 2024-12-10 11:50:45 [0.13ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 21 - 2024-12-10 11:50:45 [0.13ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 22 - 2024-12-10 11:50:45 [0.13ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 23 - 2024-12-10 11:50:45 [0.15ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 24 - 2024-12-10 11:50:45 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 25 - 2024-12-10 11:50:45 [0.12ms] */
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
   Query 26 - 2024-12-10 11:50:45 [0.12ms] */
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
   Query 27 - 2024-12-10 11:50:45 [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
   Query 28 - 2024-12-10 11:50:45 [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/service/tax/list
   Query 29 - 2024-12-10 11:50:45 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1389 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 30 - 2024-12-10 11:50:45 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 1389 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 31 - 2024-12-10 11:50:45 [0.14ms] */
select * from `party` where `party`.`id` = 17194 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
   Query 32 - 2024-12-10 11:50:45 [0.15ms] */
select * from `person` where `person`.`id` = 17194 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 33 - 2024-12-10 11:50:45 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 34 - 2024-12-10 11:50:45 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 19 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 35 - 2024-12-10 11:50:45 [0.24ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 36 - 2024-12-10 11:50:45 [0.3ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 37 - 2024-12-10 11:50:45 [0.25ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 38 - 2024-12-10 11:50:45 [0.76ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1389 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 39 - 2024-12-10 11:50:45 [0.26ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 40 - 2024-12-10 11:50:45 [0.24ms] */
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
   Query 41 - 2024-12-10 11:50:45 [0.25ms] */
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
   Query 42 - 2024-12-10 11:50:45 [0.24ms] */
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
   Query 43 - 2024-12-10 11:50:45 [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
   Query 44 - 2024-12-10 11:50:45 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 45 - 2024-12-10 11:50:45 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 71 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 46 - 2024-12-10 11:50:45 [0.27ms] */
select * from `party` where `party`.`id` = 27057 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 47 - 2024-12-10 11:50:45 [0.29ms] */
select * from `person` where `person`.`id` = 27057 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 48 - 2024-12-10 11:50:45 [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
   Query 49 - 2024-12-10 11:50:45 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 50 - 2024-12-10 11:50:45 [0.25ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 51 - 2024-12-10 11:50:45 [0.24ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 52 - 2024-12-10 11:50:45 [0.25ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 53 - 2024-12-10 11:50:45 [0.66ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 71 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 54 - 2024-12-10 11:50:45 [0.27ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 55 - 2024-12-10 11:50:45 [0.24ms] */
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
   Query 56 - 2024-12-10 11:50:45 [0.24ms] */
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
   Query 57 - 2024-12-10 11:50:45 [0.24ms] */
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
   Query 58 - 2024-12-10 11:50:45 [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
   Query 59 - 2024-12-10 11:50:45 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 34 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 60 - 2024-12-10 11:50:45 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 34 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 61 - 2024-12-10 11:50:45 [0.14ms] */
select * from `party` where `party`.`id` = 27081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 62 - 2024-12-10 11:50:45 [0.14ms] */
select * from `person` where `person`.`id` = 27081 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 63 - 2024-12-10 11:50:45 [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
   Query 64 - 2024-12-10 11:50:45 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 65 - 2024-12-10 11:50:45 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 66 - 2024-12-10 11:50:45 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 67 - 2024-12-10 11:50:45 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 68 - 2024-12-10 11:50:45 [0.32ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 34 and date(`term`.`first_date_of_quarter`) <= '2024-12-10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 69 - 2024-12-10 11:50:45 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2024-12-10 11:50:45 [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
   Query 71 - 2024-12-10 11:50:45 [0.12ms] */
