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 67 - 2024-12-14 09:28:22 [0.2ms] */
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 68 - 2024-12-14 09:28:22 [0.41ms] */
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 69 - 2024-12-14 09:28:22 [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): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2024-12-14 09:28:22 [0.28ms] */
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 71 - 2024-12-14 09:28:22 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 72 - 2024-12-14 09:28:22 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 73 - 2024-12-14 09:28:22 [0.21ms] */
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 74 - 2024-12-14 09:28:22 [0.2ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 75 - 2024-12-14 09:28:22 [0.19ms] */
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 76 - 2024-12-14 09:28:22 [0.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89846 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 77 - 2024-12-14 09:28:22 [0.21ms] */
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 78 - 2024-12-14 09:28:22 [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/list
   Query 79 - 2024-12-14 09:28:22 [0.22ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 80 - 2024-12-14 09:28:22 [0.19ms] */
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 81 - 2024-12-14 09:28:22 [0.19ms] */
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 82 - 2024-12-14 09:28:22 [0.19ms] */
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 83 - 2024-12-14 09:28:22 [0.2ms] */
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 84 - 2024-12-14 09:28:22 [0.2ms] */
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 85 - 2024-12-14 09:28:22 [0.19ms] */
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 86 - 2024-12-14 09:28:22 [0.22ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 87 - 2024-12-14 09:28:22 [0.19ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 88 - 2024-12-14 09:28:22 [0.22ms] */
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 89 - 2024-12-14 09:28:22 [0.35ms] */
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 90 - 2024-12-14 09:28:22 [0.39ms] */
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 91 - 2024-12-14 09:28:22 [0.36ms] */
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 92 - 2024-12-14 09:28:22 [0.43ms] */
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 93 - 2024-12-14 09:28:22 [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 94 - 2024-12-14 09:28:22 [0.18ms] */
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 95 - 2024-12-14 09:28:22 [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 96 - 2024-12-14 09:28:22 [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 97 - 2024-12-14 09:28:22 [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 98 - 2024-12-14 09:28:22 [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` = 1389 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 99 - 2024-12-14 09:28:22 [0.22ms] */
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 100 - 2024-12-14 09:28:22 [0.22ms] */
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 101 - 2024-12-14 09:28:22 [0.22ms] */
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 102 - 2024-12-14 09:28:22 [0.25ms] */
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 103 - 2024-12-14 09:28:22 [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 104 - 2024-12-14 09:28:22 [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 105 - 2024-12-14 09:28:22 [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 106 - 2024-12-14 09:28:22 [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 107 - 2024-12-14 09:28:22 [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 108 - 2024-12-14 09:28:22 [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` = 71 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 109 - 2024-12-14 09:28:22 [0.2ms] */
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 110 - 2024-12-14 09:28:22 [0.22ms] */
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 111 - 2024-12-14 09:28:22 [0.2ms] */
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 112 - 2024-12-14 09:28:22 [0.21ms] */
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 113 - 2024-12-14 09:28:22 [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 114 - 2024-12-14 09:28:22 [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 115 - 2024-12-14 09:28:22 [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 116 - 2024-12-14 09:28:22 [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 117 - 2024-12-14 09:28:22 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 118 - 2024-12-14 09:28:22 [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 `term`.`first_date_of_quarter` <= '2024-12-14 09:28:22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 119 - 2024-12-14 09:28:22 [0.2ms] */
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 120 - 2024-12-14 09:28:22 [0.25ms] */
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 121 - 2024-12-14 09:28:22 [0.24ms] */
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 122 - 2024-12-14 09:28:22 [0.23ms] */
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 123 - 2024-12-14 09:28:22 [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-14 09:28:22 [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 125 - 2024-12-14 09:28:22 [0.19ms] */
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 126 - 2024-12-14 09:28:22 [0.14ms] */
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 127 - 2024-12-14 09:28:22 [0.17ms] */
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 128 - 2024-12-14 09:28:22 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89876 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:22' 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-14 09:28:22 [0.18ms] */
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 130 - 2024-12-14 09:28:22 [0.17ms] */
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 131 - 2024-12-14 09:28:22 [0.17ms] */
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 132 - 2024-12-14 09:28:22 [0.17ms] */
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 133 - 2024-12-14 09:28:22 [0.12ms] */
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 134 - 2024-12-14 09:28:22 [0.15ms] */
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 135 - 2024-12-14 09:28:22 [0.12ms] */
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 136 - 2024-12-14 09:28:22 [0.12ms] */
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 137 - 2024-12-14 09:28:22 [0.12ms] */
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 138 - 2024-12-14 09:28:22 [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 139 - 2024-12-14 09:28:22 [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 140 - 2024-12-14 09:28:22 [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 141 - 2024-12-14 09:28:22 [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 142 - 2024-12-14 09:28:22 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 81 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 143 - 2024-12-14 09:28:22 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 81 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 144 - 2024-12-14 09:28:22 [0.22ms] */
select * from `party` where `party`.`id` = 12351 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 145 - 2024-12-14 09:28:22 [0.24ms] */
select * from `person` where `person`.`id` = 12351 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 146 - 2024-12-14 09:28:22 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 147 - 2024-12-14 09:28:22 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 148 - 2024-12-14 09:28:22 [0.4ms] */
select * from `model` where `model`.`id` = 2155 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 149 - 2024-12-14 09:28:22 [0.23ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 150 - 2024-12-14 09:28:22 [0.35ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 151 - 2024-12-14 09:28:22 [0.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 81 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 152 - 2024-12-14 09:28:22 [0.17ms] */
select * from `district` where `district`.`id` = 1006 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 153 - 2024-12-14 09:28:22 [0.13ms] */
select * from `region` where `region`.`id` = 6 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-14 09:28:31 [1.37ms] */
select * from `users` where `id` = 123 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-14 09:28:31 [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-14 09:28:31 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2024-12-14 09:28:31 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2024-12-14 09:28:31 [28.2ms] */
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-14 09:28:31') 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-14 09:28:31 [41.65ms] */
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-14 09:28:31') 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 10;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2024-12-14 09:28:31 [0.52ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89831 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-14 09:28:31 [0.86ms] */
select * from `party_vehicle` where `vehicle_id` = 89831 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-14 09:28:31 [0.68ms] */
select * from `party` where `party`.`id` = 27946 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 10 - 2024-12-14 09:28:31 [0.58ms] */
select * from `person` where `person`.`id` = 27946 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-14 09:28:31 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 12 - 2024-12-14 09:28:31 [0.22ms] */
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 13 - 2024-12-14 09:28:31 [0.52ms] */
select * from `model` where `model`.`id` = 2104 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-14 09:28:31 [0.55ms] */
select * from `make` where `make`.`id` = 167 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-14 09:28:31 [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 16 - 2024-12-14 09:28:31 [0.79ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89831 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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-14 09:28:31 [0.57ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89405 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 18 - 2024-12-14 09:28:31 [0.55ms] */
select * from `party_vehicle` where `vehicle_id` = 89405 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 19 - 2024-12-14 09:28:31 [0.25ms] */
select * from `party` where `party`.`id` = 516 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 20 - 2024-12-14 09:28:31 [0.17ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 21 - 2024-12-14 09:28:31 [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 22 - 2024-12-14 09:28:31 [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 23 - 2024-12-14 09:28:31 [0.31ms] */
select * from `model` where `model`.`id` = 20 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 24 - 2024-12-14 09:28:31 [0.33ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 25 - 2024-12-14 09:28:31 [0.13ms] */
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 26 - 2024-12-14 09:28:31 [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` = 89405 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 27 - 2024-12-14 09:28:31 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 870 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 28 - 2024-12-14 09:28:31 [0.36ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 29 - 2024-12-14 09:28:31 [0.35ms] */
select * from `party` where `party`.`id` = 56077 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 30 - 2024-12-14 09:28:31 [0.38ms] */
select * from `company` where `company`.`id` = 468 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 31 - 2024-12-14 09:28:31 [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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 32 - 2024-12-14 09:28:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2024-12-14 09:28:31 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 34 - 2024-12-14 09:28:31 [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 35 - 2024-12-14 09:28:31 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 36 - 2024-12-14 09:28:31 [0.48ms] */
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 `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 37 - 2024-12-14 09:28:31 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 38 - 2024-12-14 09:28:31 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89797 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 39 - 2024-12-14 09:28:31 [0.39ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 40 - 2024-12-14 09:28:31 [0.38ms] */
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 41 - 2024-12-14 09:28:31 [0.36ms] */
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 42 - 2024-12-14 09:28:31 [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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 43 - 2024-12-14 09:28:31 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 44 - 2024-12-14 09:28:31 [0.13ms] */
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 45 - 2024-12-14 09:28:31 [0.13ms] */
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 46 - 2024-12-14 09:28:31 [0.13ms] */
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 47 - 2024-12-14 09:28:31 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89797 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 48 - 2024-12-14 09:28:31 [0.13ms] */
select * from `term` where `term`.`id` = 85 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 49 - 2024-12-14 09:28:31 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89839 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 50 - 2024-12-14 09:28:31 [0.37ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 51 - 2024-12-14 09:28:31 [0.15ms] */
select * from `party` where `party`.`id` = 27949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 52 - 2024-12-14 09:28:31 [0.15ms] */
select * from `person` where `person`.`id` = 27949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 53 - 2024-12-14 09:28:31 [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 54 - 2024-12-14 09:28:31 [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 55 - 2024-12-14 09:28:31 [0.13ms] */
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 56 - 2024-12-14 09:28:31 [0.13ms] */
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 57 - 2024-12-14 09:28:31 [0.13ms] */
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 58 - 2024-12-14 09:28:31 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89839 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 59 - 2024-12-14 09:28:31 [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 60 - 2024-12-14 09:28:31 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 79292 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 61 - 2024-12-14 09:28:31 [0.38ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2024-12-14 09:28:31 [0.36ms] */
select * from `party` where `party`.`id` = 11778 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 63 - 2024-12-14 09:28:31 [0.36ms] */
select * from `person` where `person`.`id` = 11778 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 64 - 2024-12-14 09:28:31 [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 65 - 2024-12-14 09:28:31 [0.32ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2024-12-14 09:28:31 [0.33ms] */
select * from `model` where `model`.`id` = 15 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2024-12-14 09:28:31 [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 68 - 2024-12-14 09:28:31 [0.31ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 69 - 2024-12-14 09:28:31 [0.48ms] */
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 `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 70 - 2024-12-14 09:28:31 [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 71 - 2024-12-14 09:28:31 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88993 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 72 - 2024-12-14 09:28:31 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 88993 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 73 - 2024-12-14 09:28:31 [0.34ms] */
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 74 - 2024-12-14 09:28:31 [0.34ms] */
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 75 - 2024-12-14 09:28:31 [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 76 - 2024-12-14 09:28:31 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 77 - 2024-12-14 09:28:31 [0.32ms] */
select * from `model` where `model`.`id` = 165 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 78 - 2024-12-14 09:28:31 [0.13ms] */
select * from `make` where `make`.`id` = 9 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 79 - 2024-12-14 09:28:31 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2024-12-14 09:28:31 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 88993 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 81 - 2024-12-14 09:28:31 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 82 - 2024-12-14 09:28:31 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 83 - 2024-12-14 09:28:31 [0.34ms] */
select * from `party` where `party`.`id` = 27059 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 84 - 2024-12-14 09:28:31 [0.36ms] */
select * from `person` where `person`.`id` = 27059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 85 - 2024-12-14 09:28:31 [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 86 - 2024-12-14 09:28:31 [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 87 - 2024-12-14 09:28:31 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 88 - 2024-12-14 09:28:31 [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 89 - 2024-12-14 09:28:31 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 90 - 2024-12-14 09:28:31 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 61 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' 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 91 - 2024-12-14 09:28:31 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89840 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 92 - 2024-12-14 09:28:31 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 89840 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 93 - 2024-12-14 09:28:31 [0.37ms] */
select * from `party` where `party`.`id` = 58525 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2024-12-14 09:28:31 [0.25ms] */
select * from `person` where `person`.`id` = 56005 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 95 - 2024-12-14 09:28:31 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 96 - 2024-12-14 09:28:31 [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 97 - 2024-12-14 09:28:31 [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 98 - 2024-12-14 09:28:31 [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 99 - 2024-12-14 09:28:31 [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 100 - 2024-12-14 09:28:31 [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` = 89840 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 101 - 2024-12-14 09:28:31 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89703 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-14 09:28:31 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89703 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-14 09:28:31 [0.22ms] */
select * from `party` where `party`.`id` = 58547 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-14 09:28:31 [0.24ms] */
select * from `person` where `person`.`id` = 56027 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-14 09:28:31 [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 106 - 2024-12-14 09:28:31 [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 107 - 2024-12-14 09:28:31 [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 108 - 2024-12-14 09:28:31 [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 109 - 2024-12-14 09:28:31 [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 110 - 2024-12-14 09:28:31 [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` = 89703 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:31' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 1 - 2024-12-14 09:28:54 [2.13ms] */
select * from `users` where `id` = 123 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 2 - 2024-12-14 09:28:54 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 3 - 2024-12-14 09:28:54 [0.59ms] */
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-14 09:28:54 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2024-12-14 09:28:54 [25.94ms] */
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-14 09:28:54') 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-14 09:28:54 [25.81ms] */
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-14 09:28:54') 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-14 09:28:54 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75 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-14 09:28:54 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 75 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 9 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party` where `party`.`id` = 27071 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-14 09:28:54 [0.15ms] */
select * from `person` where `person`.`id` = 27071 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 11 - 2024-12-14 09:28:54 [0.15ms] */
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-14 09:28:54 [0.14ms] */
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 13 - 2024-12-14 09:28:54 [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 14 - 2024-12-14 09:28:54 [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-14 09:28:54 [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-14 09:28:54 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 75 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' 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-14 09:28:54 [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 18 - 2024-12-14 09:28:54 [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 19 - 2024-12-14 09:28:54 [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 20 - 2024-12-14 09:28:54 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88964 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 21 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 88964 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 22 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party` where `party`.`id` = 58063 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 23 - 2024-12-14 09:28:54 [0.14ms] */
select * from `person` where `person`.`id` = 55662 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 24 - 2024-12-14 09:28:54 [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 25 - 2024-12-14 09:28:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 26 - 2024-12-14 09:28:54 [0.12ms] */
select * from `model` where `model`.`id` = 109 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 27 - 2024-12-14 09:28:54 [0.12ms] */
select * from `make` where `make`.`id` = 7 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 28 - 2024-12-14 09:28:54 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 15 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 29 - 2024-12-14 09:28:54 [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` = 88964 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 30 - 2024-12-14 09:28:54 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1359 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 31 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 1359 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 32 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party` where `party`.`id` = 56318 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 33 - 2024-12-14 09:28:54 [0.15ms] */
select * from `company` where `company`.`id` = 709 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 34 - 2024-12-14 09:28:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 35 - 2024-12-14 09:28:54 [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 36 - 2024-12-14 09:28:54 [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 37 - 2024-12-14 09:28:54 [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 38 - 2024-12-14 09:28:54 [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 39 - 2024-12-14 09:28:54 [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` = 1359 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 40 - 2024-12-14 09:28:54 [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 41 - 2024-12-14 09:28:54 [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 42 - 2024-12-14 09:28:54 [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 43 - 2024-12-14 09:28:54 [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 44 - 2024-12-14 09:28:54 [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 45 - 2024-12-14 09:28:54 [0.12ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89860 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 46 - 2024-12-14 09:28:54 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89860 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 47 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 48 - 2024-12-14 09:28:54 [0.14ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 49 - 2024-12-14 09:28:54 [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 50 - 2024-12-14 09:28:54 [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 51 - 2024-12-14 09:28:54 [0.13ms] */
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 52 - 2024-12-14 09:28:54 [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 53 - 2024-12-14 09:28:54 [0.13ms] */
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 54 - 2024-12-14 09:28:54 [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` = 89860 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 55 - 2024-12-14 09:28:54 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 56 - 2024-12-14 09:28:54 [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 57 - 2024-12-14 09:28:54 [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 58 - 2024-12-14 09:28:54 [0.12ms] */
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 59 - 2024-12-14 09:28:54 [0.12ms] */
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 60 - 2024-12-14 09:28:54 [0.12ms] */
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 61 - 2024-12-14 09:28:54 [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 62 - 2024-12-14 09:28:54 [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 63 - 2024-12-14 09:28:54 [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 64 - 2024-12-14 09:28:54 [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 65 - 2024-12-14 09:28:54 [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 66 - 2024-12-14 09:28:54 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 67 - 2024-12-14 09:28:54 [0.13ms] */
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 68 - 2024-12-14 09:28:54 [0.15ms] */
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 69 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party` where `party`.`id` = 58674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2024-12-14 09:28:54 [0.14ms] */
select * from `person` where `person`.`id` = 56153 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 71 - 2024-12-14 09:28:54 [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 72 - 2024-12-14 09:28:54 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 73 - 2024-12-14 09:28:54 [0.25ms] */
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 74 - 2024-12-14 09:28:54 [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/list
   Query 75 - 2024-12-14 09:28:54 [0.24ms] */
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 76 - 2024-12-14 09:28:54 [0.73ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89846 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 77 - 2024-12-14 09:28:54 [0.26ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 78 - 2024-12-14 09:28:54 [0.21ms] */
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 79 - 2024-12-14 09:28:54 [0.2ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 80 - 2024-12-14 09:28:54 [0.21ms] */
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 81 - 2024-12-14 09:28:54 [0.21ms] */
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 82 - 2024-12-14 09:28:54 [0.2ms] */
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 83 - 2024-12-14 09:28:54 [0.21ms] */
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 84 - 2024-12-14 09:28:54 [0.22ms] */
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 85 - 2024-12-14 09:28:54 [0.21ms] */
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 86 - 2024-12-14 09:28:54 [0.19ms] */
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 87 - 2024-12-14 09:28:54 [0.19ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 88 - 2024-12-14 09:28:54 [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/list
   Query 89 - 2024-12-14 09:28:54 [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 90 - 2024-12-14 09:28:54 [0.23ms] */
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 91 - 2024-12-14 09:28:54 [0.23ms] */
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 92 - 2024-12-14 09:28:54 [0.23ms] */
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 93 - 2024-12-14 09:28:54 [0.2ms] */
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 94 - 2024-12-14 09:28:54 [0.21ms] */
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 95 - 2024-12-14 09:28:54 [0.2ms] */
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 96 - 2024-12-14 09:28:54 [0.19ms] */
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 97 - 2024-12-14 09:28:54 [0.22ms] */
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 98 - 2024-12-14 09:28:54 [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` = 1389 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 99 - 2024-12-14 09:28:54 [0.13ms] */
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 100 - 2024-12-14 09:28:54 [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 101 - 2024-12-14 09:28:54 [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 102 - 2024-12-14 09:28:54 [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 103 - 2024-12-14 09:28:54 [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 104 - 2024-12-14 09:28:54 [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 105 - 2024-12-14 09:28:54 [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 106 - 2024-12-14 09:28:54 [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 107 - 2024-12-14 09:28:54 [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 108 - 2024-12-14 09:28:54 [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` = 71 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 109 - 2024-12-14 09:28:54 [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 110 - 2024-12-14 09:28:54 [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 111 - 2024-12-14 09:28:54 [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 112 - 2024-12-14 09:28:54 [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 113 - 2024-12-14 09:28:54 [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 114 - 2024-12-14 09:28:54 [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 115 - 2024-12-14 09:28:54 [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 116 - 2024-12-14 09:28:54 [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 117 - 2024-12-14 09:28:54 [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 118 - 2024-12-14 09:28:54 [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 `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 119 - 2024-12-14 09:28:54 [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 120 - 2024-12-14 09:28:54 [0.14ms] */
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 121 - 2024-12-14 09:28:54 [0.16ms] */
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 122 - 2024-12-14 09:28:54 [0.15ms] */
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 123 - 2024-12-14 09:28:54 [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-14 09:28:54 [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 125 - 2024-12-14 09:28:54 [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 126 - 2024-12-14 09:28:54 [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 127 - 2024-12-14 09:28:54 [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 128 - 2024-12-14 09:28:54 [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` = 89876 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' 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-14 09:28:54 [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 130 - 2024-12-14 09:28:54 [0.13ms] */
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 131 - 2024-12-14 09:28:54 [0.13ms] */
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 132 - 2024-12-14 09:28:54 [0.13ms] */
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 133 - 2024-12-14 09:28:54 [0.12ms] */
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 134 - 2024-12-14 09:28:54 [0.12ms] */
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 135 - 2024-12-14 09:28:54 [0.12ms] */
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 136 - 2024-12-14 09:28:54 [0.12ms] */
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 137 - 2024-12-14 09:28:54 [0.12ms] */
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 138 - 2024-12-14 09:28:54 [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 139 - 2024-12-14 09:28:54 [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 140 - 2024-12-14 09:28:54 [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 141 - 2024-12-14 09:28:54 [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 142 - 2024-12-14 09:28:54 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 81 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 143 - 2024-12-14 09:28:54 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 81 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 144 - 2024-12-14 09:28:54 [0.14ms] */
select * from `party` where `party`.`id` = 12351 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 145 - 2024-12-14 09:28:54 [0.15ms] */
select * from `person` where `person`.`id` = 12351 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 146 - 2024-12-14 09:28:54 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 147 - 2024-12-14 09:28:54 [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 148 - 2024-12-14 09:28:54 [0.13ms] */
select * from `model` where `model`.`id` = 2155 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 149 - 2024-12-14 09:28:54 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 150 - 2024-12-14 09:28:54 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 151 - 2024-12-14 09:28:54 [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` = 81 and `term`.`first_date_of_quarter` <= '2024-12-14 09:28:54' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 152 - 2024-12-14 09:28:54 [0.17ms] */
select * from `district` where `district`.`id` = 1006 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 153 - 2024-12-14 09:28:54 [0.16ms] */
select * from `region` where `region`.`id` = 6 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-14 09:29:21 [2.45ms] */
select * from `users` where `id` = 123 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-14 09:29:21 [0.75ms] */
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-14 09:29:21 [0.61ms] */
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-14 09:29:21 [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-14 09:29:21 [21ms] */
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-14 09:29:21') 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 (`license_plate` like '%e%' or `vin` like '%e%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2024-12-14 09:29:21 [19.86ms] */
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-14 09:29:21') 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 (`license_plate` like '%e%' or `vin` like '%e%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2024-12-14 09:29:21 [0.2ms] */
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 8 - 2024-12-14 09:29:21 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 9 - 2024-12-14 09:29:21 [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 10 - 2024-12-14 09:29:21 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2024-12-14 09:29:21 [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 12 - 2024-12-14 09:29:21 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2024-12-14 09:29:21 [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 14 - 2024-12-14 09:29:21 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2024-12-14 09:29:21 [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 16 - 2024-12-14 09:29:21 [0.13ms] */
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 17 - 2024-12-14 09:29:21 [0.12ms] */
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 18 - 2024-12-14 09:29:21 [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 19 - 2024-12-14 09:29:21 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89405 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 20 - 2024-12-14 09:29:21 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89405 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 21 - 2024-12-14 09:29:21 [0.14ms] */
select * from `party` where `party`.`id` = 516 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 22 - 2024-12-14 09:29:21 [0.15ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 23 - 2024-12-14 09:29:21 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 24 - 2024-12-14 09:29:21 [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 25 - 2024-12-14 09:29:21 [0.13ms] */
select * from `model` where `model`.`id` = 20 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 26 - 2024-12-14 09:29:21 [0.13ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 27 - 2024-12-14 09:29:21 [0.13ms] */
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 28 - 2024-12-14 09:29:21 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89405 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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 29 - 2024-12-14 09:29:21 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89839 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-14 09:29:21 [0.15ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 31 - 2024-12-14 09:29:21 [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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 32 - 2024-12-14 09:29:21 [0.15ms] */
select * from `person` where `person`.`id` = 27949 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-14 09:29:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 34 - 2024-12-14 09:29:21 [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-14 09:29:21 [0.13ms] */
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 36 - 2024-12-14 09:29:21 [0.12ms] */
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 37 - 2024-12-14 09:29:21 [0.13ms] */
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 38 - 2024-12-14 09:29:21 [0.37ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89839 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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-14 09:29:21 [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 40 - 2024-12-14 09:29:21 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 79292 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-14 09:29:21 [0.15ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 42 - 2024-12-14 09:29:21 [0.15ms] */
select * from `party` where `party`.`id` = 11778 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-14 09:29:21 [0.15ms] */
select * from `person` where `person`.`id` = 11778 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-14 09:29:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 45 - 2024-12-14 09:29:21 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 46 - 2024-12-14 09:29:21 [0.3ms] */
select * from `model` where `model`.`id` = 15 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-14 09:29:21 [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 48 - 2024-12-14 09:29:21 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 49 - 2024-12-14 09:29:21 [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` = 79292 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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-14 09:29:21 [0.26ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 51 - 2024-12-14 09:29:21 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 52 - 2024-12-14 09:29:21 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 53 - 2024-12-14 09:29:21 [0.29ms] */
select * from `party` where `party`.`id` = 27059 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 54 - 2024-12-14 09:29:21 [0.31ms] */
select * from `person` where `person`.`id` = 27059 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-14 09:29:21 [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 56 - 2024-12-14 09:29:21 [0.26ms] */
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 57 - 2024-12-14 09:29:21 [0.25ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 58 - 2024-12-14 09:29:21 [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 59 - 2024-12-14 09:29:21 [0.25ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 60 - 2024-12-14 09:29:21 [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` = 61 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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-14 09:29:21 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89923 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 62 - 2024-12-14 09:29:21 [0.28ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 63 - 2024-12-14 09:29:21 [0.23ms] */
select * from `party` where `party`.`id` = 58769 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 64 - 2024-12-14 09:29:21 [0.25ms] */
select * from `person` where `person`.`id` = 56247 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 65 - 2024-12-14 09:29:21 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2024-12-14 09:29:21 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2024-12-14 09:29:21 [0.2ms] */
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 68 - 2024-12-14 09:29:21 [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 69 - 2024-12-14 09:29:21 [0.18ms] */
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 70 - 2024-12-14 09:29:21 [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 `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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 71 - 2024-12-14 09:29:21 [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 72 - 2024-12-14 09:29:21 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89827 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 73 - 2024-12-14 09:29:21 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89827 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 74 - 2024-12-14 09:29:21 [0.15ms] */
select * from `party` where `party`.`id` = 4598 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 75 - 2024-12-14 09:29:21 [0.15ms] */
select * from `person` where `person`.`id` = 4598 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 76 - 2024-12-14 09:29:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 77 - 2024-12-14 09:29:21 [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 78 - 2024-12-14 09:29:21 [0.12ms] */
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 79 - 2024-12-14 09:29:21 [0.12ms] */
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 80 - 2024-12-14 09:29:21 [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 81 - 2024-12-14 09:29:21 [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` = 89827 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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 82 - 2024-12-14 09:29:21 [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-list-component
   Query 83 - 2024-12-14 09:29:21 [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-list-component
   Query 84 - 2024-12-14 09:29:21 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 85 - 2024-12-14 09:29:21 [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 86 - 2024-12-14 09:29:21 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 87 - 2024-12-14 09:29:21 [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 88 - 2024-12-14 09:29:21 [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 89 - 2024-12-14 09:29:21 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89724 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-14 09:29:21 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 89724 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-14 09:29:21 [0.14ms] */
select * from `party` where `party`.`id` = 516 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-14 09:29:21 [0.15ms] */
select * from `person` where `person`.`id` = 516 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-14 09:29:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2024-12-14 09:29:21 [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-14 09:29:21 [0.12ms] */
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 96 - 2024-12-14 09:29:21 [0.12ms] */
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 97 - 2024-12-14 09:29:21 [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-14 09:29:21 [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` = 89724 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:21' 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-14 09:29:21 [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 100 - 2024-12-14 09:29:21 [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-14 09:29:22 [2.03ms] */
select * from `users` where `id` = 123 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-14 09:29:22 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2024-12-14 09:29:22 [0.6ms] */
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-14 09:29:22 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2024-12-14 09:29:22 [18.34ms] */
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-14 09:29:22') 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 (`license_plate` like '%ev441%' or `vin` like '%ev441%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2024-12-14 09:29:22 [16.59ms] */
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-14 09:29:22') 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 (`license_plate` like '%ev441%' or `vin` like '%ev441%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2024-12-14 09:29:22 [0.21ms] */
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 8 - 2024-12-14 09:29:22 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 9 - 2024-12-14 09:29:22 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 10 - 2024-12-14 09:29:22 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2024-12-14 09:29:29 [2.04ms] */
select * from `users` where `id` = 123 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-14 09:29:29 [0.6ms] */
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-14 09:29:29 [0.54ms] */
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-14 09:29:29 [0.55ms] */
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 1 - 2024-12-14 09:29:29 [2.23ms] */
select * from `users` where `id` = 123 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-14 09:29:29 [0.76ms] */
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-14 09:29:29 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2024-12-14 09:29:29 [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/61
   Query 1 - 2024-12-14 09:29:29 [1.39ms] */
select * from `users` where `id` = 123 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 2 - 2024-12-14 09:29:29 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 3 - 2024-12-14 09:29:29 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 4 - 2024-12-14 09:29:29 [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/61
   Query 1 - 2024-12-14 09:29:29 [1.74ms] */
select * from `users` where `id` = 123 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 5 - 2024-12-14 09:29:29 [0.47ms] */
select * from `party_vehicle` where `vehicle_id` = 61 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/61
   Query 6 - 2024-12-14 09:29:29 [0.3ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 7 - 2024-12-14 09:29:29 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 8 - 2024-12-14 09:29:29 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 74692 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/61
   Query 2 - 2024-12-14 09:29:29 [0.58ms] */
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/61
   Query 9 - 2024-12-14 09:29:29 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 10 - 2024-12-14 09:29:29 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 3 - 2024-12-14 09:29:29 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 11 - 2024-12-14 09:29:29 [0.24ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 12 - 2024-12-14 09:29:29 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 61 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/61
   Query 13 - 2024-12-14 09:29:29 [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/61
   Query 14 - 2024-12-14 09:29:29 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 15 - 2024-12-14 09:29:29 [0.24ms] */
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/61
   Query 4 - 2024-12-14 09:29:29 [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/61
   Query 16 - 2024-12-14 09:29:29 [0.31ms] */
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/61
   Query 17 - 2024-12-14 09:29:29 [0.65ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 18 - 2024-12-14 09:29:29 [0.35ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102788, 'INITIATED', '2024-12-14 09:29:29', 5, 123, 123, 123, '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 19 - 2024-12-14 09:29:29 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 20 - 2024-12-14 09:29:29 [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/61
   Query 21 - 2024-12-14 09:29:29 [0.22ms] */
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/61
   Query 22 - 2024-12-14 09:29:29 [0.3ms] */
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', 'LWB-74692-256', 61, 93, 27059, 74692, 102788, 123, 123, '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 23 - 2024-12-14 09:29:29 [0.19ms] */
select * from `vehicle_tax` where `id` = 99375 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 24 - 2024-12-14 09:29:29 [0.33ms] */
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":"LWB-74692-256","tax_sticker_id":null,"vehicle_id":61,"term_id":93,"party_id":27059,"transaction_id":102788,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99375, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 25 - 2024-12-14 09:29:29 [0.22ms] */
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/start/61
   Query 26 - 2024-12-14 09:29:29 [0.6ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 27 - 2024-12-14 09:29:29 [0.18ms] */
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/61
   Query 28 - 2024-12-14 09:29:29 [0.21ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 29 - 2024-12-14 09:29:29 [0.25ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102788, '2023-01-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 30 - 2024-12-14 09:29:29 [0.19ms] */
select * from `invoice` where `id` = 102372 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 31 - 2024-12-14 09:29:29 [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":102788,"party_id":27059,"invoice_amount":"0.00","invoice_date":"2023-01-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}}', 123, 'App\Models\User', 102372, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 32 - 2024-12-14 09:29:29 [0.26ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax Fee for 21 HP', 'Yearly Tax Fee for 21 HP', 1, 78.00, 78.00, 102372, 123, 123, '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 33 - 2024-12-14 09:29:29 [0.17ms] */
select * from `invoice_item` where `id` = 200396 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 34 - 2024-12-14 09:29:29 [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":"Yearly Tax Fee for 21 HP","description":"Yearly Tax Fee for 21 HP","unit_price":"78.00","quantity":1,"total_price":"78.00","invoice_id":102372}}', 123, 'App\Models\User', 200396, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 35 - 2024-12-14 09:29:29 [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, 102372, 123, 123, '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 36 - 2024-12-14 09:29:29 [0.17ms] */
select * from `invoice_item` where `id` = 200397 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 37 - 2024-12-14 09:29:29 [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 Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102372}}', 123, 'App\Models\User', 200397, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 38 - 2024-12-14 09:29:29 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102372 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 39 - 2024-12-14 09:29:29 [0.29ms] */
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` = 102372 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 40 - 2024-12-14 09:29:29 [0.24ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102372 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/61
   Query 41 - 2024-12-14 09:29:29 [0.18ms] */
update `invoice` set `invoice_amount` = 86, `outstanding_balance` = 86, `discounts` = 0, `total_invoice_amount` = 86, `invoice`.`updated_at` = '2024-12-14 09:29:29' where `id` = 102372;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 42 - 2024-12-14 09:29:29 [0.18ms] */
select * from `invoice` where `id` = 102372 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 43 - 2024-12-14 09:29:29 [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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102372, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 44 - 2024-12-14 09:29:29 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-353-102372560', `invoice`.`updated_at` = '2024-12-14 09:29:29' where `id` = 102372;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 45 - 2024-12-14 09:29:29 [0.18ms] */
select * from `invoice` where `id` = 102372 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 46 - 2024-12-14 09:29:29 [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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00","invoice_number":"INV-353-102372560","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102372, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:29', '2024-12-14 09:29:29');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 47 - 2024-12-14 09:29:30 [0.29ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99375, `invoice_id` = 102372, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102788;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 48 - 2024-12-14 09:29:30 [0.62ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 49 - 2024-12-14 09:29:30 [0.39ms] */
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/61
   Query 50 - 2024-12-14 09:29:30 [0.41ms] */
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/61
   Query 51 - 2024-12-14 09:29:30 [0.47ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 52 - 2024-12-14 09:29:30 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102789, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 53 - 2024-12-14 09:29:30 [0.41ms] */
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/61
   Query 54 - 2024-12-14 09:29:30 [0.38ms] */
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', 'PTS-74692-142', 61, 94, 27059, 74692, 102789, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 55 - 2024-12-14 09:29:30 [0.34ms] */
select * from `vehicle_tax` where `id` = 99376 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 56 - 2024-12-14 09:29:30 [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":"PTS-74692-142","tax_sticker_id":null,"vehicle_id":61,"term_id":94,"party_id":27059,"transaction_id":102789,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99376, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 57 - 2024-12-14 09:29:30 [0.99ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 58 - 2024-12-14 09:29:30 [0.4ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 59 - 2024-12-14 09:29:30 [0.18ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 60 - 2024-12-14 09:29:30 [0.21ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 61 - 2024-12-14 09:29:30 [0.21ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102789, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 62 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102373 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 63 - 2024-12-14 09:29:30 [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":102789,"party_id":27059,"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}}', 123, 'App\Models\User', 102373, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 64 - 2024-12-14 09:29:30 [0.16ms] */
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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102373, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 65 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200398 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 66 - 2024-12-14 09:29:30 [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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102373}}', 123, 'App\Models\User', 200398, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 67 - 2024-12-14 09:29:30 [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, 102373, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 68 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200399 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 69 - 2024-12-14 09:29:30 [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":102373}}', 123, 'App\Models\User', 200399, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 70 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102373 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 71 - 2024-12-14 09:29:30 [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` = 102373 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 72 - 2024-12-14 09:29:30 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102373 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/61
   Query 73 - 2024-12-14 09:29:30 [0.18ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102373;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 74 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102373 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 75 - 2024-12-14 09:29:30 [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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102373, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 76 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-118-102373650', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102373;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 77 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102373 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 78 - 2024-12-14 09:29:30 [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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-118-102373650","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102373, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 79 - 2024-12-14 09:29:30 [0.21ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99376, `invoice_id` = 102373, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102789;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 80 - 2024-12-14 09:29:30 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 81 - 2024-12-14 09:29:30 [0.2ms] */
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/61
   Query 82 - 2024-12-14 09:29:30 [0.21ms] */
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/61
   Query 83 - 2024-12-14 09:29:30 [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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 84 - 2024-12-14 09:29:30 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102790, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 5 - 2024-12-14 09:29:30 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 61 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/61
   Query 85 - 2024-12-14 09:29:30 [0.21ms] */
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/61
   Query 6 - 2024-12-14 09:29:30 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 86 - 2024-12-14 09:29:30 [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', 'YKM-74692-193', 61, 95, 27059, 74692, 102790, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 7 - 2024-12-14 09:29:30 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 87 - 2024-12-14 09:29:30 [0.18ms] */
select * from `vehicle_tax` where `id` = 99377 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 88 - 2024-12-14 09:29:30 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"YKM-74692-193","tax_sticker_id":null,"vehicle_id":61,"term_id":95,"party_id":27059,"transaction_id":102790,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99377, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 89 - 2024-12-14 09:29:30 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 8 - 2024-12-14 09:29:30 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 74692 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/61
   Query 90 - 2024-12-14 09:29:30 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 9 - 2024-12-14 09:29:30 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 91 - 2024-12-14 09:29:30 [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/61
   Query 10 - 2024-12-14 09:29:30 [0.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 92 - 2024-12-14 09:29:30 [0.2ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 93 - 2024-12-14 09:29:30 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102790, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 94 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102374 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 11 - 2024-12-14 09:29:30 [0.2ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 95 - 2024-12-14 09:29:30 [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":102790,"party_id":27059,"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}}', 123, 'App\Models\User', 102374, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 12 - 2024-12-14 09:29:30 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 61 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/61
   Query 96 - 2024-12-14 09:29:30 [0.25ms] */
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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102374, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 97 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice_item` where `id` = 200400 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 13 - 2024-12-14 09:29:30 [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/61
   Query 98 - 2024-12-14 09:29:30 [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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102374}}', 123, 'App\Models\User', 200400, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 99 - 2024-12-14 09:29:30 [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, 102374, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 100 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200401 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 14 - 2024-12-14 09:29:30 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 101 - 2024-12-14 09:29:30 [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":102374}}', 123, 'App\Models\User', 200401, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 15 - 2024-12-14 09:29:30 [0.2ms] */
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/61
   Query 102 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102374 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 16 - 2024-12-14 09:29:30 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 103 - 2024-12-14 09:29:30 [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` = 102374 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 104 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102374 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/61
   Query 17 - 2024-12-14 09:29:30 [0.44ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 105 - 2024-12-14 09:29:30 [0.18ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102374;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 106 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102374 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 18 - 2024-12-14 09:29:30 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102791, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 107 - 2024-12-14 09:29:30 [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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102374, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 19 - 2024-12-14 09:29:30 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 108 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-196-102374737', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102374;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 20 - 2024-12-14 09:29:30 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 109 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102374 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 110 - 2024-12-14 09:29:30 [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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-196-102374737","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102374, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 21 - 2024-12-14 09:29:30 [0.22ms] */
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/61
   Query 22 - 2024-12-14 09:29:30 [0.2ms] */
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', 'YCV-74692-401', 61, 93, 27059, 74692, 102791, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 111 - 2024-12-14 09:29:30 [0.2ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99377, `invoice_id` = 102374, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102790;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 23 - 2024-12-14 09:29:30 [0.2ms] */
select * from `vehicle_tax` where `id` = 99378 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 112 - 2024-12-14 09:29:30 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 24 - 2024-12-14 09:29:30 [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":"YCV-74692-401","tax_sticker_id":null,"vehicle_id":61,"term_id":93,"party_id":27059,"transaction_id":102791,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99378, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 25 - 2024-12-14 09:29:30 [0.15ms] */
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/start/61
   Query 26 - 2024-12-14 09:29:30 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 27 - 2024-12-14 09:29:30 [0.19ms] */
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/61
   Query 113 - 2024-12-14 09:29:30 [3.91ms] */
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/61
   Query 28 - 2024-12-14 09:29:30 [0.21ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 29 - 2024-12-14 09:29:30 [0.2ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102791, '2023-01-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 30 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102375 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 114 - 2024-12-14 09:29:30 [0.58ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 31 - 2024-12-14 09:29:30 [0.2ms] */
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":102791,"party_id":27059,"invoice_amount":"0.00","invoice_date":"2023-01-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}}', 123, 'App\Models\User', 102375, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 32 - 2024-12-14 09:29:30 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax Fee for 21 HP', 'Yearly Tax Fee for 21 HP', 1, 78.00, 78.00, 102375, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 115 - 2024-12-14 09:29:30 [0.39ms] */
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/61
   Query 33 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice_item` where `id` = 200402 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 34 - 2024-12-14 09:29:30 [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 Tax Fee for 21 HP","description":"Yearly Tax Fee for 21 HP","unit_price":"78.00","quantity":1,"total_price":"78.00","invoice_id":102375}}', 123, 'App\Models\User', 200402, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 116 - 2024-12-14 09:29:30 [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/61
   Query 35 - 2024-12-14 09:29:30 [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, 102375, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 36 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200403 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 37 - 2024-12-14 09:29:30 [0.2ms] */
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":102375}}', 123, 'App\Models\User', 200403, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 117 - 2024-12-14 09:29:30 [0.56ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 38 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 118 - 2024-12-14 09:29:30 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102792, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 119 - 2024-12-14 09:29:30 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 39 - 2024-12-14 09:29:30 [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` = 102375 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 120 - 2024-12-14 09:29:30 [0.26ms] */
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/61
   Query 40 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102375 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/61
   Query 41 - 2024-12-14 09:29:30 [0.18ms] */
update `invoice` set `invoice_amount` = 86, `outstanding_balance` = 86, `discounts` = 0, `total_invoice_amount` = 86, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102375;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 121 - 2024-12-14 09:29:30 [0.33ms] */
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/61
   Query 42 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102375 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 122 - 2024-12-14 09:29:30 [0.31ms] */
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', '6L4-74692-467', 61, 97, 27059, 74692, 102792, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 43 - 2024-12-14 09:29:30 [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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102375, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 123 - 2024-12-14 09:29:30 [0.29ms] */
select * from `vehicle_tax` where `id` = 99379 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 44 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-745-102375789', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102375;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 45 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102375 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 124 - 2024-12-14 09:29:30 [0.29ms] */
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":"6L4-74692-467","tax_sticker_id":null,"vehicle_id":61,"term_id":97,"party_id":27059,"transaction_id":102792,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99379, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 46 - 2024-12-14 09:29:30 [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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00","invoice_number":"INV-745-102375789","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102375, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 47 - 2024-12-14 09:29:30 [0.19ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99378, `invoice_id` = 102375, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102791;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 125 - 2024-12-14 09:29:30 [0.37ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 48 - 2024-12-14 09:29:30 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 49 - 2024-12-14 09:29:30 [0.21ms] */
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/61
   Query 126 - 2024-12-14 09:29:30 [0.28ms] */
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/61
   Query 50 - 2024-12-14 09:29:30 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 127 - 2024-12-14 09:29:30 [0.3ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 51 - 2024-12-14 09:29:30 [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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 52 - 2024-12-14 09:29:30 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102793, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 128 - 2024-12-14 09:29:30 [0.29ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102792, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 53 - 2024-12-14 09:29:30 [0.2ms] */
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/61
   Query 129 - 2024-12-14 09:29:30 [0.29ms] */
select * from `invoice` where `id` = 102376 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 54 - 2024-12-14 09:29:30 [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', 'TM4-74692-940', 61, 94, 27059, 74692, 102793, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 55 - 2024-12-14 09:29:30 [0.18ms] */
select * from `vehicle_tax` where `id` = 99380 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 130 - 2024-12-14 09:29:30 [0.3ms] */
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":102792,"party_id":27059,"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}}', 123, 'App\Models\User', 102376, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 56 - 2024-12-14 09:29:30 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"TM4-74692-940","tax_sticker_id":null,"vehicle_id":61,"term_id":94,"party_id":27059,"transaction_id":102793,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99380, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 131 - 2024-12-14 09:29:30 [0.26ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax Fee for 21 HP', 'Yearly Tax Fee for 21 HP', 1, 78.00, 78.00, 102376, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 57 - 2024-12-14 09:29:30 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 132 - 2024-12-14 09:29:30 [0.27ms] */
select * from `invoice_item` where `id` = 200404 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 58 - 2024-12-14 09:29:30 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 133 - 2024-12-14 09:29:30 [0.25ms] */
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 Tax Fee for 21 HP","description":"Yearly Tax Fee for 21 HP","unit_price":"78.00","quantity":1,"total_price":"78.00","invoice_id":102376}}', 123, 'App\Models\User', 200404, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 59 - 2024-12-14 09:29:30 [0.17ms] */
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/61
   Query 134 - 2024-12-14 09:29:30 [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, 102376, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 60 - 2024-12-14 09:29:30 [0.2ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 135 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200405 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 61 - 2024-12-14 09:29:30 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102793, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 136 - 2024-12-14 09:29:30 [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":"Service Fee for Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102376}}', 123, 'App\Models\User', 200405, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 62 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102377 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 137 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102376 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 63 - 2024-12-14 09:29:30 [0.2ms] */
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":102793,"party_id":27059,"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}}', 123, 'App\Models\User', 102377, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 138 - 2024-12-14 09:29:30 [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` = 102376 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 64 - 2024-12-14 09:29:30 [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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102377, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 139 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102376 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/61
   Query 65 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200406 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 140 - 2024-12-14 09:29:30 [0.18ms] */
update `invoice` set `invoice_amount` = 86, `outstanding_balance` = 86, `discounts` = 0, `total_invoice_amount` = 86, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102376;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 66 - 2024-12-14 09:29:30 [0.2ms] */
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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102377}}', 123, 'App\Models\User', 200406, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 141 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102376 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 67 - 2024-12-14 09:29:30 [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, 102377, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 68 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200407 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 142 - 2024-12-14 09:29:30 [0.2ms] */
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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102376, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 143 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-145-102376554', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102376;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 69 - 2024-12-14 09:29:30 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102377}}', 123, 'App\Models\User', 200407, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 144 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102376 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 70 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102377 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 71 - 2024-12-14 09:29:30 [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` = 102377 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 145 - 2024-12-14 09:29:30 [0.34ms] */
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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00","invoice_number":"INV-145-102376554","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102376, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 72 - 2024-12-14 09:29:30 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102377 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/61
   Query 146 - 2024-12-14 09:29:30 [0.19ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99379, `invoice_id` = 102376, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102792;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 73 - 2024-12-14 09:29:30 [0.17ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102377;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 147 - 2024-12-14 09:29:30 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 74 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102377 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 148 - 2024-12-14 09:29:30 [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/61
   Query 75 - 2024-12-14 09:29:30 [0.22ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102377, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 149 - 2024-12-14 09:29:30 [0.21ms] */
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/61
   Query 76 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-935-102377474', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102377;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 77 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102377 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 150 - 2024-12-14 09:29:30 [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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 78 - 2024-12-14 09:29:30 [0.2ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-935-102377474","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102377, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 151 - 2024-12-14 09:29:30 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102794, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 152 - 2024-12-14 09:29:30 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 79 - 2024-12-14 09:29:30 [0.18ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99380, `invoice_id` = 102377, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102793;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 153 - 2024-12-14 09:29:30 [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', '0GX-74692-479', 61, 98, 27059, 74692, 102794, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 80 - 2024-12-14 09:29:30 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 154 - 2024-12-14 09:29:30 [0.18ms] */
select * from `vehicle_tax` where `id` = 99381 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 81 - 2024-12-14 09:29:30 [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/61
   Query 155 - 2024-12-14 09:29:30 [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":"0GX-74692-479","tax_sticker_id":null,"vehicle_id":61,"term_id":98,"party_id":27059,"transaction_id":102794,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99381, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 82 - 2024-12-14 09:29:30 [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/61
   Query 83 - 2024-12-14 09:29:30 [0.25ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 156 - 2024-12-14 09:29:30 [0.36ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 84 - 2024-12-14 09:29:30 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102795, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 85 - 2024-12-14 09:29:30 [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/61
   Query 86 - 2024-12-14 09:29:30 [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', '6VU-74692-688', 61, 95, 27059, 74692, 102795, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 87 - 2024-12-14 09:29:30 [0.18ms] */
select * from `vehicle_tax` where `id` = 99382 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 157 - 2024-12-14 09:29:30 [0.39ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 88 - 2024-12-14 09:29:30 [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":"6VU-74692-688","tax_sticker_id":null,"vehicle_id":61,"term_id":95,"party_id":27059,"transaction_id":102795,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99382, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 158 - 2024-12-14 09:29:30 [0.33ms] */
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/61
   Query 89 - 2024-12-14 09:29:30 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 159 - 2024-12-14 09:29:30 [0.36ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 90 - 2024-12-14 09:29:30 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 91 - 2024-12-14 09:29:30 [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/61
   Query 160 - 2024-12-14 09:29:30 [0.34ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102794, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 92 - 2024-12-14 09:29:30 [0.19ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 161 - 2024-12-14 09:29:30 [0.31ms] */
select * from `invoice` where `id` = 102378 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 93 - 2024-12-14 09:29:30 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102795, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 94 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102379 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 162 - 2024-12-14 09:29:30 [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":{"transaction_id":102794,"party_id":27059,"invoice_amount":"0.00","invoice_date":"2024-03-01 00:00:00","due_date":"2024-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}}', 123, 'App\Models\User', 102378, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 95 - 2024-12-14 09:29:30 [0.34ms] */
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":102795,"party_id":27059,"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}}', 123, 'App\Models\User', 102379, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 96 - 2024-12-14 09:29:30 [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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102379, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 97 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200408 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 163 - 2024-12-14 09:29:30 [0.25ms] */
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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102378, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 98 - 2024-12-14 09:29:30 [0.2ms] */
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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102379}}', 123, 'App\Models\User', 200408, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 164 - 2024-12-14 09:29:30 [0.28ms] */
select * from `invoice_item` where `id` = 200409 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 99 - 2024-12-14 09:29:30 [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, 102379, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 100 - 2024-12-14 09:29:30 [0.16ms] */
select * from `invoice_item` where `id` = 200410 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 165 - 2024-12-14 09:29:30 [0.32ms] */
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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102378}}', 123, 'App\Models\User', 200409, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 101 - 2024-12-14 09:29:30 [0.2ms] */
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":102379}}', 123, 'App\Models\User', 200410, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 102 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102379 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 166 - 2024-12-14 09:29:30 [0.24ms] */
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, 102378, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 103 - 2024-12-14 09:29:30 [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` = 102379 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 167 - 2024-12-14 09:29:30 [0.27ms] */
select * from `invoice_item` where `id` = 200411 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 104 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102379 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/61
   Query 168 - 2024-12-14 09:29:30 [0.33ms] */
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":102378}}', 123, 'App\Models\User', 200411, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 105 - 2024-12-14 09:29:30 [0.17ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102379;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 106 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102379 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 169 - 2024-12-14 09:29:30 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 102378 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 107 - 2024-12-14 09:29:30 [0.2ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102379, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 108 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-940-102379141', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102379;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 170 - 2024-12-14 09:29:30 [0.38ms] */
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` = 102378 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 109 - 2024-12-14 09:29:30 [0.18ms] */
select * from `invoice` where `id` = 102379 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 171 - 2024-12-14 09:29:30 [0.33ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102378 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/61
   Query 110 - 2024-12-14 09:29:30 [0.2ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-940-102379141","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102379, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 111 - 2024-12-14 09:29:30 [0.19ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99382, `invoice_id` = 102379, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102795;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 172 - 2024-12-14 09:29:30 [0.27ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102378;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 112 - 2024-12-14 09:29:30 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 173 - 2024-12-14 09:29:30 [0.3ms] */
select * from `invoice` where `id` = 102378 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 174 - 2024-12-14 09:29:30 [0.37ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102378, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 175 - 2024-12-14 09:29:30 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-989-102378415', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102378;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 113 - 2024-12-14 09:29:30 [1.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/61
   Query 176 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102378 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 114 - 2024-12-14 09:29:30 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 177 - 2024-12-14 09:29:30 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-989-102378415","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102378, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 115 - 2024-12-14 09:29:30 [0.2ms] */
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/61
   Query 178 - 2024-12-14 09:29:30 [0.19ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99381, `invoice_id` = 102378, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102794;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 116 - 2024-12-14 09:29:30 [0.21ms] */
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/61
   Query 179 - 2024-12-14 09:29:30 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 117 - 2024-12-14 09:29:30 [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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 180 - 2024-12-14 09:29:30 [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/61
   Query 118 - 2024-12-14 09:29:30 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102796, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 181 - 2024-12-14 09:29:30 [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/61
   Query 119 - 2024-12-14 09:29:30 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 182 - 2024-12-14 09:29:30 [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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 120 - 2024-12-14 09:29:30 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 183 - 2024-12-14 09:29:30 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102797, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 121 - 2024-12-14 09:29:30 [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/61
   Query 184 - 2024-12-14 09:29:30 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 122 - 2024-12-14 09:29:30 [0.2ms] */
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', 'VHB-74692-980', 61, 97, 27059, 74692, 102796, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 185 - 2024-12-14 09:29:30 [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', '6D3-74692-497', 61, 99, 27059, 74692, 102797, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 123 - 2024-12-14 09:29:30 [0.19ms] */
select * from `vehicle_tax` where `id` = 99383 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 186 - 2024-12-14 09:29:30 [0.18ms] */
select * from `vehicle_tax` where `id` = 99384 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 124 - 2024-12-14 09:29:30 [0.2ms] */
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":"VHB-74692-980","tax_sticker_id":null,"vehicle_id":61,"term_id":97,"party_id":27059,"transaction_id":102796,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99383, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 187 - 2024-12-14 09:29:30 [0.2ms] */
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":"6D3-74692-497","tax_sticker_id":null,"vehicle_id":61,"term_id":99,"party_id":27059,"transaction_id":102797,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99384, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 125 - 2024-12-14 09:29:30 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 188 - 2024-12-14 09:29:30 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 126 - 2024-12-14 09:29:30 [0.18ms] */
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/61
   Query 189 - 2024-12-14 09:29:30 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 127 - 2024-12-14 09:29:30 [0.39ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 190 - 2024-12-14 09:29:30 [0.19ms] */
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/61
   Query 191 - 2024-12-14 09:29:30 [0.19ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 128 - 2024-12-14 09:29:30 [0.36ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102796, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 192 - 2024-12-14 09:29:30 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102797, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 193 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102381 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 129 - 2024-12-14 09:29:30 [0.35ms] */
select * from `invoice` where `id` = 102380 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 194 - 2024-12-14 09:29:30 [0.22ms] */
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":102797,"party_id":27059,"invoice_amount":"0.00","invoice_date":"2024-06-01 00:00:00","due_date":"2024-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}}', 123, 'App\Models\User', 102381, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 195 - 2024-12-14 09:29:30 [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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102381, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 130 - 2024-12-14 09:29:30 [0.42ms] */
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":102796,"party_id":27059,"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}}', 123, 'App\Models\User', 102380, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 196 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200412 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 197 - 2024-12-14 09:29:30 [0.52ms] */
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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102381}}', 123, 'App\Models\User', 200412, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 131 - 2024-12-14 09:29:30 [0.29ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax Fee for 21 HP', 'Yearly Tax Fee for 21 HP', 1, 78.00, 78.00, 102380, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 198 - 2024-12-14 09:29:30 [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, 102381, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 132 - 2024-12-14 09:29:30 [0.38ms] */
select * from `invoice_item` where `id` = 200413 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 199 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200414 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 200 - 2024-12-14 09:29:30 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102381}}', 123, 'App\Models\User', 200414, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 201 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102381 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 133 - 2024-12-14 09:29:30 [0.35ms] */
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 Tax Fee for 21 HP","description":"Yearly Tax Fee for 21 HP","unit_price":"78.00","quantity":1,"total_price":"78.00","invoice_id":102380}}', 123, 'App\Models\User', 200413, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 202 - 2024-12-14 09:29:30 [0.25ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102381 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 203 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102381 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/61
   Query 134 - 2024-12-14 09:29:30 [0.28ms] */
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, 102380, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 204 - 2024-12-14 09:29:30 [0.18ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102381;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 135 - 2024-12-14 09:29:30 [0.32ms] */
select * from `invoice_item` where `id` = 200415 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 205 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102381 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 206 - 2024-12-14 09:29:30 [0.2ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102381, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 136 - 2024-12-14 09:29:30 [0.39ms] */
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":102380}}', 123, 'App\Models\User', 200415, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 207 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-773-102381599', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102381;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 208 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102381 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 137 - 2024-12-14 09:29:30 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 102380 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 209 - 2024-12-14 09:29:30 [0.2ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-773-102381599","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102381, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 138 - 2024-12-14 09:29:30 [0.43ms] */
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` = 102380 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 210 - 2024-12-14 09:29:30 [0.19ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99384, `invoice_id` = 102381, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102797;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 211 - 2024-12-14 09:29:30 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 139 - 2024-12-14 09:29:30 [0.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102380 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/61
   Query 140 - 2024-12-14 09:29:30 [0.33ms] */
update `invoice` set `invoice_amount` = 86, `outstanding_balance` = 86, `discounts` = 0, `total_invoice_amount` = 86, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102380;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 141 - 2024-12-14 09:29:30 [0.38ms] */
select * from `invoice` where `id` = 102380 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 212 - 2024-12-14 09:29:30 [1.95ms] */
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/61
   Query 142 - 2024-12-14 09:29:30 [0.37ms] */
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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102380, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 143 - 2024-12-14 09:29:30 [0.33ms] */
update `invoice` set `invoice_number` = 'INV-379-102380577', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102380;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 144 - 2024-12-14 09:29:30 [0.34ms] */
select * from `invoice` where `id` = 102380 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 145 - 2024-12-14 09:29:30 [0.25ms] */
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":"86.00","outstanding_balance":"86.00","discounts":"0.00","total_invoice_amount":"86.00","invoice_number":"INV-379-102380577","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102380, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 146 - 2024-12-14 09:29:30 [0.21ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99383, `invoice_id` = 102380, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102796;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 147 - 2024-12-14 09:29:30 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 148 - 2024-12-14 09:29:30 [0.2ms] */
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/61
   Query 149 - 2024-12-14 09:29:30 [0.21ms] */
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/61
   Query 150 - 2024-12-14 09:29:30 [0.25ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 151 - 2024-12-14 09:29:30 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102798, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 152 - 2024-12-14 09:29:30 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 153 - 2024-12-14 09:29:30 [0.22ms] */
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', 'NX0-74692-716', 61, 98, 27059, 74692, 102798, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 154 - 2024-12-14 09:29:30 [0.18ms] */
select * from `vehicle_tax` where `id` = 99385 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 155 - 2024-12-14 09:29:30 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"NX0-74692-716","tax_sticker_id":null,"vehicle_id":61,"term_id":98,"party_id":27059,"transaction_id":102798,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99385, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 156 - 2024-12-14 09:29:30 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 157 - 2024-12-14 09:29:30 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 158 - 2024-12-14 09:29:30 [0.16ms] */
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/61
   Query 159 - 2024-12-14 09:29:30 [0.2ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 160 - 2024-12-14 09:29:30 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102798, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 161 - 2024-12-14 09:29:30 [0.44ms] */
select * from `invoice` where `id` = 102382 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 213 - 2024-12-14 09:29:30 [0.56ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 61 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 162 - 2024-12-14 09:29:30 [0.49ms] */
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":102798,"party_id":27059,"invoice_amount":"0.00","invoice_date":"2024-03-01 00:00:00","due_date":"2024-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}}', 123, 'App\Models\User', 102382, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 214 - 2024-12-14 09:29:30 [0.39ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 163 - 2024-12-14 09:29:30 [0.29ms] */
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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102382, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 215 - 2024-12-14 09:29:30 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 164 - 2024-12-14 09:29:30 [0.32ms] */
select * from `invoice_item` where `id` = 200416 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 216 - 2024-12-14 09:29:30 [0.28ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 165 - 2024-12-14 09:29:30 [0.37ms] */
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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102382}}', 123, 'App\Models\User', 200416, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 217 - 2024-12-14 09:29:30 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 61 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/61
   Query 166 - 2024-12-14 09:29:30 [0.28ms] */
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, 102382, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 167 - 2024-12-14 09:29:30 [0.31ms] */
select * from `invoice_item` where `id` = 200417 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 218 - 2024-12-14 09:29:30 [0.67ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 61 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:30' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 219 - 2024-12-14 09:29:30 [0.44ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 61 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 168 - 2024-12-14 09:29:30 [0.34ms] */
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":102382}}', 123, 'App\Models\User', 200417, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 169 - 2024-12-14 09:29:30 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 102382 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 220 - 2024-12-14 09:29:30 [0.53ms] */
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 (99375, 99376, 99377, 99379, 99381, 99384) 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/61
   Query 170 - 2024-12-14 09:29:30 [0.47ms] */
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` = 102382 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 171 - 2024-12-14 09:29:30 [0.41ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102382 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/61
   Query 221 - 2024-12-14 09:29:30 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 61 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 172 - 2024-12-14 09:29:30 [0.35ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102382;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 173 - 2024-12-14 09:29:30 [0.39ms] */
select * from `invoice` where `id` = 102382 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 222 - 2024-12-14 09:29:30 [0.25ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 223 - 2024-12-14 09:29:30 [0.22ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 174 - 2024-12-14 09:29:30 [0.4ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102382, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 224 - 2024-12-14 09:29:30 [0.22ms] */
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/start/61
   Query 225 - 2024-12-14 09:29:30 [0.38ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 61 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 175 - 2024-12-14 09:29:30 [0.36ms] */
update `invoice` set `invoice_number` = 'INV-870-102382441', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102382;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 176 - 2024-12-14 09:29:30 [0.37ms] */
select * from `invoice` where `id` = 102382 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 226 - 2024-12-14 09:29:30 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 227 - 2024-12-14 09:29:30 [0.23ms] */
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/start/61
   Query 177 - 2024-12-14 09:29:30 [0.38ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-870-102382441","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102382, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 228 - 2024-12-14 09:29:30 [0.23ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 178 - 2024-12-14 09:29:30 [0.29ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99385, `invoice_id` = 102382, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102798;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 229 - 2024-12-14 09:29:30 [0.22ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 179 - 2024-12-14 09:29:30 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 180 - 2024-12-14 09:29:30 [0.3ms] */
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/61
   Query 181 - 2024-12-14 09:29:30 [0.31ms] */
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/61
   Query 182 - 2024-12-14 09:29:30 [0.4ms] */
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 (27059, 2, 61, null, 2, 6, null, 1006, 1006, 'OPEN', null, null, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 183 - 2024-12-14 09:29:30 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102799, 'INITIATED', '2024-12-14 09:29:30', 5, 123, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 230 - 2024-12-14 09:29:30 [0.21ms] */
select * from `party` where `party`.`id` = 27059 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 184 - 2024-12-14 09:29:30 [0.32ms] */
select * from `term` where `year` = 2024 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 231 - 2024-12-14 09:29:30 [0.17ms] */
select * from `person` where `person`.`id` = 27059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 185 - 2024-12-14 09:29:30 [0.3ms] */
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', 'ZV8-74692-879', 61, 99, 27059, 74692, 102799, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 186 - 2024-12-14 09:29:30 [0.28ms] */
select * from `vehicle_tax` where `id` = 99386 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 187 - 2024-12-14 09:29:30 [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":"ZV8-74692-879","tax_sticker_id":null,"vehicle_id":61,"term_id":99,"party_id":27059,"transaction_id":102799,"party_vehicle_id":74692,"exempt":"N","migration_id":null}}', 123, 'App\Models\User', 99386, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 188 - 2024-12-14 09:29:30 [0.35ms] */
(select * from `service_fee` where `sub_category_id` = 6 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` = 6 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/61
   Query 189 - 2024-12-14 09:29:30 [0.31ms] */
(select * from `service_fee` where `sub_category_id` = 6 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 6 and `classification_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/61
   Query 190 - 2024-12-14 09:29:30 [0.26ms] */
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/61
   Query 191 - 2024-12-14 09:29:30 [0.43ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 192 - 2024-12-14 09:29:30 [0.22ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102799, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 27059, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 193 - 2024-12-14 09:29:30 [0.19ms] */
select * from `invoice` where `id` = 102383 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 194 - 2024-12-14 09:29:30 [0.2ms] */
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":102799,"party_id":27059,"invoice_amount":"0.00","invoice_date":"2024-06-01 00:00:00","due_date":"2024-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}}', 123, 'App\Models\User', 102383, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 195 - 2024-12-14 09:29:30 [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 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 102383, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 196 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200418 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 197 - 2024-12-14 09:29:30 [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 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":102383}}', 123, 'App\Models\User', 200418, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 198 - 2024-12-14 09:29:30 [0.17ms] */
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, 102383, 123, 123, '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 199 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice_item` where `id` = 200419 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 200 - 2024-12-14 09:29:30 [0.2ms] */
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":102383}}', 123, 'App\Models\User', 200419, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 201 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102383 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 202 - 2024-12-14 09:29:30 [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` = 102383 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 203 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102383 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/61
   Query 204 - 2024-12-14 09:29:30 [0.17ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102383;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 205 - 2024-12-14 09:29:30 [0.2ms] */
select * from `invoice` where `id` = 102383 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 206 - 2024-12-14 09:29:30 [0.47ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 123, 'App\Models\User', 102383, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 207 - 2024-12-14 09:29:30 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-949-102383190', `invoice`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102383;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 208 - 2024-12-14 09:29:30 [0.21ms] */
select * from `invoice` where `id` = 102383 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 232 - 2024-12-14 09:29:30 [13.84ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 27059 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/61
   Query 209 - 2024-12-14 09:29:30 [0.22ms] */
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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-949-102383190","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 123, 'App\Models\User', 102383, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-14 09:29:30', '2024-12-14 09:29:30');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 210 - 2024-12-14 09:29:30 [0.19ms] */
update `transaction` set `party_vehicle_id` = 74692, `vehicle_tax_id` = 99386, `invoice_id` = 102383, `transaction`.`updated_at` = '2024-12-14 09:29:30' where `id` = 102799;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 233 - 2024-12-14 09:29:30 [0.27ms] */
select * from `address` where `address`.`id` = 27059 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/61
   Query 211 - 2024-12-14 09:29:30 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 61 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/61
   Query 234 - 2024-12-14 09:29:30 [1.12ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 212 - 2024-12-14 09:29:30 [1.96ms] */
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/61
   Query 235 - 2024-12-14 09:29:30 [0.25ms] */
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/61
   Query 236 - 2024-12-14 09:29:30 [0.31ms] */
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/61
   Query 237 - 2024-12-14 09:29:30 [0.28ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 213 - 2024-12-14 09:29:30 [0.68ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 61 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 214 - 2024-12-14 09:29:30 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 215 - 2024-12-14 09:29:30 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 61 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 216 - 2024-12-14 09:29:30 [0.27ms] */
select * from `party` where `party`.`id` = 27059 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/61
   Query 217 - 2024-12-14 09:29:30 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 61 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/61
   Query 218 - 2024-12-14 09:29:30 [0.86ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 61 and `term`.`first_date_of_quarter` <= '2024-12-14 09:29:30' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 219 - 2024-12-14 09:29:30 [0.5ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 61 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 220 - 2024-12-14 09:29:30 [0.63ms] */
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 (99375, 99376, 99377, 99378, 99379, 99380, 99381, 99382, 99383, 99384, 99385, 99386) 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/61
   Query 221 - 2024-12-14 09:29:30 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 61 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 222 - 2024-12-14 09:29:30 [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/start/61
   Query 223 - 2024-12-14 09:29:30 [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/start/61
   Query 224 - 2024-12-14 09:29:30 [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/start/61
   Query 225 - 2024-12-14 09:29:30 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 61 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 226 - 2024-12-14 09:29:30 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 227 - 2024-12-14 09:29:30 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 228 - 2024-12-14 09:29:30 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 229 - 2024-12-14 09:29:30 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 230 - 2024-12-14 09:29:30 [0.23ms] */
select * from `party` where `party`.`id` = 27059 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 231 - 2024-12-14 09:29:30 [0.16ms] */
select * from `person` where `person`.`id` = 27059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 232 - 2024-12-14 09:29:30 [11.25ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 27059 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/61
   Query 233 - 2024-12-14 09:29:30 [0.15ms] */
select * from `address` where `address`.`id` = 27059 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/61
   Query 238 - 2024-12-14 09:29:30 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 234 - 2024-12-14 09:29:30 [0.55ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 235 - 2024-12-14 09:29:30 [0.13ms] */
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/61
   Query 236 - 2024-12-14 09:29:30 [0.13ms] */
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/61
   Query 239 - 2024-12-14 09:29:30 [0.46ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 237 - 2024-12-14 09:29:30 [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/61
   Query 240 - 2024-12-14 09:29:30 [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/61
   Query 241 - 2024-12-14 09:29:30 [0.13ms] */
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/61
   Query 242 - 2024-12-14 09:29:30 [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/61
   Query 243 - 2024-12-14 09:29:30 [0.44ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 238 - 2024-12-14 09:29:30 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 244 - 2024-12-14 09:29:30 [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/61
   Query 245 - 2024-12-14 09:29:30 [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/61
   Query 246 - 2024-12-14 09:29:30 [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/61
   Query 239 - 2024-12-14 09:29:30 [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/61
   Query 240 - 2024-12-14 09:29:30 [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/61
   Query 241 - 2024-12-14 09:29:30 [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/61
   Query 242 - 2024-12-14 09:29:30 [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/61
   Query 247 - 2024-12-14 09:29:30 [0.15ms] */
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/61
   Query 248 - 2024-12-14 09:29:30 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 102788 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/61
   Query 249 - 2024-12-14 09:29:30 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 102372 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/61
   Query 250 - 2024-12-14 09:29:30 [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/start/61
   Query 251 - 2024-12-14 09:29:30 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 102789 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/61
   Query 252 - 2024-12-14 09:29:30 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 102373 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/61
   Query 253 - 2024-12-14 09:29:30 [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/61
   Query 254 - 2024-12-14 09:29:30 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 102790 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/61
   Query 243 - 2024-12-14 09:29:30 [0.45ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 255 - 2024-12-14 09:29:30 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 102374 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/61
   Query 256 - 2024-12-14 09:29:30 [0.14ms] */
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/61
   Query 244 - 2024-12-14 09:29:30 [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/61
   Query 257 - 2024-12-14 09:29:30 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 102792 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/61
   Query 245 - 2024-12-14 09:29:30 [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/61
   Query 246 - 2024-12-14 09:29:30 [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/61
   Query 258 - 2024-12-14 09:29:30 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 102376 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/61
   Query 259 - 2024-12-14 09:29:30 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 260 - 2024-12-14 09:29:30 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 102794 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/61
   Query 261 - 2024-12-14 09:29:30 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 102378 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/61
   Query 262 - 2024-12-14 09:29:30 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 263 - 2024-12-14 09:29:30 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 102797 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/61
   Query 264 - 2024-12-14 09:29:30 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 102381 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/61
   Query 265 - 2024-12-14 09:29:30 [0.55ms] */
(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/61
   Query 266 - 2024-12-14 09:29:30 [0.31ms] */
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/61
   Query 267 - 2024-12-14 09:29:30 [0.29ms] */
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/61
   Query 268 - 2024-12-14 09:29:30 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 269 - 2024-12-14 09:29:30 [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/61
   Query 270 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 271 - 2024-12-14 09:29:30 [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/61
   Query 272 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 273 - 2024-12-14 09:29:30 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 274 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 275 - 2024-12-14 09:29:30 [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/61
   Query 276 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 277 - 2024-12-14 09:29:30 [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/61
   Query 247 - 2024-12-14 09:29:30 [0.15ms] */
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/61
   Query 248 - 2024-12-14 09:29:30 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 102788 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/61
   Query 249 - 2024-12-14 09:29:30 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 102372 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/61
   Query 250 - 2024-12-14 09:29:30 [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/start/61
   Query 251 - 2024-12-14 09:29:30 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 102791 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/61
   Query 252 - 2024-12-14 09:29:30 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 102375 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/61
   Query 253 - 2024-12-14 09:29:30 [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/61
   Query 254 - 2024-12-14 09:29:30 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102789 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/61
   Query 255 - 2024-12-14 09:29:30 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102373 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/61
   Query 256 - 2024-12-14 09:29:30 [0.28ms] */
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/61
   Query 278 - 2024-12-14 09:29:30 [0.17ms] */
select * from `district` where `district`.`id` = 1006 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 279 - 2024-12-14 09:29:30 [0.17ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 257 - 2024-12-14 09:29:30 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 102793 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/61
   Query 258 - 2024-12-14 09:29:30 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 102377 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/61
   Query 259 - 2024-12-14 09:29:30 [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/start/61
   Query 260 - 2024-12-14 09:29:30 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 102790 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/61
   Query 261 - 2024-12-14 09:29:30 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 102374 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/61
   Query 262 - 2024-12-14 09:29:30 [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/start/61
   Query 263 - 2024-12-14 09:29:30 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 102795 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/61
   Query 264 - 2024-12-14 09:29:30 [0.45ms] */
select * from `invoice` where `invoice`.`id` = 102379 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/61
   Query 265 - 2024-12-14 09:29:30 [0.24ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 266 - 2024-12-14 09:29:30 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 102792 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/61
   Query 267 - 2024-12-14 09:29:30 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 102376 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/61
   Query 268 - 2024-12-14 09:29:30 [0.26ms] */
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/61
   Query 269 - 2024-12-14 09:29:30 [0.49ms] */
select * from `transaction` where `transaction`.`id` = 102796 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/61
   Query 270 - 2024-12-14 09:29:30 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 102380 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/61
   Query 271 - 2024-12-14 09:29:30 [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/61
   Query 272 - 2024-12-14 09:29:30 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 102794 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/61
   Query 273 - 2024-12-14 09:29:30 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 102378 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/61
   Query 274 - 2024-12-14 09:29:30 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 275 - 2024-12-14 09:29:30 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102798 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/61
   Query 276 - 2024-12-14 09:29:30 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 102382 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/61
   Query 277 - 2024-12-14 09:29:30 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 278 - 2024-12-14 09:29:30 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102797 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/61
   Query 279 - 2024-12-14 09:29:30 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 102381 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/61
   Query 280 - 2024-12-14 09:29:30 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 281 - 2024-12-14 09:29:30 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 102799 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/61
   Query 282 - 2024-12-14 09:29:30 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 102383 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/61
   Query 283 - 2024-12-14 09:29:30 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 284 - 2024-12-14 09:29:30 [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/61
   Query 285 - 2024-12-14 09:29:30 [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/61
   Query 286 - 2024-12-14 09:29:30 [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/61
   Query 287 - 2024-12-14 09:29:30 [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/61
   Query 288 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 289 - 2024-12-14 09:29:30 [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/61
   Query 290 - 2024-12-14 09:29:30 [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/61
   Query 291 - 2024-12-14 09:29:30 [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/61
   Query 292 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 293 - 2024-12-14 09:29:30 [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/61
   Query 294 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 295 - 2024-12-14 09:29:30 [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/61
   Query 296 - 2024-12-14 09:29:30 [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/61
   Query 297 - 2024-12-14 09:29:30 [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/61
   Query 298 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 299 - 2024-12-14 09:29:30 [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/61
   Query 300 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 301 - 2024-12-14 09:29:30 [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/61
   Query 302 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 303 - 2024-12-14 09:29:30 [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/61
   Query 304 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 305 - 2024-12-14 09:29:30 [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/61
   Query 306 - 2024-12-14 09:29:30 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/61
   Query 307 - 2024-12-14 09:29:30 [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/61
   Query 308 - 2024-12-14 09:29:30 [0.16ms] */
