select * from `invoice` where `id` = 105327 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 273 - 2025-01-23 07:26:11 [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":105789,"party_id":58066,"invoice_amount":"0.00","invoice_date":"2025-09-01 00:00:00","due_date":"2025-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105327, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 274 - 2025-01-23 07:26:11 [0.19ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 20.00, 20.00, 105327, 5, 5, '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 275 - 2025-01-23 07:26:11 [0.2ms] */
select * from `invoice_item` where `id` = 207750 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 276 - 2025-01-23 07:26:11 [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":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"20.00","quantity":1,"total_price":"20.00","invoice_id":105327}}', 5, 'App\Models\User', 207750, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 277 - 2025-01-23 07:26:11 [0.19ms] */
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, 105327, 5, 5, '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 278 - 2025-01-23 07:26:11 [0.2ms] */
select * from `invoice_item` where `id` = 207751 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 279 - 2025-01-23 07:26:11 [0.21ms] */
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":105327}}', 5, 'App\Models\User', 207751, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 280 - 2025-01-23 07:26:11 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 105327 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 281 - 2025-01-23 07:26:11 [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` = 105327 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 282 - 2025-01-23 07:26:11 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105327 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/89183
   Query 283 - 2025-01-23 07:26:11 [0.23ms] */
update `invoice` set `invoice_amount` = 28, `outstanding_balance` = 28, `discounts` = 0, `total_invoice_amount` = 28, `invoice`.`updated_at` = '2025-01-23 07:26:11' where `id` = 105327;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 284 - 2025-01-23 07:26:11 [0.23ms] */
select * from `invoice` where `id` = 105327 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 285 - 2025-01-23 07:26:11 [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":"28.00","outstanding_balance":"28.00","discounts":"0.00","total_invoice_amount":"28.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105327, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 286 - 2025-01-23 07:26:11 [0.19ms] */
update `invoice` set `invoice_number` = 'INV-813-105327426', `invoice`.`updated_at` = '2025-01-23 07:26:11' where `id` = 105327;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 287 - 2025-01-23 07:26:11 [0.22ms] */
select * from `invoice` where `id` = 105327 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 288 - 2025-01-23 07:26:11 [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":"28.00","outstanding_balance":"28.00","discounts":"0.00","total_invoice_amount":"28.00","invoice_number":"INV-813-105327426","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105327, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:11', '2025-01-23 07:26:11');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 289 - 2025-01-23 07:26:11 [0.25ms] */
update `transaction` set `party_vehicle_id` = 88484, `vehicle_tax_id` = 101827, `invoice_id` = 105327, `transaction`.`updated_at` = '2025-01-23 07:26:11' where `id` = 105789;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 290 - 2025-01-23 07:26:11 [0.65ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89183 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 291 - 2025-01-23 07:26:11 [0.43ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89183 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 292 - 2025-01-23 07:26:11 [0.49ms] */
select * from `party_vehicle` where `vehicle_id` = 89183 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/89183
   Query 293 - 2025-01-23 07:26:11 [0.28ms] */
select * from `party` where `party`.`id` = 58066 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/89183
   Query 294 - 2025-01-23 07:26:11 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 89183 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/89183
   Query 295 - 2025-01-23 07:26:11 [0.74ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89183 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 296 - 2025-01-23 07:26:11 [0.46ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89183 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 297 - 2025-01-23 07:26:11 [0.55ms] */
select sum(`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (94954, 101820, 101821, 101822, 101823, 101824) 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/89183
   Query 298 - 2025-01-23 07:26:11 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 89183 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 299 - 2025-01-23 07:26:11 [0.28ms] */
select * from `model` where `model`.`id` = 317 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 300 - 2025-01-23 07:26:11 [0.14ms] */
select * from `make` where `make`.`id` = 11 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 301 - 2025-01-23 07:26:11 [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/start/89183
   Query 302 - 2025-01-23 07:26:11 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89183 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 303 - 2025-01-23 07:26:11 [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/89183
   Query 304 - 2025-01-23 07:26:11 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 305 - 2025-01-23 07:26:11 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 14 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 306 - 2025-01-23 07:26:11 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 307 - 2025-01-23 07:26:11 [0.15ms] */
select * from `party` where `party`.`id` = 58066 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 308 - 2025-01-23 07:26:11 [0.16ms] */
select * from `person` where `person`.`id` = 55665 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 309 - 2025-01-23 07:26:11 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55665 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/89183
   Query 310 - 2025-01-23 07:26:11 [0.15ms] */
select * from `address` where `address`.`id` = 58066 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/89183
   Query 311 - 2025-01-23 07:26:11 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 312 - 2025-01-23 07:26:11 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 313 - 2025-01-23 07:26:11 [0.54ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 314 - 2025-01-23 07:26:11 [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/89183
   Query 315 - 2025-01-23 07:26:11 [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/89183
   Query 316 - 2025-01-23 07:26:11 [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/89183
   Query 317 - 2025-01-23 07:26:11 [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/89183
   Query 318 - 2025-01-23 07:26:11 [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/89183
   Query 319 - 2025-01-23 07:26:11 [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/89183
   Query 320 - 2025-01-23 07:26:11 [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/89183
   Query 321 - 2025-01-23 07:26:11 [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/89183
   Query 322 - 2025-01-23 07:26:12 [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/89183
   Query 323 - 2025-01-23 07:26:12 [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/89183
   Query 324 - 2025-01-23 07:26:12 [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/89183
   Query 325 - 2025-01-23 07:26:12 [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/89183
   Query 326 - 2025-01-23 07:26:12 [0.15ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 327 - 2025-01-23 07:26:12 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 328 - 2025-01-23 07:26:12 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 105782 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/89183
   Query 329 - 2025-01-23 07:26:12 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 105320 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/89183
   Query 330 - 2025-01-23 07:26:12 [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/89183
   Query 331 - 2025-01-23 07:26:12 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 105783 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/89183
   Query 332 - 2025-01-23 07:26:12 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 105321 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/89183
   Query 333 - 2025-01-23 07:26:12 [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/89183
   Query 334 - 2025-01-23 07:26:12 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 105784 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/89183
   Query 335 - 2025-01-23 07:26:12 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 105322 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/89183
   Query 336 - 2025-01-23 07:26:12 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 337 - 2025-01-23 07:26:12 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 105785 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/89183
   Query 338 - 2025-01-23 07:26:12 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 105323 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/89183
   Query 339 - 2025-01-23 07:26:12 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 340 - 2025-01-23 07:26:12 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105786 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/89183
   Query 341 - 2025-01-23 07:26:12 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 105324 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/89183
   Query 342 - 2025-01-23 07:26:12 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 343 - 2025-01-23 07:26:12 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 105787 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/89183
   Query 344 - 2025-01-23 07:26:12 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 105325 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/89183
   Query 345 - 2025-01-23 07:26:12 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 346 - 2025-01-23 07:26:12 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 105788 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/89183
   Query 347 - 2025-01-23 07:26:12 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 105326 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/89183
   Query 348 - 2025-01-23 07:26:12 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 349 - 2025-01-23 07:26:12 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 105789 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/89183
   Query 350 - 2025-01-23 07:26:12 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 105327 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/89183
   Query 351 - 2025-01-23 07:26:12 [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/89183
   Query 352 - 2025-01-23 07:26:12 [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/89183
   Query 353 - 2025-01-23 07:26:12 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 354 - 2025-01-23 07:26:12 [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/89183
   Query 355 - 2025-01-23 07:26:12 [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/89183
   Query 356 - 2025-01-23 07:26:12 [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/89183
   Query 357 - 2025-01-23 07:26:12 [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/89183
   Query 358 - 2025-01-23 07:26:12 [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/89183
   Query 359 - 2025-01-23 07:26:12 [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/89183
   Query 360 - 2025-01-23 07:26:12 [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/89183
   Query 361 - 2025-01-23 07:26:12 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 362 - 2025-01-23 07:26:12 [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/89183
   Query 363 - 2025-01-23 07:26:12 [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/89183
   Query 364 - 2025-01-23 07:26:12 [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/89183
   Query 365 - 2025-01-23 07:26:12 [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/89183
   Query 366 - 2025-01-23 07:26:12 [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/89183
   Query 367 - 2025-01-23 07:26:12 [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/89183
   Query 368 - 2025-01-23 07:26:12 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/89183
   Query 369 - 2025-01-23 07:26:12 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 1 - 2025-01-23 07:26:24 [2.12ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 2 - 2025-01-23 07:26:24 [0.42ms] */
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?page=40
   Query 3 - 2025-01-23 07:26:24 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 4 - 2025-01-23 07:26:24 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 5 - 2025-01-23 07:26:24 [23.92ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:24' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 6 - 2025-01-23 07:26:24 [23.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` <= '2025-01-23 07:26:24' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 390;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 7 - 2025-01-23 07:26:24 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89395 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 8 - 2025-01-23 07:26:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89395 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 9 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 19983 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 10 - 2025-01-23 07:26:24 [0.15ms] */
select * from `person` where `person`.`id` = 19983 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 11 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 12 - 2025-01-23 07:26:24 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 13 - 2025-01-23 07:26:24 [0.14ms] */
select * from `model` where `model`.`id` = 20 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 14 - 2025-01-23 07:26:24 [0.14ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 15 - 2025-01-23 07:26:24 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 12 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 16 - 2025-01-23 07:26:24 [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` = 89395 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 17 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 18 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 19 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 20 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 21 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 22 - 2025-01-23 07:26:24 [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?page=40
   Query 23 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 24 - 2025-01-23 07:26:24 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89183 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 25 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89183 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 26 - 2025-01-23 07:26:24 [0.15ms] */
select * from `party` where `party`.`id` = 58066 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 27 - 2025-01-23 07:26:24 [0.14ms] */
select * from `person` where `person`.`id` = 55665 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 28 - 2025-01-23 07:26:24 [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?page=40
   Query 29 - 2025-01-23 07:26:24 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 30 - 2025-01-23 07:26:24 [0.12ms] */
select * from `model` where `model`.`id` = 317 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 31 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 11 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 32 - 2025-01-23 07:26:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 33 - 2025-01-23 07:26:24 [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` = 89183 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 34 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 35 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 36 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 37 - 2025-01-23 07:26:24 [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?page=40
   Query 38 - 2025-01-23 07:26:24 [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?page=40
   Query 39 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 40 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89159 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 41 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89159 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 42 - 2025-01-23 07:26:24 [0.17ms] */
select * from `party` where `party`.`id` = 58000 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 43 - 2025-01-23 07:26:24 [0.14ms] */
select * from `person` where `person`.`id` = 55621 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 44 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 45 - 2025-01-23 07:26:24 [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?page=40
   Query 46 - 2025-01-23 07:26:24 [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?page=40
   Query 47 - 2025-01-23 07:26:24 [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?page=40
   Query 48 - 2025-01-23 07:26:24 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 22 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 49 - 2025-01-23 07:26:24 [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` = 89159 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 50 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 51 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89182 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 52 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89182 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 53 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 58289 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 54 - 2025-01-23 07:26:24 [0.15ms] */
select * from `person` where `person`.`id` = 55818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 55 - 2025-01-23 07:26:24 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 56 - 2025-01-23 07:26:24 [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?page=40
   Query 57 - 2025-01-23 07:26:24 [0.13ms] */
select * from `model` where `model`.`id` = 347 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 58 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 15 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 59 - 2025-01-23 07:26:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 7 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 60 - 2025-01-23 07:26:24 [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` = 89182 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 61 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 62 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89169 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 63 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89169 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 64 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 58356 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 65 - 2025-01-23 07:26:24 [0.15ms] */
select * from `company` where `company`.`id` = 2494 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 66 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 67 - 2025-01-23 07:26:24 [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?page=40
   Query 68 - 2025-01-23 07:26:24 [0.13ms] */
select * from `model` where `model`.`id` = 309 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 69 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 11 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 70 - 2025-01-23 07:26:24 [0.13ms] */
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?page=40
   Query 71 - 2025-01-23 07:26:24 [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` = 89169 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 72 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 73 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 74 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89082 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 75 - 2025-01-23 07:26:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89082 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 76 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 58280 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 77 - 2025-01-23 07:26:24 [0.14ms] */
select * from `person` where `person`.`id` = 55814 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 78 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 79 - 2025-01-23 07:26:24 [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?page=40
   Query 80 - 2025-01-23 07:26:24 [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?page=40
   Query 81 - 2025-01-23 07:26:24 [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?page=40
   Query 82 - 2025-01-23 07:26:24 [0.12ms] */
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?page=40
   Query 83 - 2025-01-23 07:26:24 [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` = 89082 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 84 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 85 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89168 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 86 - 2025-01-23 07:26:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89168 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 87 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 58355 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 88 - 2025-01-23 07:26:24 [0.15ms] */
select * from `person` where `person`.`id` = 55862 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 89 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 90 - 2025-01-23 07:26:24 [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?page=40
   Query 91 - 2025-01-23 07:26:24 [0.13ms] */
select * from `model` where `model`.`id` = 47 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 92 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 4 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 93 - 2025-01-23 07:26:24 [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?page=40
   Query 94 - 2025-01-23 07:26:24 [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` = 89168 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 95 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 96 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 97 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88974 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 98 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 88974 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 99 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 57995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 100 - 2025-01-23 07:26:24 [0.15ms] */
select * from `person` where `person`.`id` = 55618 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 101 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 102 - 2025-01-23 07:26:24 [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?page=40
   Query 103 - 2025-01-23 07:26:24 [0.13ms] */
select * from `model` where `model`.`id` = 315 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 104 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 11 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 105 - 2025-01-23 07:26:24 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 6 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 106 - 2025-01-23 07:26:24 [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` = 88974 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 107 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 108 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89167 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 109 - 2025-01-23 07:26:24 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89167 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 110 - 2025-01-23 07:26:24 [0.16ms] */
select * from `party` where `party`.`id` = 27946 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 111 - 2025-01-23 07:26:24 [0.16ms] */
select * from `person` where `person`.`id` = 27946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 112 - 2025-01-23 07:26:24 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 113 - 2025-01-23 07:26:24 [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?page=40
   Query 114 - 2025-01-23 07:26:24 [0.14ms] */
select * from `model` where `model`.`id` = 21 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 115 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 116 - 2025-01-23 07:26:24 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 10 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 117 - 2025-01-23 07:26:24 [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` = 89167 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 118 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 119 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 120 - 2025-01-23 07:26:24 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89165 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 121 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89165 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 122 - 2025-01-23 07:26:24 [0.14ms] */
select * from `party` where `party`.`id` = 58353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 123 - 2025-01-23 07:26:24 [0.14ms] */
select * from `person` where `person`.`id` = 55860 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 124 - 2025-01-23 07:26:24 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 125 - 2025-01-23 07:26:24 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 126 - 2025-01-23 07:26:24 [0.12ms] */
select * from `model` where `model`.`id` = 1540 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 127 - 2025-01-23 07:26:24 [0.12ms] */
select * from `make` where `make`.`id` = 94 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 128 - 2025-01-23 07:26:24 [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?page=40
   Query 129 - 2025-01-23 07:26:24 [0.71ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89165 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 130 - 2025-01-23 07:26:24 [0.32ms] */
select * from `term` where `term`.`id` = 43 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 131 - 2025-01-23 07:26:24 [0.34ms] */
select * from `term` where `term`.`id` = 44 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 132 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 45 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 133 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 46 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 134 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 47 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 135 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 48 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 136 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 49 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 137 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 50 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 138 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 51 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 139 - 2025-01-23 07:26:24 [0.18ms] */
select * from `term` where `term`.`id` = 52 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 140 - 2025-01-23 07:26:24 [0.19ms] */
select * from `term` where `term`.`id` = 53 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 141 - 2025-01-23 07:26:24 [0.19ms] */
select * from `term` where `term`.`id` = 54 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 142 - 2025-01-23 07:26:24 [0.36ms] */
select * from `term` where `term`.`id` = 55 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 143 - 2025-01-23 07:26:24 [0.29ms] */
select * from `term` where `term`.`id` = 56 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 144 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 57 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 145 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 58 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 146 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 59 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 147 - 2025-01-23 07:26:24 [0.27ms] */
select * from `term` where `term`.`id` = 60 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 148 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 61 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 149 - 2025-01-23 07:26:24 [0.27ms] */
select * from `term` where `term`.`id` = 62 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 150 - 2025-01-23 07:26:24 [0.27ms] */
select * from `term` where `term`.`id` = 63 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 151 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 64 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 152 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 65 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 153 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 66 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 154 - 2025-01-23 07:26:24 [0.31ms] */
select * from `term` where `term`.`id` = 67 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 155 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 68 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 156 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 69 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 157 - 2025-01-23 07:26:24 [0.26ms] */
select * from `term` where `term`.`id` = 70 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 158 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 71 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 159 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 72 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 160 - 2025-01-23 07:26:24 [0.24ms] */
select * from `term` where `term`.`id` = 73 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 161 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 74 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 162 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 75 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 163 - 2025-01-23 07:26:24 [0.25ms] */
select * from `term` where `term`.`id` = 76 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 164 - 2025-01-23 07:26:24 [0.28ms] */
select * from `term` where `term`.`id` = 77 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 165 - 2025-01-23 07:26:24 [0.22ms] */
select * from `term` where `term`.`id` = 78 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 166 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 79 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 167 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 80 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 168 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 81 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 169 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 82 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 170 - 2025-01-23 07:26:24 [0.14ms] */
select * from `term` where `term`.`id` = 83 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 171 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 84 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 172 - 2025-01-23 07:26:24 [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?page=40
   Query 173 - 2025-01-23 07:26:24 [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?page=40
   Query 174 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 87 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 175 - 2025-01-23 07:26:24 [0.12ms] */
select * from `term` where `term`.`id` = 88 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 176 - 2025-01-23 07:26:24 [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?page=40
   Query 177 - 2025-01-23 07:26:24 [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?page=40
   Query 178 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 179 - 2025-01-23 07:26:24 [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?page=40
   Query 180 - 2025-01-23 07:26:24 [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?page=40
   Query 181 - 2025-01-23 07:26:24 [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?page=40
   Query 182 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 183 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 184 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 185 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 186 - 2025-01-23 07:26:24 [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?page=40
   Query 187 - 2025-01-23 07:26:24 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 188 - 2025-01-23 07:26:24 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=40
   Query 189 - 2025-01-23 07:26:24 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-01-23 07:26:30 [2.06ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-01-23 07:26:30 [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 - 2025-01-23 07:26:30 [0.49ms] */
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 - 2025-01-23 07:26:30 [0.58ms] */
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 - 2025-01-23 07:26:30 [23.95ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:30' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-23 07:26:30 [23.33ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:30' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 380;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2025-01-23 07:26:30 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88909 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 - 2025-01-23 07:26:30 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 88909 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 - 2025-01-23 07:26:30 [0.21ms] */
select * from `party` where `party`.`id` = 57990 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 - 2025-01-23 07:26:30 [0.24ms] */
select * from `person` where `person`.`id` = 55613 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2025-01-23 07:26: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): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 12 - 2025-01-23 07:26:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2025-01-23 07:26:30 [0.19ms] */
select * from `model` where `model`.`id` = 1263 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2025-01-23 07:26:30 [0.18ms] */
select * from `make` where `make`.`id` = 72 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2025-01-23 07:26:30 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2025-01-23 07:26:30 [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` = 88909 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:30 [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 18 - 2025-01-23 07:26:30 [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 19 - 2025-01-23 07:26:30 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 20 - 2025-01-23 07:26:30 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 21 - 2025-01-23 07:26:30 [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 22 - 2025-01-23 07:26:30 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 23 - 2025-01-23 07:26:30 [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 24 - 2025-01-23 07:26:30 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 25 - 2025-01-23 07:26:30 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88902 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 26 - 2025-01-23 07:26:31 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 88902 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 27 - 2025-01-23 07:26:31 [0.21ms] */
select * from `party` where `party`.`id` = 58067 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 28 - 2025-01-23 07:26:31 [0.29ms] */
select * from `person` where `person`.`id` = 55666 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 29 - 2025-01-23 07:26:31 [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 30 - 2025-01-23 07:26:31 [0.25ms] */
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 31 - 2025-01-23 07:26:31 [0.41ms] */
select * from `model` where `model`.`id` = 953 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 32 - 2025-01-23 07:26:31 [0.36ms] */
select * from `make` where `make`.`id` = 46 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2025-01-23 07:26:31 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 12 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 34 - 2025-01-23 07:26:31 [0.71ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 88902 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 35 - 2025-01-23 07:26:31 [0.21ms] */
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 36 - 2025-01-23 07:26:31 [0.22ms] */
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 37 - 2025-01-23 07:26:31 [0.19ms] */
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 38 - 2025-01-23 07:26:31 [0.19ms] */
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 39 - 2025-01-23 07:26:31 [0.19ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 40 - 2025-01-23 07:26:31 [0.21ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 41 - 2025-01-23 07:26:31 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 42 - 2025-01-23 07:26:31 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62004 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 43 - 2025-01-23 07:26:31 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 62004 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 44 - 2025-01-23 07:26:31 [0.31ms] */
select * from `party` where `party`.`id` = 58076 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 45 - 2025-01-23 07:26:31 [0.39ms] */
select * from `person` where `person`.`id` = 55674 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 46 - 2025-01-23 07:26:31 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 3 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 47 - 2025-01-23 07:26:31 [0.21ms] */
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 48 - 2025-01-23 07:26:31 [0.2ms] */
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 49 - 2025-01-23 07:26:31 [0.2ms] */
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 50 - 2025-01-23 07:26:31 [0.19ms] */
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 51 - 2025-01-23 07:26:31 [0.56ms] */
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` = 62004 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 52 - 2025-01-23 07:26:31 [0.21ms] */
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 53 - 2025-01-23 07:26:31 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1286 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 54 - 2025-01-23 07:26:31 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 1286 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 55 - 2025-01-23 07:26:31 [0.35ms] */
select * from `party` where `party`.`id` = 27253 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 56 - 2025-01-23 07:26:31 [0.25ms] */
select * from `person` where `person`.`id` = 27253 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 57 - 2025-01-23 07:26: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 58 - 2025-01-23 07:26: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 59 - 2025-01-23 07:26: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 60 - 2025-01-23 07:26: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 61 - 2025-01-23 07:26: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 62 - 2025-01-23 07:26:31 [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` = 1286 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 63 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 64 - 2025-01-23 07:26:31 [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 65 - 2025-01-23 07:26:31 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2025-01-23 07:26:31 [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 68 - 2025-01-23 07:26:31 [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 69 - 2025-01-23 07:26:31 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 70 - 2025-01-23 07:26: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 71 - 2025-01-23 07:26:31 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 72 - 2025-01-23 07:26:31 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88906 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 - 2025-01-23 07:26:31 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 88906 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 - 2025-01-23 07:26:31 [0.21ms] */
select * from `party` where `party`.`id` = 57988 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 - 2025-01-23 07:26:31 [0.25ms] */
select * from `person` where `person`.`id` = 55611 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 76 - 2025-01-23 07:26: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 77 - 2025-01-23 07:26:31 [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 78 - 2025-01-23 07:26:31 [0.19ms] */
select * from `model` where `model`.`id` = 429 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 79 - 2025-01-23 07:26:31 [0.18ms] */
select * from `make` where `make`.`id` = 19 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2025-01-23 07:26:31 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 81 - 2025-01-23 07:26:31 [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` = 88906 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:31 [0.14ms] */
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 - 2025-01-23 07:26:31 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 84 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 85 - 2025-01-23 07:26:31 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 86 - 2025-01-23 07:26:31 [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 - 2025-01-23 07:26:31 [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 - 2025-01-23 07:26: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 89 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 90 - 2025-01-23 07:26:31 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88947 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 91 - 2025-01-23 07:26:31 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 88947 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 92 - 2025-01-23 07:26:31 [0.21ms] */
select * from `party` where `party`.`id` = 8735 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 93 - 2025-01-23 07:26:31 [0.2ms] */
select * from `company` where `company`.`id` = 8735 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2025-01-23 07:26: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 95 - 2025-01-23 07:26: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 96 - 2025-01-23 07:26:31 [0.19ms] */
select * from `model` where `model`.`id` = 169 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 97 - 2025-01-23 07:26:31 [0.12ms] */
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 98 - 2025-01-23 07:26:31 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 13 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 99 - 2025-01-23 07:26:31 [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` = 88947 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 100 - 2025-01-23 07:26:31 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 101 - 2025-01-23 07:26:31 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89397 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 - 2025-01-23 07:26:31 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89397 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 - 2025-01-23 07:26:31 [0.21ms] */
select * from `party` where `party`.`id` = 58084 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 - 2025-01-23 07:26:31 [0.22ms] */
select * from `person` where `person`.`id` = 55680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 105 - 2025-01-23 07:26: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 - 2025-01-23 07:26: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 107 - 2025-01-23 07:26:31 [0.13ms] */
select * from `model` where `model`.`id` = 12 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 108 - 2025-01-23 07:26: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 109 - 2025-01-23 07:26:31 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 7 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 110 - 2025-01-23 07:26:31 [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` = 89397 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 111 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 112 - 2025-01-23 07:26:31 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89171 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 113 - 2025-01-23 07:26:31 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 89171 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 114 - 2025-01-23 07:26:31 [0.22ms] */
select * from `party` where `party`.`id` = 22878 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 115 - 2025-01-23 07:26:31 [0.2ms] */
select * from `company` where `company`.`id` = 22878 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 116 - 2025-01-23 07:26: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 117 - 2025-01-23 07:26: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 118 - 2025-01-23 07:26:31 [0.18ms] */
select * from `model` where `model`.`id` = 1224 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 119 - 2025-01-23 07:26:31 [0.18ms] */
select * from `make` where `make`.`id` = 65 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 120 - 2025-01-23 07:26:31 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 27 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 121 - 2025-01-23 07:26:31 [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` = 89171 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 122 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 123 - 2025-01-23 07:26:31 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88941 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 124 - 2025-01-23 07:26:31 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 88941 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 125 - 2025-01-23 07:26:31 [0.25ms] */
select * from `party` where `party`.`id` = 58374 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 126 - 2025-01-23 07:26:31 [0.21ms] */
select * from `company` where `company`.`id` = 2508 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 127 - 2025-01-23 07:26: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 128 - 2025-01-23 07:26: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 129 - 2025-01-23 07:26:31 [0.12ms] */
select * from `model` where `model`.`id` = 47 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 130 - 2025-01-23 07:26:31 [0.12ms] */
select * from `make` where `make`.`id` = 4 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 131 - 2025-01-23 07:26:31 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 4 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 132 - 2025-01-23 07:26:31 [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` = 88941 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 133 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 134 - 2025-01-23 07:26:31 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89398 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 135 - 2025-01-23 07:26:31 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89398 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 136 - 2025-01-23 07:26:31 [0.14ms] */
select * from `party` where `party`.`id` = 58000 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 137 - 2025-01-23 07:26:31 [0.15ms] */
select * from `person` where `person`.`id` = 55621 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 138 - 2025-01-23 07:26: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 139 - 2025-01-23 07:26: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 140 - 2025-01-23 07:26: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 141 - 2025-01-23 07:26: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 142 - 2025-01-23 07:26:31 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 143 - 2025-01-23 07:26:31 [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` = 89398 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 144 - 2025-01-23 07:26:31 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-01-23 07:26:37 [1.72ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-01-23 07:26:37 [0.66ms] */
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 - 2025-01-23 07:26:37 [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 4 - 2025-01-23 07:26:37 [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 - 2025-01-23 07:26:37 [23.85ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:37' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-23 07:26:37 [23.2ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:37' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 350;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2025-01-23 07:26:37 [0.39ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89401 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 - 2025-01-23 07:26:37 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 89401 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 - 2025-01-23 07:26:37 [0.2ms] */
select * from `party` where `party`.`id` = 54816 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 - 2025-01-23 07:26:37 [0.75ms] */
select * from `person` where `person`.`id` = 54816 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2025-01-23 07:26:37 [0.43ms] */
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 - 2025-01-23 07:26:37 [0.28ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2025-01-23 07:26:37 [0.26ms] */
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 14 - 2025-01-23 07:26:37 [0.18ms] */
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 15 - 2025-01-23 07:26:37 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 4 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2025-01-23 07:26:37 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89401 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:37 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 18 - 2025-01-23 07:26:37 [0.3ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89504 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 19 - 2025-01-23 07:26:37 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89504 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 20 - 2025-01-23 07:26:37 [0.22ms] */
select * from `party` where `party`.`id` = 58407 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 21 - 2025-01-23 07:26:37 [0.23ms] */
select * from `person` where `person`.`id` = 55890 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 22 - 2025-01-23 07:26:37 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 23 - 2025-01-23 07:26:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 24 - 2025-01-23 07:26:37 [0.12ms] */
select * from `model` where `model`.`id` = 2287 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 25 - 2025-01-23 07:26:37 [0.12ms] */
select * from `make` where `make`.`id` = 273 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 26 - 2025-01-23 07:26:37 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 27 - 2025-01-23 07:26:37 [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` = 89504 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 28 - 2025-01-23 07:26:37 [0.23ms] */
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 29 - 2025-01-23 07:26:37 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88775 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 - 2025-01-23 07:26:37 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 88775 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 - 2025-01-23 07:26:37 [0.2ms] */
select * from `party` where `party`.`id` = 55103 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 - 2025-01-23 07:26:37 [0.38ms] */
select * from `person` where `person`.`id` = 55103 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2025-01-23 07:26:37 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 34 - 2025-01-23 07:26:37 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 35 - 2025-01-23 07:26:37 [0.26ms] */
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 36 - 2025-01-23 07:26:37 [0.26ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 37 - 2025-01-23 07:26:37 [0.26ms] */
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 38 - 2025-01-23 07:26:37 [0.8ms] */
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` = 88775 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:37 [0.29ms] */
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 40 - 2025-01-23 07:26:37 [0.27ms] */
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 41 - 2025-01-23 07:26:37 [0.24ms] */
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 42 - 2025-01-23 07:26:37 [0.26ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 43 - 2025-01-23 07:26:37 [0.3ms] */
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 44 - 2025-01-23 07:26:37 [0.3ms] */
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 45 - 2025-01-23 07:26:37 [0.31ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 46 - 2025-01-23 07:26:37 [0.3ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 47 - 2025-01-23 07:26:37 [0.44ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89497 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 48 - 2025-01-23 07:26:37 [0.41ms] */
select * from `party_vehicle` where `vehicle_id` = 89497 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 49 - 2025-01-23 07:26:37 [0.99ms] */
select * from `party` where `party`.`id` = 57626 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 50 - 2025-01-23 07:26:37 [0.27ms] */
select * from `company` where `company`.`id` = 2017 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 51 - 2025-01-23 07:26:37 [0.31ms] */
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 52 - 2025-01-23 07:26:37 [0.33ms] */
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 53 - 2025-01-23 07:26:37 [0.21ms] */
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 54 - 2025-01-23 07:26:37 [0.2ms] */
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 55 - 2025-01-23 07:26:37 [1.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 32 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 56 - 2025-01-23 07:26:37 [2.1ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89497 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 57 - 2025-01-23 07:26:37 [0.23ms] */
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 58 - 2025-01-23 07:26:37 [1.07ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89484 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 59 - 2025-01-23 07:26:37 [0.88ms] */
select * from `party_vehicle` where `vehicle_id` = 89484 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 60 - 2025-01-23 07:26:37 [0.88ms] */
select * from `party` where `party`.`id` = 58403 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 61 - 2025-01-23 07:26:37 [0.95ms] */
select * from `person` where `person`.`id` = 55886 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2025-01-23 07:26:37 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 63 - 2025-01-23 07:26:37 [0.19ms] */
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 64 - 2025-01-23 07:26:37 [0.18ms] */
select * from `model` where `model`.`id` = 47 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 65 - 2025-01-23 07:26:37 [0.17ms] */
select * from `make` where `make`.`id` = 4 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2025-01-23 07:26:37 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2025-01-23 07:26:37 [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` = 89484 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 68 - 2025-01-23 07:26:37 [0.2ms] */
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 69 - 2025-01-23 07:26:37 [0.18ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 70 - 2025-01-23 07:26:37 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 71 - 2025-01-23 07:26:37 [0.17ms] */
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 72 - 2025-01-23 07:26:37 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 73 - 2025-01-23 07:26:37 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 74 - 2025-01-23 07:26:37 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89475 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 75 - 2025-01-23 07:26:37 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 89475 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 76 - 2025-01-23 07:26:37 [0.29ms] */
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 77 - 2025-01-23 07:26:37 [0.33ms] */
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 78 - 2025-01-23 07:26:37 [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 79 - 2025-01-23 07:26:37 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 15 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2025-01-23 07:26:37 [0.19ms] */
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 81 - 2025-01-23 07:26:37 [0.17ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 82 - 2025-01-23 07:26:37 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 83 - 2025-01-23 07:26:37 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89475 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 84 - 2025-01-23 07:26:37 [0.2ms] */
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 - 2025-01-23 07:26:37 [0.14ms] */
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 - 2025-01-23 07:26:37 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 87 - 2025-01-23 07:26:37 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 88 - 2025-01-23 07:26:37 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 89 - 2025-01-23 07:26:37 [0.59ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 510 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 - 2025-01-23 07:26:37 [0.64ms] */
select * from `party_vehicle` where `vehicle_id` = 510 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 - 2025-01-23 07:26:37 [0.4ms] */
select * from `party` where `party`.`id` = 57116 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 - 2025-01-23 07:26:37 [0.45ms] */
select * from `company` where `company`.`id` = 1507 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 93 - 2025-01-23 07:26:37 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2025-01-23 07:26:37 [0.22ms] */
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 95 - 2025-01-23 07:26:37 [0.22ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 96 - 2025-01-23 07:26:37 [0.22ms] */
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 97 - 2025-01-23 07:26:37 [0.23ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 98 - 2025-01-23 07:26:37 [0.66ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 510 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:37 [0.3ms] */
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 100 - 2025-01-23 07:26:37 [0.28ms] */
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 101 - 2025-01-23 07:26:37 [0.29ms] */
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 102 - 2025-01-23 07:26:37 [0.22ms] */
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 103 - 2025-01-23 07:26:37 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 104 - 2025-01-23 07:26:37 [0.46ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1198 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 105 - 2025-01-23 07:26:37 [0.58ms] */
select * from `party_vehicle` where `vehicle_id` = 1198 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 106 - 2025-01-23 07:26:37 [0.43ms] */
select * from `party` where `party`.`id` = 3127 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 107 - 2025-01-23 07:26:37 [0.5ms] */
select * from `person` where `person`.`id` = 3127 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 108 - 2025-01-23 07:26:37 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 109 - 2025-01-23 07:26:37 [0.3ms] */
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 110 - 2025-01-23 07:26:37 [0.3ms] */
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 111 - 2025-01-23 07:26:37 [0.29ms] */
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 112 - 2025-01-23 07:26:37 [0.29ms] */
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 113 - 2025-01-23 07:26:37 [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` = 1198 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 114 - 2025-01-23 07:26:37 [0.3ms] */
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 115 - 2025-01-23 07:26:37 [0.5ms] */
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 116 - 2025-01-23 07:26:37 [0.52ms] */
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 117 - 2025-01-23 07:26:37 [0.4ms] */
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 118 - 2025-01-23 07:26:37 [0.44ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 119 - 2025-01-23 07:26:37 [0.52ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1377 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 120 - 2025-01-23 07:26:37 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 1377 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 121 - 2025-01-23 07:26:37 [0.39ms] */
select * from `party` where `party`.`id` = 50329 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 122 - 2025-01-23 07:26:37 [0.5ms] */
select * from `person` where `person`.`id` = 50329 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 123 - 2025-01-23 07:26:37 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 124 - 2025-01-23 07:26:37 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 125 - 2025-01-23 07:26:37 [0.18ms] */
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 126 - 2025-01-23 07:26:37 [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 127 - 2025-01-23 07:26:37 [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 128 - 2025-01-23 07:26:37 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 1377 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 129 - 2025-01-23 07:26:37 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 130 - 2025-01-23 07:26:37 [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 131 - 2025-01-23 07:26:37 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 132 - 2025-01-23 07:26:37 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 133 - 2025-01-23 07:26:37 [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 134 - 2025-01-23 07:26:37 [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 135 - 2025-01-23 07:26:37 [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 136 - 2025-01-23 07:26:37 [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 137 - 2025-01-23 07:26:37 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 138 - 2025-01-23 07:26:37 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 8227 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 139 - 2025-01-23 07:26:37 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 8227 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 140 - 2025-01-23 07:26:37 [0.15ms] */
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 141 - 2025-01-23 07:26:37 [0.15ms] */
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 142 - 2025-01-23 07:26:37 [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 143 - 2025-01-23 07:26:37 [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 144 - 2025-01-23 07:26:37 [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 145 - 2025-01-23 07:26:37 [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 146 - 2025-01-23 07:26:37 [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 147 - 2025-01-23 07:26:37 [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` = 8227 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 148 - 2025-01-23 07:26:37 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-01-23 07:26:44 [1.76ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-01-23 07:26:44 [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 - 2025-01-23 07:26:44 [0.58ms] */
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 - 2025-01-23 07:26:44 [0.52ms] */
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 - 2025-01-23 07:26:44 [27.57ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:44' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-23 07:26:44 [22.77ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-23 07:26:44' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 330;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2025-01-23 07:26:44 [0.48ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89593 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 - 2025-01-23 07:26:44 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 89593 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 - 2025-01-23 07:26:44 [0.22ms] */
select * from `party` where `party`.`id` = 57613 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 - 2025-01-23 07:26:44 [0.22ms] */
select * from `company` where `company`.`id` = 2004 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2025-01-23 07:26:44 [0.17ms] */
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 12 - 2025-01-23 07:26:44 [0.21ms] */
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 13 - 2025-01-23 07:26:44 [0.33ms] */
select * from `model` where `model`.`id` = 2039 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2025-01-23 07:26:44 [0.21ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2025-01-23 07:26:44 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 9 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2025-01-23 07:26:44 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89593 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:44 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 18 - 2025-01-23 07:26:44 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 311 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 19 - 2025-01-23 07:26:44 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 311 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 20 - 2025-01-23 07:26:44 [0.22ms] */
select * from `party` where `party`.`id` = 23653 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 21 - 2025-01-23 07:26:44 [0.28ms] */
select * from `person` where `person`.`id` = 23653 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 22 - 2025-01-23 07:26:44 [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 23 - 2025-01-23 07:26:44 [0.14ms] */
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 24 - 2025-01-23 07:26:44 [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 25 - 2025-01-23 07:26:44 [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 26 - 2025-01-23 07:26:44 [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 27 - 2025-01-23 07:26:44 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 311 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 28 - 2025-01-23 07:26:44 [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 29 - 2025-01-23 07:26:44 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89589 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 - 2025-01-23 07:26:44 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89589 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 - 2025-01-23 07:26:44 [0.14ms] */
select * from `party` where `party`.`id` = 57623 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 - 2025-01-23 07:26:44 [0.13ms] */
select * from `company` where `company`.`id` = 2014 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2025-01-23 07:26:44 [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 - 2025-01-23 07:26:44 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 35 - 2025-01-23 07:26:44 [0.13ms] */
select * from `model` where `model`.`id` = 2039 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 36 - 2025-01-23 07:26:44 [0.13ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 37 - 2025-01-23 07:26:44 [0.13ms] */
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 38 - 2025-01-23 07:26:44 [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` = 89589 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:44 [0.15ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 40 - 2025-01-23 07:26:44 [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 41 - 2025-01-23 07:26:44 [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 42 - 2025-01-23 07:26:44 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 5729 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 43 - 2025-01-23 07:26:44 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 5729 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 44 - 2025-01-23 07:26:44 [0.15ms] */
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 45 - 2025-01-23 07:26:44 [0.15ms] */
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 46 - 2025-01-23 07:26:44 [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 47 - 2025-01-23 07:26:44 [0.15ms] */
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 48 - 2025-01-23 07:26:44 [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 49 - 2025-01-23 07:26:44 [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 50 - 2025-01-23 07:26:44 [0.13ms] */
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 51 - 2025-01-23 07:26:44 [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` = 5729 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 52 - 2025-01-23 07:26:44 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 53 - 2025-01-23 07:26:44 [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 54 - 2025-01-23 07:26:44 [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 55 - 2025-01-23 07:26:44 [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 56 - 2025-01-23 07:26:44 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 57 - 2025-01-23 07:26:44 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 58 - 2025-01-23 07:26:44 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89579 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 59 - 2025-01-23 07:26:44 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89579 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 60 - 2025-01-23 07:26:44 [0.22ms] */
select * from `party` where `party`.`id` = 58415 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 61 - 2025-01-23 07:26:44 [0.21ms] */
select * from `person` where `person`.`id` = 55897 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2025-01-23 07:26:44 [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 63 - 2025-01-23 07:26:44 [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 64 - 2025-01-23 07:26:44 [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 65 - 2025-01-23 07:26:44 [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 66 - 2025-01-23 07:26:44 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 17 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2025-01-23 07:26:44 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89579 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 68 - 2025-01-23 07:26:44 [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 69 - 2025-01-23 07:26:44 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 70 - 2025-01-23 07:26:44 [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 71 - 2025-01-23 07:26:44 [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 - 2025-01-23 07:26:44 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89577 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 - 2025-01-23 07:26:44 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 89577 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 - 2025-01-23 07:26:44 [0.18ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 75 - 2025-01-23 07:26:44 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 76 - 2025-01-23 07:26:44 [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 77 - 2025-01-23 07:26:44 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 78 - 2025-01-23 07:26:44 [0.13ms] */
select * from `model` where `model`.`id` = 2039 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 79 - 2025-01-23 07:26:44 [0.14ms] */
select * from `make` where `make`.`id` = 423 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2025-01-23 07:26:44 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 27 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 81 - 2025-01-23 07:26:44 [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` = 89577 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 - 2025-01-23 07:26:44 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 83 - 2025-01-23 07:26:44 [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 84 - 2025-01-23 07:26:44 [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 85 - 2025-01-23 07:26:44 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88954 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 86 - 2025-01-23 07:26:44 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 88954 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 87 - 2025-01-23 07:26:44 [0.14ms] */
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 88 - 2025-01-23 07:26:44 [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 89 - 2025-01-23 07:26:44 [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 90 - 2025-01-23 07:26:44 [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 91 - 2025-01-23 07:26:44 [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 92 - 2025-01-23 07:26:44 [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 93 - 2025-01-23 07:26:44 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2025-01-23 07:26:44 [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` = 88954 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 95 - 2025-01-23 07:26:44 [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 96 - 2025-01-23 07:26:44 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 97 - 2025-01-23 07:26:44 [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 98 - 2025-01-23 07:26:44 [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 99 - 2025-01-23 07:26:44 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1804 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 100 - 2025-01-23 07:26:44 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 1804 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 101 - 2025-01-23 07:26:44 [0.14ms] */
select * from `party` where `party`.`id` = 58415 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 102 - 2025-01-23 07:26:44 [0.15ms] */
select * from `person` where `person`.`id` = 55897 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 103 - 2025-01-23 07:26:44 [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 104 - 2025-01-23 07:26:44 [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 105 - 2025-01-23 07:26:44 [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 106 - 2025-01-23 07:26:44 [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 107 - 2025-01-23 07:26:44 [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 108 - 2025-01-23 07:26:44 [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` = 1804 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 109 - 2025-01-23 07:26:44 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 110 - 2025-01-23 07:26:44 [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 111 - 2025-01-23 07:26:44 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89562 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 112 - 2025-01-23 07:26:44 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 89562 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 113 - 2025-01-23 07:26:44 [0.14ms] */
select * from `party` where `party`.`id` = 58415 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 114 - 2025-01-23 07:26:44 [0.14ms] */
select * from `person` where `person`.`id` = 55897 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 115 - 2025-01-23 07:26:44 [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 116 - 2025-01-23 07:26:44 [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 117 - 2025-01-23 07:26:44 [0.22ms] */
select * from `model` where `model`.`id` = 1777 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 118 - 2025-01-23 07:26:44 [0.27ms] */
select * from `make` where `make`.`id` = 559 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 119 - 2025-01-23 07:26:44 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 120 - 2025-01-23 07:26:44 [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` = 89562 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' 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 121 - 2025-01-23 07:26:44 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 122 - 2025-01-23 07:26:44 [0.14ms] */
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 123 - 2025-01-23 07:26:44 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 124 - 2025-01-23 07:26:44 [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 125 - 2025-01-23 07:26:44 [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 126 - 2025-01-23 07:26:44 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 766 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 127 - 2025-01-23 07:26:44 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 766 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 128 - 2025-01-23 07:26:44 [0.23ms] */
select * from `party` where `party`.`id` = 49103 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 129 - 2025-01-23 07:26:44 [0.27ms] */
select * from `person` where `person`.`id` = 49103 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 130 - 2025-01-23 07:26:44 [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 131 - 2025-01-23 07:26:44 [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 132 - 2025-01-23 07:26:44 [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 133 - 2025-01-23 07:26:44 [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 134 - 2025-01-23 07:26:44 [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 135 - 2025-01-23 07:26:44 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 766 and date(`term`.`first_date_of_quarter`) <= '2025-01-23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 136 - 2025-01-23 07:26:44 [0.14ms] */
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 137 - 2025-01-23 07:26:44 [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 138 - 2025-01-23 07:26:44 [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 139 - 2025-01-23 07:26:44 [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 140 - 2025-01-23 07:26:44 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-01-23 07:26:51 [1.4ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-01-23 07:26:51 [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 - 2025-01-23 07:26:51 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-01-23 07:26:51 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 1 - 2025-01-23 07:26:51 [1.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 2 - 2025-01-23 07:26:51 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 3 - 2025-01-23 07:26:51 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 4 - 2025-01-23 07:26:51 [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/1804
   Query 5 - 2025-01-23 07:26:51 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 1804 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 6 - 2025-01-23 07:26:51 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 1804 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/1804
   Query 7 - 2025-01-23 07:26:51 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1804 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 8 - 2025-01-23 07:26:51 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 1804 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/1804
   Query 9 - 2025-01-23 07:26:51 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 99371 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/1804
   Query 10 - 2025-01-23 07:26:51 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 11 - 2025-01-23 07:26:51 [0.14ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 12 - 2025-01-23 07:26:51 [0.23ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 13 - 2025-01-23 07:26:51 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 1804 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/1804
   Query 14 - 2025-01-23 07:26:51 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 15 - 2025-01-23 07:26:51 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 16 - 2025-01-23 07:26:51 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 17 - 2025-01-23 07:26:51 [0.14ms] */
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/1804
   Query 18 - 2025-01-23 07:26:51 [0.15ms] */
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/1804
   Query 19 - 2025-01-23 07:26:51 [0.99ms] */
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 (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 20 - 2025-01-23 07:26:51 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105790, 'INITIATED', '2025-01-23 07:26:51', 5, 5, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 21 - 2025-01-23 07:26:51 [0.22ms] */
select * from `term` where `year` = 2022 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 22 - 2025-01-23 07:26:51 [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', 'X1G-99371-788', 1804, 89, 58415, 98360, 105790, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 23 - 2025-01-23 07:26:51 [0.19ms] */
select * from `vehicle_tax` where `id` = 101828 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 24 - 2025-01-23 07:26:51 [0.21ms] */
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":"X1G-99371-788","tax_sticker_id":null,"vehicle_id":1804,"term_id":89,"party_id":58415,"transaction_id":105790,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101828, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 25 - 2025-01-23 07:26:51 [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/1804
   Query 26 - 2025-01-23 07:26:51 [0.25ms] */
(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/1804
   Query 27 - 2025-01-23 07:26:51 [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/1804
   Query 28 - 2025-01-23 07:26:51 [0.18ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 29 - 2025-01-23 07:26:51 [0.21ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 30 - 2025-01-23 07:26:51 [0.22ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105790, '2022-03-10 00:00:00', '2021-12-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 31 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `id` = 105328 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 32 - 2025-01-23 07:26:51 [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":105790,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2022-03-10 00:00:00","due_date":"2021-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105328, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 33 - 2025-01-23 07:26:51 [0.17ms] */
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, 105328, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 34 - 2025-01-23 07:26:51 [0.18ms] */
select * from `invoice_item` where `id` = 207752 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 35 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":105328}}', 5, 'App\Models\User', 207752, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 36 - 2025-01-23 07:26:51 [0.21ms] */
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, 105328, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 37 - 2025-01-23 07:26:51 [0.33ms] */
select * from `invoice_item` where `id` = 207753 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 38 - 2025-01-23 07:26:51 [0.29ms] */
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":105328}}', 5, 'App\Models\User', 207753, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 39 - 2025-01-23 07:26:51 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 105328 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 40 - 2025-01-23 07:26:51 [0.5ms] */
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` = 105328 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 41 - 2025-01-23 07:26:51 [0.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105328 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/1804
   Query 42 - 2025-01-23 07:26:51 [0.27ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105328;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 43 - 2025-01-23 07:26:51 [0.3ms] */
select * from `invoice` where `id` = 105328 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 44 - 2025-01-23 07:26:51 [0.24ms] */
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"}}', 5, 'App\Models\User', 105328, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 45 - 2025-01-23 07:26:51 [0.24ms] */
update `invoice` set `invoice_number` = 'INV-874-105328649', `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105328;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 46 - 2025-01-23 07:26:51 [0.29ms] */
select * from `invoice` where `id` = 105328 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 47 - 2025-01-23 07:26:51 [0.24ms] */
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-874-105328649","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105328, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 48 - 2025-01-23 07:26:51 [0.3ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101828, `invoice_id` = 105328, `transaction`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105790;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 49 - 2025-01-23 07:26:51 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 50 - 2025-01-23 07:26:51 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 51 - 2025-01-23 07:26:51 [0.31ms] */
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/1804
   Query 52 - 2025-01-23 07:26:51 [0.32ms] */
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/1804
   Query 53 - 2025-01-23 07:26:51 [0.32ms] */
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 (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 54 - 2025-01-23 07:26:51 [0.25ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105791, 'INITIATED', '2025-01-23 07:26:51', 5, 5, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 55 - 2025-01-23 07:26:51 [0.31ms] */
select * from `term` where `year` = 2022 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 56 - 2025-01-23 07:26:51 [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', 'QGU-99371-761', 1804, 90, 58415, 98360, 105791, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 57 - 2025-01-23 07:26:51 [0.27ms] */
select * from `vehicle_tax` where `id` = 101829 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 58 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"QGU-99371-761","tax_sticker_id":null,"vehicle_id":1804,"term_id":90,"party_id":58415,"transaction_id":105791,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101829, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 59 - 2025-01-23 07:26:51 [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/1804
   Query 60 - 2025-01-23 07:26:51 [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/1804
   Query 61 - 2025-01-23 07:26:51 [0.17ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 62 - 2025-01-23 07:26:51 [0.19ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 63 - 2025-01-23 07:26:51 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105791, '2022-03-10 00:00:00', '2022-03-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 64 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `id` = 105329 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 65 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105791,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2022-03-10 00:00:00","due_date":"2022-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105329, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 66 - 2025-01-23 07:26:51 [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, 105329, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 67 - 2025-01-23 07:26:51 [0.17ms] */
select * from `invoice_item` where `id` = 207754 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 68 - 2025-01-23 07:26:51 [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":105329}}', 5, 'App\Models\User', 207754, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 69 - 2025-01-23 07:26:51 [0.31ms] */
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, 105329, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 70 - 2025-01-23 07:26:51 [0.32ms] */
select * from `invoice_item` where `id` = 207755 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 71 - 2025-01-23 07:26:51 [0.29ms] */
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":105329}}', 5, 'App\Models\User', 207755, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 72 - 2025-01-23 07:26:51 [0.41ms] */
select * from `invoice` where `invoice`.`id` = 105329 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 73 - 2025-01-23 07:26:51 [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` = 105329 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 74 - 2025-01-23 07:26:51 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105329 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/1804
   Query 75 - 2025-01-23 07:26:51 [0.26ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105329;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 76 - 2025-01-23 07:26:51 [0.28ms] */
select * from `invoice` where `id` = 105329 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 77 - 2025-01-23 07:26:51 [0.24ms] */
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"}}', 5, 'App\Models\User', 105329, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 78 - 2025-01-23 07:26:51 [0.24ms] */
update `invoice` set `invoice_number` = 'INV-725-105329471', `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105329;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 79 - 2025-01-23 07:26:51 [0.42ms] */
select * from `invoice` where `id` = 105329 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 80 - 2025-01-23 07:26:51 [0.36ms] */
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-725-105329471","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105329, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 81 - 2025-01-23 07:26:51 [0.41ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101829, `invoice_id` = 105329, `transaction`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105791;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 82 - 2025-01-23 07:26:51 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 83 - 2025-01-23 07:26:51 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 84 - 2025-01-23 07:26:51 [0.29ms] */
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/1804
   Query 85 - 2025-01-23 07:26:51 [0.3ms] */
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/1804
   Query 86 - 2025-01-23 07:26:51 [0.31ms] */
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 (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 87 - 2025-01-23 07:26:51 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105792, 'INITIATED', '2025-01-23 07:26:51', 5, 5, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 88 - 2025-01-23 07:26:51 [0.44ms] */
select * from `term` where `year` = 2022 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 89 - 2025-01-23 07:26:51 [0.41ms] */
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', 'QRT-99371-198', 1804, 91, 58415, 98360, 105792, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 90 - 2025-01-23 07:26:51 [0.32ms] */
select * from `vehicle_tax` where `id` = 101830 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 91 - 2025-01-23 07:26:51 [0.34ms] */
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":"QRT-99371-198","tax_sticker_id":null,"vehicle_id":1804,"term_id":91,"party_id":58415,"transaction_id":105792,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101830, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 92 - 2025-01-23 07:26:51 [0.43ms] */
(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/1804
   Query 93 - 2025-01-23 07:26:51 [0.29ms] */
(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/1804
   Query 94 - 2025-01-23 07:26:51 [0.26ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 95 - 2025-01-23 07:26:51 [0.3ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 96 - 2025-01-23 07:26:51 [0.26ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105792, '2022-06-01 00:00:00', '2022-06-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 97 - 2025-01-23 07:26:51 [0.28ms] */
select * from `invoice` where `id` = 105330 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 98 - 2025-01-23 07:26:51 [0.24ms] */
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":105792,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2022-06-01 00:00:00","due_date":"2022-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105330, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 99 - 2025-01-23 07:26:51 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 21 HP', '21 HP Quarterly Tax', 1, 45.00, 45.00, 105330, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 100 - 2025-01-23 07:26:51 [0.25ms] */
select * from `invoice_item` where `id` = 207756 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 101 - 2025-01-23 07:26:51 [0.23ms] */
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":105330}}', 5, 'App\Models\User', 207756, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 102 - 2025-01-23 07:26:51 [0.22ms] */
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, 105330, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 103 - 2025-01-23 07:26:51 [0.26ms] */
select * from `invoice_item` where `id` = 207757 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 104 - 2025-01-23 07:26:51 [0.53ms] */
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":105330}}', 5, 'App\Models\User', 207757, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 105 - 2025-01-23 07:26:51 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 105330 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 106 - 2025-01-23 07:26:51 [0.39ms] */
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` = 105330 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 107 - 2025-01-23 07:26:51 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105330 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/1804
   Query 108 - 2025-01-23 07:26:51 [0.26ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105330;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 109 - 2025-01-23 07:26:51 [0.28ms] */
select * from `invoice` where `id` = 105330 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 110 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"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"}}', 5, 'App\Models\User', 105330, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 111 - 2025-01-23 07:26:51 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-879-105330348', `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105330;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 112 - 2025-01-23 07:26:51 [0.18ms] */
select * from `invoice` where `id` = 105330 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 113 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-879-105330348","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105330, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 114 - 2025-01-23 07:26:51 [0.38ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101830, `invoice_id` = 105330, `transaction`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105792;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 115 - 2025-01-23 07:26:51 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 116 - 2025-01-23 07:26:51 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 117 - 2025-01-23 07:26:51 [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/1804
   Query 118 - 2025-01-23 07:26:51 [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/1804
   Query 119 - 2025-01-23 07:26:51 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 120 - 2025-01-23 07:26:51 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105793, 'INITIATED', '2025-01-23 07:26:51', 5, 5, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 121 - 2025-01-23 07:26:51 [0.2ms] */
select * from `term` where `year` = 2022 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 122 - 2025-01-23 07:26:51 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'RZZ-99371-548', 1804, 92, 58415, 98360, 105793, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 123 - 2025-01-23 07:26:51 [0.17ms] */
select * from `vehicle_tax` where `id` = 101831 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 124 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"RZZ-99371-548","tax_sticker_id":null,"vehicle_id":1804,"term_id":92,"party_id":58415,"transaction_id":105793,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101831, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 125 - 2025-01-23 07:26:51 [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/1804
   Query 126 - 2025-01-23 07:26:51 [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/1804
   Query 127 - 2025-01-23 07:26:51 [0.17ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 128 - 2025-01-23 07:26:51 [0.21ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 129 - 2025-01-23 07:26:51 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105793, '2022-09-01 00:00:00', '2022-09-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 130 - 2025-01-23 07:26:51 [0.2ms] */
select * from `invoice` where `id` = 105331 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 131 - 2025-01-23 07:26:51 [0.15ms] */
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":105793,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2022-09-01 00:00:00","due_date":"2022-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105331, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 132 - 2025-01-23 07:26:51 [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, 105331, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 133 - 2025-01-23 07:26:51 [0.17ms] */
select * from `invoice_item` where `id` = 207758 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 134 - 2025-01-23 07:26:51 [0.15ms] */
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":105331}}', 5, 'App\Models\User', 207758, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 135 - 2025-01-23 07:26:51 [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, 105331, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 136 - 2025-01-23 07:26:51 [0.16ms] */
select * from `invoice_item` where `id` = 207759 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 137 - 2025-01-23 07:26:51 [0.15ms] */
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":105331}}', 5, 'App\Models\User', 207759, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 138 - 2025-01-23 07:26:51 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105331 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 139 - 2025-01-23 07:26:51 [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` = 105331 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 140 - 2025-01-23 07:26:51 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105331 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/1804
   Query 141 - 2025-01-23 07:26:51 [0.17ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105331;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 142 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `id` = 105331 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 143 - 2025-01-23 07:26:51 [0.15ms] */
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"}}', 5, 'App\Models\User', 105331, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 144 - 2025-01-23 07:26:51 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-631-105331700', `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105331;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 145 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `id` = 105331 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 146 - 2025-01-23 07:26:51 [0.15ms] */
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-631-105331700","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105331, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 147 - 2025-01-23 07:26:51 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101831, `invoice_id` = 105331, `transaction`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105793;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 148 - 2025-01-23 07:26:51 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 149 - 2025-01-23 07:26:51 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 150 - 2025-01-23 07:26:51 [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/1804
   Query 151 - 2025-01-23 07:26:51 [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/1804
   Query 152 - 2025-01-23 07:26:51 [0.2ms] */
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 (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 153 - 2025-01-23 07:26:51 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105794, 'INITIATED', '2025-01-23 07:26:51', 5, 5, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 154 - 2025-01-23 07:26:51 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 155 - 2025-01-23 07:26:51 [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/1804
   Query 156 - 2025-01-23 07:26:51 [0.2ms] */
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/1804
   Query 157 - 2025-01-23 07:26:51 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'H86-99371-872', 1804, 93, 58415, 98360, 105794, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 158 - 2025-01-23 07:26:51 [0.17ms] */
select * from `vehicle_tax` where `id` = 101832 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 159 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"H86-99371-872","tax_sticker_id":null,"vehicle_id":1804,"term_id":93,"party_id":58415,"transaction_id":105794,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101832, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 160 - 2025-01-23 07:26:51 [0.22ms] */
(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/1804
   Query 161 - 2025-01-23 07:26:51 [0.17ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 162 - 2025-01-23 07:26:51 [0.19ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 163 - 2025-01-23 07:26:51 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105794, '2022-12-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 164 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `id` = 105332 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 165 - 2025-01-23 07:26:51 [0.15ms] */
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":105794,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2022-12-01 00:00:00","due_date":"2022-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105332, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 166 - 2025-01-23 07:26:51 [0.22ms] */
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, 105332, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 167 - 2025-01-23 07:26:51 [0.17ms] */
select * from `invoice_item` where `id` = 207760 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 168 - 2025-01-23 07:26:51 [0.15ms] */
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":105332}}', 5, 'App\Models\User', 207760, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 169 - 2025-01-23 07:26:51 [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, 105332, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 170 - 2025-01-23 07:26:51 [0.16ms] */
select * from `invoice_item` where `id` = 207761 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 171 - 2025-01-23 07:26:51 [0.15ms] */
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":105332}}', 5, 'App\Models\User', 207761, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 172 - 2025-01-23 07:26:51 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105332 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 173 - 2025-01-23 07:26:51 [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` = 105332 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 174 - 2025-01-23 07:26:51 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105332 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/1804
   Query 175 - 2025-01-23 07:26:51 [0.17ms] */
update `invoice` set `invoice_amount` = 86, `outstanding_balance` = 86, `discounts` = 0, `total_invoice_amount` = 86, `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105332;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 176 - 2025-01-23 07:26:51 [0.18ms] */
select * from `invoice` where `id` = 105332 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 177 - 2025-01-23 07:26:51 [0.15ms] */
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"}}', 5, 'App\Models\User', 105332, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 178 - 2025-01-23 07:26:51 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-483-105332768', `invoice`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105332;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 179 - 2025-01-23 07:26:51 [0.18ms] */
select * from `invoice` where `id` = 105332 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 180 - 2025-01-23 07:26:51 [0.15ms] */
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-483-105332768","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105332, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 181 - 2025-01-23 07:26:51 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101832, `invoice_id` = 105332, `transaction`.`updated_at` = '2025-01-23 07:26:51' where `id` = 105794;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 182 - 2025-01-23 07:26:51 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 183 - 2025-01-23 07:26:51 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 184 - 2025-01-23 07:26:51 [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/1804
   Query 185 - 2025-01-23 07:26:51 [0.19ms] */
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/1804
   Query 186 - 2025-01-23 07:26:51 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 187 - 2025-01-23 07:26:51 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105795, 'INITIATED', '2025-01-23 07:26:51', 5, 5, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 188 - 2025-01-23 07:26:51 [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/1804
   Query 189 - 2025-01-23 07:26:51 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '8D1-99371-134', 1804, 94, 58415, 98360, 105795, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 190 - 2025-01-23 07:26:51 [0.17ms] */
select * from `vehicle_tax` where `id` = 101833 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 191 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"8D1-99371-134","tax_sticker_id":null,"vehicle_id":1804,"term_id":94,"party_id":58415,"transaction_id":105795,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101833, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 192 - 2025-01-23 07:26:51 [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/1804
   Query 193 - 2025-01-23 07:26:51 [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/1804
   Query 194 - 2025-01-23 07:26:51 [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/1804
   Query 195 - 2025-01-23 07:26:51 [0.19ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 196 - 2025-01-23 07:26:51 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105795, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 197 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `id` = 105333 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 198 - 2025-01-23 07:26:51 [0.15ms] */
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":105795,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2023-03-01 00:00:00","due_date":"2023-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105333, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 199 - 2025-01-23 07:26:51 [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, 105333, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 200 - 2025-01-23 07:26:51 [0.17ms] */
select * from `invoice_item` where `id` = 207762 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 201 - 2025-01-23 07:26:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 21 HP","description":"21 HP Quarterly Tax","unit_price":"45.00","quantity":1,"total_price":"45.00","invoice_id":105333}}', 5, 'App\Models\User', 207762, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 202 - 2025-01-23 07:26:51 [0.14ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105333, 5, 5, '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 203 - 2025-01-23 07:26:51 [0.16ms] */
select * from `invoice_item` where `id` = 207763 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 204 - 2025-01-23 07:26:51 [0.15ms] */
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":105333}}', 5, 'App\Models\User', 207763, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:51', '2025-01-23 07:26:51');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 205 - 2025-01-23 07:26:51 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105333 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 206 - 2025-01-23 07:26:52 [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` = 105333 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 207 - 2025-01-23 07:26:52 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105333 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/1804
   Query 208 - 2025-01-23 07:26:52 [0.34ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105333;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 209 - 2025-01-23 07:26:52 [0.38ms] */
select * from `invoice` where `id` = 105333 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 210 - 2025-01-23 07:26:52 [0.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"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"}}', 5, 'App\Models\User', 105333, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 211 - 2025-01-23 07:26:52 [0.37ms] */
update `invoice` set `invoice_number` = 'INV-555-105333295', `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105333;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 212 - 2025-01-23 07:26:52 [0.37ms] */
select * from `invoice` where `id` = 105333 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 213 - 2025-01-23 07:26:52 [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":"53.00","outstanding_balance":"53.00","discounts":"0.00","total_invoice_amount":"53.00","invoice_number":"INV-555-105333295","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105333, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 214 - 2025-01-23 07:26:52 [0.29ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101833, `invoice_id` = 105333, `transaction`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105795;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 215 - 2025-01-23 07:26:52 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 216 - 2025-01-23 07:26:52 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 217 - 2025-01-23 07:26:52 [0.29ms] */
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/1804
   Query 218 - 2025-01-23 07:26:52 [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/1804
   Query 219 - 2025-01-23 07:26:52 [0.32ms] */
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 (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 220 - 2025-01-23 07:26:52 [0.25ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105796, 'INITIATED', '2025-01-23 07:26:52', 5, 5, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 221 - 2025-01-23 07:26:52 [0.31ms] */
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/1804
   Query 222 - 2025-01-23 07:26:52 [0.28ms] */
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', 'IX4-99371-381', 1804, 95, 58415, 98360, 105796, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 223 - 2025-01-23 07:26:52 [0.27ms] */
select * from `vehicle_tax` where `id` = 101834 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 224 - 2025-01-23 07:26:52 [0.26ms] */
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":"IX4-99371-381","tax_sticker_id":null,"vehicle_id":1804,"term_id":95,"party_id":58415,"transaction_id":105796,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101834, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 225 - 2025-01-23 07:26:52 [0.34ms] */
(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/1804
   Query 226 - 2025-01-23 07:26:52 [0.3ms] */
(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/1804
   Query 227 - 2025-01-23 07:26:52 [0.26ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 228 - 2025-01-23 07:26:52 [0.29ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 229 - 2025-01-23 07:26:52 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105796, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 230 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105334 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 231 - 2025-01-23 07:26:52 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105796,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2023-06-01 00:00:00","due_date":"2023-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105334, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 232 - 2025-01-23 07:26:52 [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, 105334, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 233 - 2025-01-23 07:26:52 [0.17ms] */
select * from `invoice_item` where `id` = 207764 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 234 - 2025-01-23 07:26:52 [0.15ms] */
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":105334}}', 5, 'App\Models\User', 207764, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 235 - 2025-01-23 07:26:52 [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, 105334, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 236 - 2025-01-23 07:26:52 [0.17ms] */
select * from `invoice_item` where `id` = 207765 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 237 - 2025-01-23 07:26:52 [0.15ms] */
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":105334}}', 5, 'App\Models\User', 207765, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 238 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105334 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 239 - 2025-01-23 07:26:52 [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` = 105334 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 240 - 2025-01-23 07:26:52 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105334 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/1804
   Query 241 - 2025-01-23 07:26:52 [0.17ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105334;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 242 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105334 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 243 - 2025-01-23 07:26:52 [0.15ms] */
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"}}', 5, 'App\Models\User', 105334, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 244 - 2025-01-23 07:26:52 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-589-105334726', `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105334;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 245 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105334 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 246 - 2025-01-23 07:26:52 [0.15ms] */
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-589-105334726","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105334, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 247 - 2025-01-23 07:26:52 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101834, `invoice_id` = 105334, `transaction`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105796;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 248 - 2025-01-23 07:26:52 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 249 - 2025-01-23 07:26:52 [2.3ms] */
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/1804
   Query 250 - 2025-01-23 07:26:52 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 251 - 2025-01-23 07:26:52 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 252 - 2025-01-23 07:26:52 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 253 - 2025-01-23 07:26:52 [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/1804
   Query 254 - 2025-01-23 07:26:52 [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/1804
   Query 255 - 2025-01-23 07:26:52 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 256 - 2025-01-23 07:26:52 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105797, 'INITIATED', '2025-01-23 07:26:52', 5, 5, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 257 - 2025-01-23 07:26:52 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 258 - 2025-01-23 07:26:52 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 259 - 2025-01-23 07:26:52 [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/1804
   Query 260 - 2025-01-23 07:26:52 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '3WX-99371-871', 1804, 97, 58415, 98360, 105797, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 261 - 2025-01-23 07:26:52 [0.18ms] */
select * from `vehicle_tax` where `id` = 101835 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 262 - 2025-01-23 07:26:52 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"3WX-99371-871","tax_sticker_id":null,"vehicle_id":1804,"term_id":97,"party_id":58415,"transaction_id":105797,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101835, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 263 - 2025-01-23 07:26:52 [0.22ms] */
(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/1804
   Query 264 - 2025-01-23 07:26:52 [0.17ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 265 - 2025-01-23 07:26:52 [0.21ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 266 - 2025-01-23 07:26:52 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105797, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 267 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105335 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 268 - 2025-01-23 07:26:52 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105797,"party_id":58415,"invoice_amount":"0.00","invoice_date":"2023-12-01 00:00:00","due_date":"2023-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105335, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 269 - 2025-01-23 07:26:52 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax Fee for 21 HP', 'Yearly Tax Fee for 21 HP', 1, 78.00, 78.00, 105335, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 270 - 2025-01-23 07:26:52 [0.18ms] */
select * from `invoice_item` where `id` = 207766 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 271 - 2025-01-23 07:26:52 [0.15ms] */
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":105335}}', 5, 'App\Models\User', 207766, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 272 - 2025-01-23 07:26:52 [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, 105335, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 273 - 2025-01-23 07:26:52 [0.17ms] */
select * from `invoice_item` where `id` = 207767 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 274 - 2025-01-23 07:26:52 [0.15ms] */
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":105335}}', 5, 'App\Models\User', 207767, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 275 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105335 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 276 - 2025-01-23 07:26:52 [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` = 105335 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 277 - 2025-01-23 07:26:52 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105335 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/1804
   Query 278 - 2025-01-23 07:26:52 [0.17ms] */
update `invoice` set `invoice_amount` = 86, `outstanding_balance` = 86, `discounts` = 0, `total_invoice_amount` = 86, `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105335;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 279 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105335 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 280 - 2025-01-23 07:26:52 [0.15ms] */
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"}}', 5, 'App\Models\User', 105335, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 281 - 2025-01-23 07:26:52 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-900-105335214', `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105335;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 282 - 2025-01-23 07:26:52 [0.18ms] */
select * from `invoice` where `id` = 105335 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 283 - 2025-01-23 07:26:52 [0.15ms] */
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-900-105335214","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105335, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 284 - 2025-01-23 07:26:52 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101835, `invoice_id` = 105335, `transaction`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105797;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 285 - 2025-01-23 07:26:52 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 286 - 2025-01-23 07:26:52 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 287 - 2025-01-23 07:26:52 [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/1804
   Query 288 - 2025-01-23 07:26:52 [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/1804
   Query 289 - 2025-01-23 07:26:52 [0.2ms] */
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 (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 290 - 2025-01-23 07:26:52 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105798, 'INITIATED', '2025-01-23 07:26:52', 5, 5, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 291 - 2025-01-23 07:26:52 [0.2ms] */
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/1804
   Query 292 - 2025-01-23 07:26:52 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'XPU-99371-529', 1804, 98, 58415, 98360, 105798, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 293 - 2025-01-23 07:26:52 [0.17ms] */
select * from `vehicle_tax` where `id` = 101836 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 294 - 2025-01-23 07:26:52 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"XPU-99371-529","tax_sticker_id":null,"vehicle_id":1804,"term_id":98,"party_id":58415,"transaction_id":105798,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101836, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 295 - 2025-01-23 07:26:52 [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/1804
   Query 296 - 2025-01-23 07:26:52 [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/1804
   Query 297 - 2025-01-23 07:26:52 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 298 - 2025-01-23 07:26:52 [0.19ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 299 - 2025-01-23 07:26:52 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105798, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 300 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105336 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 301 - 2025-01-23 07:26:52 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105798,"party_id":58415,"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}}', 5, 'App\Models\User', 105336, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 302 - 2025-01-23 07:26:52 [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, 105336, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 303 - 2025-01-23 07:26:52 [0.16ms] */
select * from `invoice_item` where `id` = 207768 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 304 - 2025-01-23 07:26:52 [0.15ms] */
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":105336}}', 5, 'App\Models\User', 207768, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 305 - 2025-01-23 07:26:52 [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, 105336, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 306 - 2025-01-23 07:26:52 [0.16ms] */
select * from `invoice_item` where `id` = 207769 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 307 - 2025-01-23 07:26:52 [0.15ms] */
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":105336}}', 5, 'App\Models\User', 207769, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 308 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105336 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 309 - 2025-01-23 07:26:52 [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` = 105336 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 310 - 2025-01-23 07:26:52 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105336 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/1804
   Query 311 - 2025-01-23 07:26:52 [0.17ms] */
update `invoice` set `invoice_amount` = 53, `outstanding_balance` = 53, `discounts` = 0, `total_invoice_amount` = 53, `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105336;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 312 - 2025-01-23 07:26:52 [0.19ms] */
select * from `invoice` where `id` = 105336 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 313 - 2025-01-23 07:26:52 [0.15ms] */
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"}}', 5, 'App\Models\User', 105336, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 314 - 2025-01-23 07:26:52 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-695-105336884', `invoice`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105336;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 315 - 2025-01-23 07:26:52 [0.18ms] */
select * from `invoice` where `id` = 105336 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 316 - 2025-01-23 07:26:52 [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-695-105336884","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105336, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 317 - 2025-01-23 07:26:52 [0.2ms] */
update `transaction` set `party_vehicle_id` = 98360, `vehicle_tax_id` = 101836, `invoice_id` = 105336, `transaction`.`updated_at` = '2025-01-23 07:26:52' where `id` = 105798;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 318 - 2025-01-23 07:26:52 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 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/1804
   Query 319 - 2025-01-23 07:26:52 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 1804 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 320 - 2025-01-23 07:26:52 [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/1804
   Query 321 - 2025-01-23 07:26:52 [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/1804
   Query 322 - 2025-01-23 07:26:52 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58415, 2, 1804, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 323 - 2025-01-23 07:26:52 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105799, 'INITIATED', '2025-01-23 07:26:52', 5, 5, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 324 - 2025-01-23 07:26:52 [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/1804
   Query 325 - 2025-01-23 07:26:52 [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', '57Z-99371-426', 1804, 99, 58415, 98360, 105799, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 326 - 2025-01-23 07:26:52 [0.17ms] */
select * from `vehicle_tax` where `id` = 101837 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 327 - 2025-01-23 07:26:52 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"57Z-99371-426","tax_sticker_id":null,"vehicle_id":1804,"term_id":99,"party_id":58415,"transaction_id":105799,"party_vehicle_id":98360,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101837, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 328 - 2025-01-23 07:26:52 [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/1804
   Query 329 - 2025-01-23 07:26:52 [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/1804
   Query 330 - 2025-01-23 07:26:52 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 331 - 2025-01-23 07:26:52 [0.19ms] */
select * from `party` where `party`.`id` = 58415 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/1804
   Query 332 - 2025-01-23 07:26:52 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105799, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 58415, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 333 - 2025-01-23 07:26:52 [0.21ms] */
select * from `invoice` where `id` = 105337 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 334 - 2025-01-23 07:26:52 [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":105799,"party_id":58415,"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}}', 5, 'App\Models\User', 105337, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 335 - 2025-01-23 07:26:52 [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, 105337, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 336 - 2025-01-23 07:26:52 [0.17ms] */
select * from `invoice_item` where `id` = 207770 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 337 - 2025-01-23 07:26:52 [0.15ms] */
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":105337}}', 5, 'App\Models\User', 207770, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 338 - 2025-01-23 07:26:52 [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, 105337, 5, 5, '2025-01-23 07:26:52', '2025-01-23 07:26:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/1804
   Query 339 - 2025-01-23 07:26:52 [0.16ms] */
