select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90660 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 48 - 2025-06-09 10:58:29 [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://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 49 - 2025-06-09 10:58:29 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 50 - 2025-06-09 10:58:29 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 51 - 2025-06-09 10:58:29 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:31 [2.33ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:31 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:31 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:31 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:31 [0.37ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (228573, 228574, 442508, 442509, 442510, 442511);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:31 [0.17ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:31 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:31 [0.14ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:31 [0.15ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:31 [0.16ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:31 [0.19ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:31 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:31 [0.16ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:31 [0.16ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:31 [0.15ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:31 [0.15ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:31 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:31 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:31 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:31 [0.15ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:31 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:31 [0.14ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:31 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:31 [0.14ms] */
select * from `party` where `party`.`id` = 49403 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:31 [0.15ms] */
select * from `person` where `person`.`id` = 49403 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:31 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:31 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:31 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 43 - 2025-06-09 10:58:31 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 44 - 2025-06-09 10:58:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 45 - 2025-06-09 10:58:31 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 46 - 2025-06-09 10:58:31 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 47 - 2025-06-09 10:58:31 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 48 - 2025-06-09 10:58:31 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 49 - 2025-06-09 10:58:31 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 50 - 2025-06-09 10:58:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 51 - 2025-06-09 10:58:31 [0.14ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:32 [2.13ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:32 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:32 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:32 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:32 [0.23ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (228573, 228574, 442508, 442509, 442510, 442511);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:32 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (90660) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:32 [0.3ms] */
select * from `term` where `term`.`id` in (99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:32 [0.18ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:32 [0.13ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:32 [0.14ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:32 [0.16ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:32 [0.16ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:32 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:32 [0.15ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:32 [0.14ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:32 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:32 [0.15ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:32 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:32 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:32 [0.14ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:32 [0.15ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:32 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:32 [0.14ms] */
select * from `party` where `party`.`id` = 49403 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:32 [0.15ms] */
select * from `person` where `person`.`id` = 49403 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:35 [1.62ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:35 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:35 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:35 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:35 [0.26ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (228573, 228574, 442508, 442509, 442510, 442511);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:35 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` in (90660) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:35 [0.19ms] */
select * from `term` where `term`.`id` in (99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:35 [0.2ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:35 [0.28ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:35 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:35 [0.28ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:35 [0.32ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:35 [0.27ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:35 [0.21ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:35 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:35 [0.18ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:35 [0.19ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:35 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:35 [0.17ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:35 [0.17ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:35 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:35 [0.19ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:35 [0.19ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:35 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:35 [0.18ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:35 [0.19ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:35 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:35 [0.19ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:35 [0.19ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:35 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:35 [0.18ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:35 [0.19ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:35 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:35 [0.17ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:35 [0.18ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:35 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:35 [0.17ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:35 [0.18ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:35 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:35 [0.18ms] */
select * from `party` where `party`.`id` = 49403 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:35 [0.19ms] */
select * from `person` where `person`.`id` = 49403 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:35 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:37 [1.3ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:37 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:37 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:37 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:37 [0.23ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (228573, 228574, 442508, 442509, 442510, 442511);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:37 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (90660) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:37 [0.15ms] */
select * from `term` where `term`.`id` in (99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:37 [0.16ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:37 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:37 [0.16ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:37 [0.14ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:37 [0.15ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:37 [0.16ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:37 [0.15ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:37 [0.15ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:37 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:37 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:37 [0.15ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:37 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:37 [0.14ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:37 [0.15ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:37 [0.14ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:37 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:37 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:37 [0.14ms] */
select * from `party` where `party`.`id` = 49403 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:37 [0.14ms] */
select * from `person` where `person`.`id` = 49403 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:37 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:39 [1.3ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:39 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:39 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:39 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:39 [0.24ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (228573, 228574, 442508, 442509, 442510, 442511);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:39 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (90660) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:39 [0.14ms] */
select * from `term` where `term`.`id` in (99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:39 [0.16ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:39 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:39 [41.29ms] */
select * from `discount` where `vehicle_id` = 90660 and `service_id` = 2 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:39 [6.04ms] */
insert into `discount` (`party_id`, `description`, `service_id`, `vehicle_tax`, `party_vehicle_id`, `vehicle_id`, `amount`, `percentage`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (59121, null, 2, '["228573","228574","442508"]', null, 90660, null, null, '2025-06-30 10:58:39', 73, 73, '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:39 [0.29ms] */
select * from `discount` where `id` = 26147 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:39 [3.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":null,"percentage":null,"vehicle_id":90660,"amount":null,"expiry_date":"2025-06-30 10:58:39","party_id":59121,"service_id":2,"vehicle_tax":["228573","228574","442508"],"party_vehicle_id":null}}', 73, 'App\Models\User', 26147, 'Modules\Transaction\Entities\Discount', 'created', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:39 [0.41ms] */
select * from `invoice` where `transaction_id` = 290055 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:39 [3.34ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:58:39' where `id` = 228573;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:39 [0.31ms] */
select * from `vehicle_tax` where `id` = 228573 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:39 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 228573, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:39 [3.2ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:58:39' where `id` = 271231;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:39 [0.33ms] */
select * from `invoice` where `id` = 271231 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:39 [3.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 271231, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:39 [0.35ms] */
select * from `invoice` where `transaction_id` = 290056 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:39 [3.19ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:58:39' where `id` = 228574;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:39 [0.29ms] */
select * from `vehicle_tax` where `id` = 228574 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:39 [3.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 228574, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:39 [1.6ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:58:39' where `id` = 271232;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:39 [0.3ms] */
select * from `invoice` where `id` = 271232 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:39 [3.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 271232, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:39 [0.37ms] */
select * from `invoice` where `transaction_id` = 552038 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:39 [3.06ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:58:39' where `id` = 442508;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:39 [0.28ms] */
select * from `vehicle_tax` where `id` = 442508 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:39 [4.8ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 73, 'App\Models\User', 442508, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:39 [3.97ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:58:39' where `id` = 527740;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:39 [0.51ms] */
select * from `invoice` where `id` = 527740 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:39 [3.36ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 527740, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:39 [0.43ms] */
select * from `invoice` where `transaction_id` = 552039 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:39 [2.83ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:58:39' where `id` = 442509;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:39 [0.34ms] */
select * from `vehicle_tax` where `id` = 442509 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:39 [2.81ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 442509, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:39 [2.85ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:58:39' where `id` = 527741;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:39 [0.57ms] */
select * from `invoice` where `id` = 527741 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:39 [3.01ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 527741, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 43 - 2025-06-09 10:58:39 [0.47ms] */
select * from `invoice` where `transaction_id` = 552040 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 44 - 2025-06-09 10:58:39 [3ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:58:39' where `id` = 442510;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 45 - 2025-06-09 10:58:39 [0.29ms] */
select * from `vehicle_tax` where `id` = 442510 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 46 - 2025-06-09 10:58:39 [2.9ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 442510, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 47 - 2025-06-09 10:58:39 [2.97ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:58:39' where `id` = 527742;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 48 - 2025-06-09 10:58:39 [0.44ms] */
select * from `invoice` where `id` = 527742 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 49 - 2025-06-09 10:58:39 [2.8ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 527742, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 50 - 2025-06-09 10:58:39 [0.34ms] */
select * from `invoice` where `transaction_id` = 552041 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 51 - 2025-06-09 10:58:39 [2.71ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:58:39' where `id` = 442511;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 52 - 2025-06-09 10:58:39 [0.28ms] */
select * from `vehicle_tax` where `id` = 442511 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 53 - 2025-06-09 10:58:39 [2.71ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 442511, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 54 - 2025-06-09 10:58:39 [1.41ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:58:39' where `id` = 527743;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 55 - 2025-06-09 10:58:39 [0.3ms] */
select * from `invoice` where `id` = 527743 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 56 - 2025-06-09 10:58:39 [2.74ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 527743, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:58:39', '2025-06-09 10:58:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 57 - 2025-06-09 10:58:39 [6.44ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 58 - 2025-06-09 10:58:39 [9.26ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 59 - 2025-06-09 10:58:39 [0.15ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 60 - 2025-06-09 10:58:39 [0.17ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 61 - 2025-06-09 10:58:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 62 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 63 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 64 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 65 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 66 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 67 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 68 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 69 - 2025-06-09 10:58:39 [0.13ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 70 - 2025-06-09 10:58:39 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 71 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 72 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 73 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 74 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 75 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 76 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 77 - 2025-06-09 10:58:39 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 78 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 79 - 2025-06-09 10:58:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 80 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 81 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 82 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 83 - 2025-06-09 10:58:39 [0.13ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 84 - 2025-06-09 10:58:39 [0.14ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 85 - 2025-06-09 10:58:39 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 86 - 2025-06-09 10:58:39 [0.14ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 87 - 2025-06-09 10:58:39 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 88 - 2025-06-09 10:58:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 1 - 2025-06-09 10:58:42 [2.02ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 2 - 2025-06-09 10:58:42 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 3 - 2025-06-09 10:58:42 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 4 - 2025-06-09 10:58:42 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 5 - 2025-06-09 10:58:42 [0.21ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 6 - 2025-06-09 10:58:42 [0.15ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 7 - 2025-06-09 10:58:42 [0.16ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 8 - 2025-06-09 10:58:42 [0.17ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 9 - 2025-06-09 10:58:42 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 10 - 2025-06-09 10:58:42 [0.15ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 11 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 12 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 13 - 2025-06-09 10:58:42 [0.16ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 14 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 15 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 16 - 2025-06-09 10:58:42 [0.15ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 17 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 18 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 19 - 2025-06-09 10:58:42 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 20 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 21 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 22 - 2025-06-09 10:58:42 [0.14ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 23 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 24 - 2025-06-09 10:58:42 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 25 - 2025-06-09 10:58:42 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 26 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 27 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 28 - 2025-06-09 10:58:42 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 29 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 30 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 31 - 2025-06-09 10:58:42 [0.14ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 32 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 33 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 34 - 2025-06-09 10:58:42 [0.16ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 35 - 2025-06-09 10:58:42 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 36 - 2025-06-09 10:58:42 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 37 - 2025-06-09 10:58:42 [0.14ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 38 - 2025-06-09 10:58:42 [0.14ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 39 - 2025-06-09 10:58:42 [0.24ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 40 - 2025-06-09 10:58:42 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 41 - 2025-06-09 10:58:42 [0.26ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 42 - 2025-06-09 10:58:42 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 43 - 2025-06-09 10:58:42 [0.19ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/discount
   Query 44 - 2025-06-09 10:58:42 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:43 [1.36ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:43 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:43 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:43 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:43 [0.2ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:43 [0.15ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:43 [0.17ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:43 [0.16ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:43 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:43 [0.16ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:43 [0.15ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:43 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:43 [0.14ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:43 [0.16ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:43 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:43 [0.14ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:43 [0.15ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:43 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:43 [0.2ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:43 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:43 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:43 [0.15ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:43 [0.16ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:43 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:43 [0.17ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:43 [0.15ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:43 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:43 [0.15ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:43 [0.33ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:43 [0.34ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:43 [0.3ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:43 [0.3ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:43 [0.26ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:43 [0.29ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:43 [0.29ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:43 [0.26ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 10:58:44 [2.28ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 10:58:44 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 10:58:44 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 10:58:44 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 10:58:44 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 10:58:44 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:44 [1.92ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:44 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:44 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:44 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:45 [0.3ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:45 [0.19ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:45 [0.19ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:45 [0.19ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:45 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:45 [0.17ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:45 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:45 [0.17ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:45 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:45 [0.18ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:45 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:45 [0.17ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:45 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:45 [0.18ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:45 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:45 [0.17ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:45 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:45 [0.16ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:45 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:45 [0.16ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:45 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:45 [0.16ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:45 [0.16ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:45 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 10:58:47 [1.58ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 10:58:47 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 10:58:47 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 10:58:47 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 10:58:48 [0.32ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 10:58:48 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 10:58:48 [0.3ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%r%' or `vin` like '%r%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 10:58:48 [0.29ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%r%' or `vin` like '%r%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 10:58:48 [0.25ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 10:58:48 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 10:58:48 [0.23ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 10:58:48 [0.23ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 10:58:48 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 10:58:48 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (26250, 26300, 26366, 46198, 50164, 50185) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 10:58:48 [0.27ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 10:58:48 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 10:58:48 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 10:58:48 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-06-09 10:58:48 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-06-09 10:58:48 [0.2ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26250 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-06-09 10:58:48 [0.18ms] */
select * from `party` where `party`.`id` = 17194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-06-09 10:58:48 [0.2ms] */
select * from `person` where `person`.`id` = 17194 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-06-09 10:58:48 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-06-09 10:58:48 [0.17ms] */
select * from `party` where `party`.`id` = 17194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-06-09 10:58:48 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-06-09 10:58:48 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-06-09 10:58:48 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26300 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-06-09 10:58:48 [0.17ms] */
select * from `party` where `party`.`id` = 17248 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-06-09 10:58:48 [0.17ms] */
select * from `person` where `person`.`id` = 17248 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-06-09 10:58:48 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-06-09 10:58:48 [0.16ms] */
select * from `party` where `party`.`id` = 17248 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-06-09 10:58:48 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-06-09 10:58:48 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-06-09 10:58:48 [0.18ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26366 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-06-09 10:58:48 [0.16ms] */
select * from `party` where `party`.`id` = 17300 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-06-09 10:58:48 [0.17ms] */
select * from `person` where `person`.`id` = 17300 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-06-09 10:58:48 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-06-09 10:58:48 [0.16ms] */
select * from `party` where `party`.`id` = 17300 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-06-09 10:58:48 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-06-09 10:58:48 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-06-09 10:58:48 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46198 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-06-09 10:58:48 [0.16ms] */
select * from `party` where `party`.`id` = 37113 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-06-09 10:58:48 [0.37ms] */
select * from `person` where `person`.`id` = 37113 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-06-09 10:58:48 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-06-09 10:58:48 [0.27ms] */
select * from `party` where `party`.`id` = 37113 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-06-09 10:58:48 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-06-09 10:58:48 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-06-09 10:58:48 [0.28ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50164 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-06-09 10:58:48 [0.28ms] */
select * from `party` where `party`.`id` = 57082 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-06-09 10:58:48 [0.27ms] */
select * from `company` where `company`.`id` = 1369 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-06-09 10:58:48 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-06-09 10:58:48 [0.27ms] */
select * from `party` where `party`.`id` = 57082 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-06-09 10:58:48 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 54 - 2025-06-09 10:58:48 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 55 - 2025-06-09 10:58:48 [0.19ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50185 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 56 - 2025-06-09 10:58:48 [0.18ms] */
select * from `party` where `party`.`id` = 38949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 57 - 2025-06-09 10:58:48 [0.2ms] */
select * from `person` where `person`.`id` = 38949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 58 - 2025-06-09 10:58:48 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 59 - 2025-06-09 10:58:48 [0.19ms] */
select * from `party` where `party`.`id` = 38949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 10:58:48 [1.98ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 10:58:48 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 10:58:48 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 10:58:48 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 10:58:48 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 10:58:48 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 10:58:48 [191.02ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%rs1%' or `vin` like '%rs1%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 10:58:48 [22.64ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%rs1%' or `vin` like '%rs1%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 10:58:48 [0.31ms] */
select * from `model` where `model`.`id` in (1, 1367) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 10:58:48 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 22) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 10:58:48 [0.26ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 6) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 10:58:48 [0.28ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 10:58:48 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 10:58:48 [0.31ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (21757, 37334, 44117, 48141, 48383, 51235) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 10:58:48 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 10:58:48 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 10:58:48 [0.24ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 10:58:48 [0.28ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 48141 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-06-09 10:58:48 [0.26ms] */
select * from `party` where `party`.`id` = 38505 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-06-09 10:58:48 [0.29ms] */
select * from `person` where `person`.`id` = 38505 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-06-09 10:58:48 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-06-09 10:58:48 [0.23ms] */
select * from `party` where `party`.`id` = 38505 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-06-09 10:58:48 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-06-09 10:58:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-06-09 10:58:48 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 37334 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-06-09 10:58:48 [0.14ms] */
select * from `party` where `party`.`id` = 25848 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-06-09 10:58:48 [0.15ms] */
select * from `person` where `person`.`id` = 25848 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-06-09 10:58:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-06-09 10:58:48 [0.14ms] */
select * from `party` where `party`.`id` = 25848 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-06-09 10:58:48 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-06-09 10:58:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-06-09 10:58:48 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 44117 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-06-09 10:58:48 [0.14ms] */
select * from `party` where `party`.`id` = 34279 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-06-09 10:58:49 [0.35ms] */
select * from `person` where `person`.`id` = 34279 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-06-09 10:58:49 [0.28ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-06-09 10:58:49 [0.28ms] */
select * from `party` where `party`.`id` = 34279 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-06-09 10:58:49 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-06-09 10:58:49 [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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-06-09 10:58:49 [0.25ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-06-09 10:58:49 [0.3ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 21757 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-06-09 10:58:49 [0.27ms] */
select * from `party` where `party`.`id` = 14363 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-06-09 10:58:49 [0.29ms] */
select * from `person` where `person`.`id` = 14363 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-06-09 10:58:49 [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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-06-09 10:58:49 [0.27ms] */
select * from `party` where `party`.`id` = 14363 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-06-09 10:58:49 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-06-09 10:58:49 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-06-09 10:58:49 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 48383 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 36383 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-06-09 10:58:49 [0.14ms] */
select * from `person` where `person`.`id` = 36383 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-06-09 10:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 36383 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-06-09 10:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-06-09 10:58:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 54 - 2025-06-09 10:58:49 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 51235 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 55 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 34637 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 56 - 2025-06-09 10:58:49 [0.15ms] */
select * from `person` where `person`.`id` = 34637 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 57 - 2025-06-09 10:58:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 58 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 34637 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 10:58:49 [1.33ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 10:58:49 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 10:58:49 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 10:58:49 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 10:58:49 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 10:58:49 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 10:58:49 [0.2ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%rs16%' or `vin` like '%rs16%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 10:58:49 [0.17ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%rs16%' or `vin` like '%rs16%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 10:58:49 [0.14ms] */
select * from `model` where `model`.`id` in (1056, 1278) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 10:58:49 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (26, 30) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 10:58:49 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 10:58:49 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 10:58:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 11) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 10:58:49 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (38307, 47839) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 10:58:49 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 10:58:49 [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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 10:58:49 [0.14ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 10:58:49 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 47839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-06-09 10:58:49 [0.15ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-06-09 10:58:49 [0.16ms] */
select * from `person` where `person`.`id` = 38353 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-06-09 10:58:49 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-06-09 10:58:49 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-06-09 10:58:49 [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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-06-09 10:58:49 [0.13ms] */
select * from `make` where `make`.`id` = 72 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-06-09 10:58:49 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 38307 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 26950 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-06-09 10:58:49 [0.15ms] */
select * from `person` where `person`.`id` = 26950 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-06-09 10:58:49 [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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-06-09 10:58:49 [0.14ms] */
select * from `party` where `party`.`id` = 26950 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 10:58:49 [1.67ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 10:58:49 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 10:58:49 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 10:58:49 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 10:58:49 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 10:58:49 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 10:58:49 [0.25ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%rs160%' or `vin` like '%rs160%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 10:58:49 [0.22ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%rs160%' or `vin` like '%rs160%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 10:58:49 [0.17ms] */
select * from `model` where `model`.`id` in (1056) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 10:58:49 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (30) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-06-09 10:58:49 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-06-09 10:58:49 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-06-09 10:58:49 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (11) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-06-09 10:58:49 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (47839) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-06-09 10:58:49 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-06-09 10:58:49 [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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-06-09 10:58:49 [0.26ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-06-09 10:58:49 [0.27ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-06-09 10:58:52 [1.32ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-06-09 10:58:52 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-06-09 10:58:52 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-06-09 10:58:52 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-06-09 10:58:52 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-06-09 10:58:52 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-06-09 10:58:52 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-06-09 10:58:52 [0.14ms] */
select exists(select * from `party_vehicle` where `vehicle_id` = 47839 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-06-09 10:58:52 [0.25ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-06-09 10:58:52 [0.15ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:52 [2.05ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:52 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:52 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:52 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:52 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:52 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:52 [0.57ms] */
select * from `vehicle_tax` where `vehicle_id` = 47839 and `status` != 'ISSUED' and `status` != 'PAID' and `vehicle_tax`.`deleted_at` is null order by `vehicle_id` asc, `term_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:52 [0.27ms] */
select `id` from `vehicle_tax` where `vehicle_id` = 47839 and `status` != 'ISSUED' and `status` != 'PAID' and `exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:52 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `status` != 'REGISTERED' and `status` != 'PAID' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:52 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:52 [0.14ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:52 [0.14ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:52 [0.16ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:52 [0.16ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:52 [0.15ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:52 [0.15ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:52 [0.14ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:52 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:52 [0.15ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:52 [0.14ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:52 [0.17ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:52 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:52 [0.15ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:52 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:52 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:52 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 43 - 2025-06-09 10:58:52 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 44 - 2025-06-09 10:58:52 [0.14ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 45 - 2025-06-09 10:58:52 [0.14ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 46 - 2025-06-09 10:58:52 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 47 - 2025-06-09 10:58:52 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 47839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 48 - 2025-06-09 10:58:52 [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://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 49 - 2025-06-09 10:58:52 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 50 - 2025-06-09 10:58:52 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 51 - 2025-06-09 10:58:52 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:54 [1.65ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:54 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:54 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:54 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:55 [0.57ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (258561, 284801, 284802, 284803, 284804);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:55 [0.2ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:55 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:55 [0.16ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:55 [0.17ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:55 [0.19ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:55 [0.19ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:55 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:55 [0.2ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:55 [0.18ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:55 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:55 [0.16ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:55 [0.19ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:55 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:55 [0.17ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:55 [0.17ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:55 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:55 [0.16ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:55 [0.17ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:55 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:55 [0.16ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:55 [0.17ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:55 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:55 [0.17ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:55 [0.17ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:55 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:55 [0.15ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:55 [0.17ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:55 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:55 [0.15ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:55 [0.16ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:55 [0.16ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:55 [0.16ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:55 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:55 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:55 [0.14ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:55 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 43 - 2025-06-09 10:58:55 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 44 - 2025-06-09 10:58:55 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 45 - 2025-06-09 10:58:55 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 46 - 2025-06-09 10:58:55 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 47 - 2025-06-09 10:58:55 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 48 - 2025-06-09 10:58:55 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 49 - 2025-06-09 10:58:55 [0.14ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:56 [1.77ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:56 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:56 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:57 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:57 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (258561, 284801, 284802, 284803, 284804);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:57 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` in (47839) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:57 [0.27ms] */
select * from `term` where `term`.`id` in (97, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:57 [0.28ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:57 [0.26ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:57 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:57 [0.25ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:57 [0.27ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:57 [0.34ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:57 [0.29ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:57 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:57 [0.29ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:57 [0.3ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:57 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:57 [0.29ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:57 [0.3ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:57 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:57 [0.29ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:57 [0.29ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:57 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:57 [0.2ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:57 [0.2ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:57 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:57 [0.2ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:57 [0.22ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:57 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:57 [0.16ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:57 [0.17ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:57 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:57 [0.16ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:57 [0.17ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:57 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:57 [0.16ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:57 [0.17ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:57 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:57 [0.16ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:57 [0.16ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:57 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:58 [2.06ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:58 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:58 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:58 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:58:58 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (258561, 284801, 284802, 284803, 284804);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:58:58 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (47839) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:58:58 [0.14ms] */
select * from `term` where `term`.`id` in (97, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:58:58 [0.16ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:58:58 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:58:58 [0.13ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:58:58 [0.15ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:58:58 [0.16ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:58:58 [0.16ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:58:58 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:58:58 [0.15ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:58:58 [0.15ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:58:58 [0.14ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:58:58 [0.14ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:58:58 [0.14ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:58:58 [0.15ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:58:58 [0.14ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:58:58 [0.15ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:58:58 [0.14ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:58:58 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:58:58 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2025-06-09 10:58:59 [1.94ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2025-06-09 10:58:59 [0.94ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 3 - 2025-06-09 10:58:59 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2025-06-09 10:58:59 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2025-06-09 10:59:00 [0.32ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (258561, 284801, 284802, 284803, 284804);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-06-09 10:59:00 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (47839) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-06-09 10:59:00 [0.14ms] */
select * from `term` where `term`.`id` in (97, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2025-06-09 10:59:00 [0.16ms] */
select * from `service` where `service`.`id` in (4, 12, 14, 13, 6, 2, 1, 7, 10, 3, 5, 15, 11, 9, 8);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2025-06-09 10:59:00 [0.12ms] */
select * from `service` where `service`.`id` in (2);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2025-06-09 10:59:00 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2025-06-09 10:59:00 [43.22ms] */
select * from `discount` where `vehicle_id` = 47839 and `service_id` = 2 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-06-09 10:59:00 [6.43ms] */
insert into `discount` (`party_id`, `description`, `service_id`, `vehicle_tax`, `party_vehicle_id`, `vehicle_id`, `amount`, `percentage`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (38353, null, 2, '["258561","284801"]', null, 47839, null, null, '2025-06-30 10:59:00', 73, 73, '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-06-09 10:59:00 [0.49ms] */
select * from `discount` where `id` = 26148 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2025-06-09 10:59:00 [3.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":null,"percentage":null,"vehicle_id":47839,"amount":null,"expiry_date":"2025-06-30 10:59:00","party_id":38353,"service_id":2,"vehicle_tax":["258561","284801"],"party_vehicle_id":null}}', 73, 'App\Models\User', 26148, 'Modules\Transaction\Entities\Discount', 'created', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2025-06-09 10:59:00 [0.52ms] */
select * from `invoice` where `transaction_id` = 351553 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2025-06-09 10:59:00 [3.22ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:59:00' where `id` = 258561;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2025-06-09 10:59:00 [0.35ms] */
select * from `vehicle_tax` where `id` = 258561 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2025-06-09 10:59:00 [3.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 258561, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2025-06-09 10:59:00 [3.09ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:59:00' where `id` = 329537;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2025-06-09 10:59:00 [0.36ms] */
select * from `invoice` where `id` = 329537 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2025-06-09 10:59:00 [2.95ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 329537, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2025-06-09 10:59:00 [0.44ms] */
select * from `invoice` where `transaction_id` = 382816 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2025-06-09 10:59:00 [2.98ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:59:00' where `id` = 284801;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2025-06-09 10:59:00 [0.32ms] */
select * from `vehicle_tax` where `id` = 284801 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2025-06-09 10:59:00 [3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 73, 'App\Models\User', 284801, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2025-06-09 10:59:00 [2.94ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:59:00' where `id` = 360355;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2025-06-09 10:59:00 [0.35ms] */
select * from `invoice` where `id` = 360355 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2025-06-09 10:59:00 [3.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 360355, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 29 - 2025-06-09 10:59:00 [0.6ms] */
select * from `invoice` where `transaction_id` = 382817 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 30 - 2025-06-09 10:59:00 [2.9ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:59:00' where `id` = 284802;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 31 - 2025-06-09 10:59:00 [0.33ms] */
select * from `vehicle_tax` where `id` = 284802 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 32 - 2025-06-09 10:59:00 [2.94ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 284802, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 33 - 2025-06-09 10:59:00 [2.96ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:59:00' where `id` = 360356;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 34 - 2025-06-09 10:59:00 [0.35ms] */
select * from `invoice` where `id` = 360356 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 35 - 2025-06-09 10:59:00 [2.97ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 360356, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 36 - 2025-06-09 10:59:00 [0.41ms] */
select * from `invoice` where `transaction_id` = 382818 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 37 - 2025-06-09 10:59:00 [2.95ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:59:00' where `id` = 284803;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 38 - 2025-06-09 10:59:00 [0.35ms] */
select * from `vehicle_tax` where `id` = 284803 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 39 - 2025-06-09 10:59:00 [3.03ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 284803, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 40 - 2025-06-09 10:59:00 [4.9ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:59:00' where `id` = 360357;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 41 - 2025-06-09 10:59:00 [0.4ms] */
select * from `invoice` where `id` = 360357 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 42 - 2025-06-09 10:59:00 [3.44ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 360357, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 43 - 2025-06-09 10:59:00 [0.37ms] */
select * from `invoice` where `transaction_id` = 382819 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 44 - 2025-06-09 10:59:00 [4.99ms] */
update `vehicle_tax` set `updated_by` = 73, `vehicle_tax`.`updated_at` = '2025-06-09 10:59:00' where `id` = 284804;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 45 - 2025-06-09 10:59:00 [0.32ms] */
select * from `vehicle_tax` where `id` = 284804 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 46 - 2025-06-09 10:59:00 [2.99ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 284804, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 47 - 2025-06-09 10:59:00 [3.1ms] */
update `invoice` set `updated_by` = 73, `invoice`.`updated_at` = '2025-06-09 10:59:00' where `id` = 360358;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 48 - 2025-06-09 10:59:00 [0.38ms] */
select * from `invoice` where `id` = 360358 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 49 - 2025-06-09 10:59:00 [3.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 73, 'App\Models\User', 360358, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-09 10:59:00', '2025-06-09 10:59:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 50 - 2025-06-09 10:59:00 [6.37ms] */
select count(*) as aggregate from `discount` where `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 51 - 2025-06-09 10:59:00 [9.83ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 52 - 2025-06-09 10:59:00 [0.22ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 53 - 2025-06-09 10:59:00 [0.3ms] */
select * from `person` where `person`.`id` = 38353 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 54 - 2025-06-09 10:59:00 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 55 - 2025-06-09 10:59:00 [0.27ms] */
select * from `party` where `party`.`id` = 59121 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 56 - 2025-06-09 10:59:00 [0.27ms] */
select * from `person` where `person`.`id` = 56680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 57 - 2025-06-09 10:59:00 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 58 - 2025-06-09 10:59:00 [0.27ms] */
select * from `party` where `party`.`id` = 53436 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 59 - 2025-06-09 10:59:00 [0.29ms] */
select * from `person` where `person`.`id` = 53436 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 60 - 2025-06-09 10:59:00 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 61 - 2025-06-09 10:59:00 [0.24ms] */
select * from `party` where `party`.`id` = 38264 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 62 - 2025-06-09 10:59:00 [0.14ms] */
select * from `person` where `person`.`id` = 38264 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 63 - 2025-06-09 10:59:00 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 64 - 2025-06-09 10:59:00 [0.14ms] */
select * from `party` where `party`.`id` = 8313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 65 - 2025-06-09 10:59:00 [0.14ms] */
select * from `person` where `person`.`id` = 8313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 66 - 2025-06-09 10:59:00 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 67 - 2025-06-09 10:59:00 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 68 - 2025-06-09 10:59:00 [0.14ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 69 - 2025-06-09 10:59:00 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 70 - 2025-06-09 10:59:00 [0.14ms] */
select * from `party` where `party`.`id` = 39295 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 71 - 2025-06-09 10:59:00 [0.14ms] */
select * from `person` where `person`.`id` = 39295 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 72 - 2025-06-09 10:59:00 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 73 - 2025-06-09 10:59:00 [0.15ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 74 - 2025-06-09 10:59:00 [0.14ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 75 - 2025-06-09 10:59:00 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 76 - 2025-06-09 10:59:00 [0.14ms] */
select * from `party` where `party`.`id` = 31745 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 77 - 2025-06-09 10:59:00 [0.15ms] */
select * from `person` where `person`.`id` = 31745 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 78 - 2025-06-09 10:59:00 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 79 - 2025-06-09 10:59:00 [0.13ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 80 - 2025-06-09 10:59:00 [0.14ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 81 - 2025-06-09 10:59:00 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 1 - 2025-06-09 10:59:02 [2.03ms] */
select * from `users` where `id` = 73 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 2 - 2025-06-09 10:59:02 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 3 - 2025-06-09 10:59:02 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 4 - 2025-06-09 10:59:02 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-09 10:59:07 [1.32ms] */
select * from `users` where `email` = 'muuse.muuse@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 2 - 2025-06-09 10:59:07 [0.16ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 3 - 2025-06-09 10:59:07 [0.46ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 74 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 4 - 2025-06-09 10:59:07 [20.1ms] */
update `userprofiles` set `login_count` = 544, `last_login` = '2025-06-09 10:59:07', `userprofiles`.`updated_at` = '2025-06-09 10:59:07' where `id` = 74;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 5 - 2025-06-09 10:59:07 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 6 - 2025-06-09 10:59:07 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 7 - 2025-06-09 10:59:07 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 1 - 2025-06-09 10:59:07 [1.61ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-06-09 10:59:07 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 3 - 2025-06-09 10:59:07 [0.54ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 4 - 2025-06-09 10:59:07 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 5 - 2025-06-09 10:59:07 [0.25ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-06-09 10:59:07 [0.23ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-06-09' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-06-09 10:59:07 [0.23ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-06-09 10:59:07 [0.23ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-06-09' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-06-09 10:59:07 [4.92ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-06-08' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-06-09 10:59:07 [2.6ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-06-08' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-06-09 10:59:08 [594.37ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-06-09' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-06-09 10:59:10 [1936.71ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-06-09' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-06-09 10:59:10 [0.25ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-06-09 10:59:10 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 1 - 2025-06-09 10:59:11 [1.33ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 2 - 2025-06-09 10:59:11 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 3 - 2025-06-09 10:59:11 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 4 - 2025-06-09 10:59:11 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-06-09 10:59:13 [1618.84ms] */
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-06-09 10:59:11') 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://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-06-09 10:59:15 [1585.46ms] */
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-06-09 10:59:11') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 7 - 2025-06-09 10:59:15 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 21409 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 8 - 2025-06-09 10:59:15 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 21409 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 9 - 2025-06-09 10:59:15 [0.14ms] */
select * from `party` where `party`.`id` = 14267 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 10 - 2025-06-09 10:59:15 [0.15ms] */
select * from `person` where `person`.`id` = 14267 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 11 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 12 - 2025-06-09 10:59:15 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 13 - 2025-06-09 10:59:15 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 14 - 2025-06-09 10:59:15 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 15 - 2025-06-09 10:59:15 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 22 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 16 - 2025-06-09 10:59:15 [1.93ms] */
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` = 21409 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 17 - 2025-06-09 10:59:15 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 18 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 19 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 20 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 21 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 22 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 23 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 24 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 25 - 2025-06-09 10:59:15 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 61082 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 26 - 2025-06-09 10:59:15 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 61082 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 27 - 2025-06-09 10:59:15 [0.14ms] */
select * from `party` where `party`.`id` = 44062 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 28 - 2025-06-09 10:59:15 [0.15ms] */
select * from `person` where `person`.`id` = 44062 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 29 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 30 - 2025-06-09 10:59:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 31 - 2025-06-09 10:59:15 [0.12ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 32 - 2025-06-09 10:59:15 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 33 - 2025-06-09 10:59:15 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 34 - 2025-06-09 10:59:15 [1.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` = 61082 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 35 - 2025-06-09 10:59:15 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 36 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 37 - 2025-06-09 10:59:15 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 49232 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 38 - 2025-06-09 10:59:15 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 49232 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 39 - 2025-06-09 10:59:15 [0.14ms] */
select * from `party` where `party`.`id` = 43994 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 40 - 2025-06-09 10:59:15 [0.15ms] */
select * from `person` where `person`.`id` = 43994 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 41 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 42 - 2025-06-09 10:59:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 43 - 2025-06-09 10:59:15 [0.12ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 44 - 2025-06-09 10:59:15 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 45 - 2025-06-09 10:59:15 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 46 - 2025-06-09 10:59:15 [0.79ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 49232 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 47 - 2025-06-09 10:59:15 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 48 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 49 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 50 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 51 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 52 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 53 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 54 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 55 - 2025-06-09 10:59:15 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75005 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 56 - 2025-06-09 10:59:15 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 75005 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 57 - 2025-06-09 10:59:15 [0.14ms] */
select * from `party` where `party`.`id` = 49176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 58 - 2025-06-09 10:59:15 [0.15ms] */
select * from `person` where `person`.`id` = 49176 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 59 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 60 - 2025-06-09 10:59:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 61 - 2025-06-09 10:59:15 [0.14ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 62 - 2025-06-09 10:59:15 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 63 - 2025-06-09 10:59:15 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 64 - 2025-06-09 10:59:15 [1.45ms] */
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` = 75005 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 65 - 2025-06-09 10:59:15 [0.26ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 66 - 2025-06-09 10:59:15 [0.26ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 67 - 2025-06-09 10:59:15 [0.23ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 68 - 2025-06-09 10:59:15 [0.23ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 69 - 2025-06-09 10:59:15 [0.24ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 70 - 2025-06-09 10:59:15 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 69525 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 71 - 2025-06-09 10:59:15 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 69525 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 72 - 2025-06-09 10:59:15 [0.22ms] */
select * from `party` where `party`.`id` = 57507 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 73 - 2025-06-09 10:59:15 [0.22ms] */
select * from `company` where `company`.`id` = 1794 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 74 - 2025-06-09 10:59:15 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 75 - 2025-06-09 10:59:15 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 76 - 2025-06-09 10:59:15 [0.2ms] */
select * from `model` where `model`.`id` = 4364 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 77 - 2025-06-09 10:59:15 [0.19ms] */
select * from `make` where `make`.`id` = 86 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 78 - 2025-06-09 10:59:15 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 16 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 79 - 2025-06-09 10:59:15 [1.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` = 69525 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 80 - 2025-06-09 10:59:15 [0.21ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 81 - 2025-06-09 10:59:15 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 82 - 2025-06-09 10:59:15 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 72895 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 83 - 2025-06-09 10:59:15 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 72895 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 84 - 2025-06-09 10:59:15 [0.22ms] */
select * from `party` where `party`.`id` = 46341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 85 - 2025-06-09 10:59:15 [0.22ms] */
select * from `person` where `person`.`id` = 46341 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 86 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 87 - 2025-06-09 10:59:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 88 - 2025-06-09 10:59:15 [0.13ms] */
select * from `model` where `model`.`id` = 4386 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 89 - 2025-06-09 10:59:15 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 90 - 2025-06-09 10:59:15 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 91 - 2025-06-09 10:59:15 [0.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 72895 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 92 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 93 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 94 - 2025-06-09 10:59:15 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 95 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 96 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 97 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 98 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 99 - 2025-06-09 10:59:15 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 26099 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 100 - 2025-06-09 10:59:15 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 26099 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 101 - 2025-06-09 10:59:15 [0.14ms] */
select * from `party` where `party`.`id` = 17048 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 102 - 2025-06-09 10:59:15 [0.14ms] */
select * from `person` where `person`.`id` = 17048 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 103 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 104 - 2025-06-09 10:59:15 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 105 - 2025-06-09 10:59:15 [0.13ms] */
select * from `model` where `model`.`id` = 1060 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 106 - 2025-06-09 10:59:15 [0.12ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 107 - 2025-06-09 10:59:15 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 13 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 108 - 2025-06-09 10:59:15 [1.83ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 26099 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 109 - 2025-06-09 10:59:15 [0.28ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 110 - 2025-06-09 10:59:15 [0.23ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 111 - 2025-06-09 10:59:15 [0.22ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 112 - 2025-06-09 10:59:15 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88391 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 113 - 2025-06-09 10:59:15 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 88391 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 114 - 2025-06-09 10:59:15 [0.26ms] */
select * from `party` where `party`.`id` = 55313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 115 - 2025-06-09 10:59:15 [0.27ms] */
select * from `person` where `person`.`id` = 55313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 116 - 2025-06-09 10:59:15 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 117 - 2025-06-09 10:59:15 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 118 - 2025-06-09 10:59:15 [0.25ms] */
select * from `model` where `model`.`id` = 1356 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 119 - 2025-06-09 10:59:15 [0.24ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 120 - 2025-06-09 10:59:15 [0.25ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 121 - 2025-06-09 10:59:15 [1.88ms] */
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` = 88391 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 122 - 2025-06-09 10:59:15 [0.28ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 123 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 124 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 125 - 2025-06-09 10:59:15 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 126 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 127 - 2025-06-09 10:59:15 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62215 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 128 - 2025-06-09 10:59:15 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 62215 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 129 - 2025-06-09 10:59:15 [0.14ms] */
select * from `party` where `party`.`id` = 44270 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 130 - 2025-06-09 10:59:15 [0.15ms] */
select * from `person` where `person`.`id` = 44270 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 131 - 2025-06-09 10:59:15 [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://rta2.puntlandgov.org/m/service/tax/list
   Query 132 - 2025-06-09 10:59:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 133 - 2025-06-09 10:59:15 [0.13ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 134 - 2025-06-09 10:59:15 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 135 - 2025-06-09 10:59:15 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 136 - 2025-06-09 10:59:15 [1.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` = 62215 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 137 - 2025-06-09 10:59:15 [0.25ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 138 - 2025-06-09 10:59:15 [0.23ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 139 - 2025-06-09 10:59:15 [0.23ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 140 - 2025-06-09 10:59:15 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 91112 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 141 - 2025-06-09 10:59:15 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 91112 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 142 - 2025-06-09 10:59:15 [0.27ms] */
select * from `party` where `party`.`id` = 58737 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 143 - 2025-06-09 10:59:15 [0.28ms] */
select * from `person` where `person`.`id` = 56308 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 144 - 2025-06-09 10:59:15 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 145 - 2025-06-09 10:59:15 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 146 - 2025-06-09 10:59:15 [0.25ms] */
select * from `model` where `model`.`id` = 1531 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 147 - 2025-06-09 10:59:15 [0.23ms] */
select * from `make` where `make`.`id` = 78 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 148 - 2025-06-09 10:59:15 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 149 - 2025-06-09 10:59:15 [3.13ms] */
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` = 91112 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:15' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 150 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 151 - 2025-06-09 10:59:15 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 152 - 2025-06-09 10:59:15 [0.29ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 153 - 2025-06-09 10:59:15 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-06-09 10:59:20 [1.35ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-06-09 10:59:20 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-06-09 10:59:20 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-06-09 10:59:20 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-06-09 10:59:21 [1499.19ms] */
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-06-09 10:59:20') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%r%' or `vin` like '%r%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-06-09 10:59:23 [1533.91ms] */
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-06-09 10:59:20') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%r%' or `vin` like '%r%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2025-06-09 10:59:23 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 8 - 2025-06-09 10:59:23 [0.16ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 9 - 2025-06-09 10:59:23 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 10 - 2025-06-09 10:59:23 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2025-06-09 10:59:23 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 12 - 2025-06-09 10:59:23 [0.15ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2025-06-09 10:59:23 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2025-06-09 10:59:23 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2025-06-09 10:59:23 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2025-06-09 10:59:23 [0.14ms] */
select * from `model` where `model`.`id` = 4364 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 17 - 2025-06-09 10:59:23 [0.14ms] */
select * from `make` where `make`.`id` = 86 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 18 - 2025-06-09 10:59:23 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 16 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 19 - 2025-06-09 10:59:23 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 20 - 2025-06-09 10:59:23 [0.14ms] */
select * from `model` where `model`.`id` = 1356 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 21 - 2025-06-09 10:59:23 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 22 - 2025-06-09 10:59:23 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 23 - 2025-06-09 10:59:23 [0.45ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 50983 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 24 - 2025-06-09 10:59:23 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 50983 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 25 - 2025-06-09 10:59:23 [0.19ms] */
select * from `party` where `party`.`id` = 39740 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 26 - 2025-06-09 10:59:23 [0.18ms] */
select * from `person` where `person`.`id` = 39740 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 27 - 2025-06-09 10:59:23 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 28 - 2025-06-09 10:59:23 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 29 - 2025-06-09 10:59:23 [0.13ms] */
select * from `model` where `model`.`id` = 1448 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 30 - 2025-06-09 10:59:23 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 31 - 2025-06-09 10:59:23 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 32 - 2025-06-09 10:59:23 [1.69ms] */
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` = 50983 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 33 - 2025-06-09 10:59:23 [0.17ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 34 - 2025-06-09 10:59:23 [0.15ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 35 - 2025-06-09 10:59:23 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 36 - 2025-06-09 10:59:23 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 37 - 2025-06-09 10:59:23 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 38 - 2025-06-09 10:59:23 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 39 - 2025-06-09 10:59:23 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 40 - 2025-06-09 10:59:23 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 41 - 2025-06-09 10:59:23 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 42 - 2025-06-09 10:59:23 [0.35ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 66977 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 43 - 2025-06-09 10:59:23 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 66977 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 44 - 2025-06-09 10:59:23 [0.56ms] */
select * from `party` where `party`.`id` = 26949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 45 - 2025-06-09 10:59:23 [0.6ms] */
select * from `person` where `person`.`id` = 26949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 46 - 2025-06-09 10:59:23 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 47 - 2025-06-09 10:59:23 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 48 - 2025-06-09 10:59:23 [0.16ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 49 - 2025-06-09 10:59:23 [0.16ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 50 - 2025-06-09 10:59:23 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 51 - 2025-06-09 10:59:23 [1.26ms] */
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` = 66977 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 52 - 2025-06-09 10:59:23 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 53 - 2025-06-09 10:59:23 [0.18ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 73062 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 54 - 2025-06-09 10:59:23 [0.19ms] */
select * from `party_vehicle` where `vehicle_id` = 73062 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 55 - 2025-06-09 10:59:23 [0.15ms] */
select * from `party` where `party`.`id` = 46842 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 56 - 2025-06-09 10:59:23 [0.16ms] */
select * from `person` where `person`.`id` = 46842 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 57 - 2025-06-09 10:59:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 58 - 2025-06-09 10:59:23 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 59 - 2025-06-09 10:59:23 [0.13ms] */
select * from `model` where `model`.`id` = 1381 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 60 - 2025-06-09 10:59:23 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 61 - 2025-06-09 10:59:23 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 25 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 62 - 2025-06-09 10:59:23 [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` = 73062 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 63 - 2025-06-09 10:59:23 [0.15ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 64 - 2025-06-09 10:59:23 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 65 - 2025-06-09 10:59:23 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 66 - 2025-06-09 10:59:23 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 67 - 2025-06-09 10:59:23 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 68 - 2025-06-09 10:59:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 69 - 2025-06-09 10:59:23 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 68573 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 70 - 2025-06-09 10:59:23 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 68573 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 71 - 2025-06-09 10:59:23 [0.15ms] */
select * from `party` where `party`.`id` = 41800 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 72 - 2025-06-09 10:59:23 [0.16ms] */
select * from `person` where `person`.`id` = 41800 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 73 - 2025-06-09 10:59:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 74 - 2025-06-09 10:59:23 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 75 - 2025-06-09 10:59:23 [0.14ms] */
select * from `model` where `model`.`id` = 1389 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 76 - 2025-06-09 10:59:23 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 77 - 2025-06-09 10:59:23 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 78 - 2025-06-09 10:59:23 [1.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` = 68573 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 79 - 2025-06-09 10:59:23 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 80 - 2025-06-09 10:59:23 [0.14ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 81 - 2025-06-09 10:59:23 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 82 - 2025-06-09 10:59:23 [0.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 96124 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 83 - 2025-06-09 10:59:23 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 96124 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 84 - 2025-06-09 10:59:23 [0.51ms] */
select * from `party` where `party`.`id` = 62135 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 85 - 2025-06-09 10:59:23 [0.17ms] */
select * from `company` where `company`.`id` = 2552 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 86 - 2025-06-09 10:59:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 87 - 2025-06-09 10:59:23 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 88 - 2025-06-09 10:59:23 [0.17ms] */
select * from `model` where `model`.`id` = 1531 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 89 - 2025-06-09 10:59:23 [0.16ms] */
select * from `make` where `make`.`id` = 78 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 90 - 2025-06-09 10:59:23 [0.18ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 91 - 2025-06-09 10:59:23 [1.67ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 96124 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 92 - 2025-06-09 10:59:23 [0.2ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 93 - 2025-06-09 10:59:23 [0.52ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 101073 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 94 - 2025-06-09 10:59:23 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 101073 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 95 - 2025-06-09 10:59:23 [0.58ms] */
select * from `party` where `party`.`id` = 66341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 96 - 2025-06-09 10:59:23 [0.34ms] */
select * from `person` where `person`.`id` = 63680 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 97 - 2025-06-09 10:59:23 [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://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 98 - 2025-06-09 10:59:23 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 16 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 99 - 2025-06-09 10:59:23 [0.16ms] */
select * from `model` where `model`.`id` = 1576 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 100 - 2025-06-09 10:59:23 [0.16ms] */
select * from `make` where `make`.`id` = 89 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 101 - 2025-06-09 10:59:23 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 23 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 102 - 2025-06-09 10:59:23 [0.91ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 101073 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 103 - 2025-06-09 10:59:23 [0.19ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-06-09 10:59:23 [1.92ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-06-09 10:59:23 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-06-09 10:59:23 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-06-09 10:59:23 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-06-09 10:59:25 [1531.75ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:23') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%rs160%' or `vin` like '%rs160%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-06-09 10:59:26 [1524.85ms] */
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-06-09 10:59:23') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%rs160%' or `vin` like '%rs160%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2025-06-09 10:59:26 [0.37ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 47839 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 8 - 2025-06-09 10:59:27 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 9 - 2025-06-09 10:59:27 [0.17ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 10 - 2025-06-09 10:59:27 [0.15ms] */
select * from `person` where `person`.`id` = 38353 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2025-06-09 10:59:27 [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://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 12 - 2025-06-09 10:59:27 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2025-06-09 10:59:27 [0.13ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2025-06-09 10:59:27 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2025-06-09 10:59:27 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2025-06-09 10:59:27 [1.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` = 47839 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:27' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 17 - 2025-06-09 10:59:27 [0.15ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 18 - 2025-06-09 10:59:27 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-06-09 10:59:28 [2.01ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-06-09 10:59:28 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-06-09 10:59:28 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-06-09 10:59:28 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 1 - 2025-06-09 10:59:29 [2.03ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 2 - 2025-06-09 10:59:29 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 3 - 2025-06-09 10:59:29 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 4 - 2025-06-09 10:59:29 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 5 - 2025-06-09 10:59:29 [0.43ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 6 - 2025-06-09 10:59:29 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 47839 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 7 - 2025-06-09 10:59:29 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 8 - 2025-06-09 10:59:29 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 23844 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 9 - 2025-06-09 10:59:29 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 10 - 2025-06-09 10:59:29 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 11 - 2025-06-09 10:59:29 [0.49ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 12 - 2025-06-09 10:59:29 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 13 - 2025-06-09 10:59:29 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 14 - 2025-06-09 10:59:29 [0.57ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 15 - 2025-06-09 10:59:29 [200ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 16 - 2025-06-09 10:59:29 [0.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 17 - 2025-06-09 10:59:29 [0.16ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 18 - 2025-06-09 10:59:29 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 19 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 20 - 2025-06-09 10:59:29 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 21 - 2025-06-09 10:59:29 [0.12ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 22 - 2025-06-09 10:59:29 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 23 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 24 - 2025-06-09 10:59:29 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 25 - 2025-06-09 10:59:29 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 26 - 2025-06-09 10:59:29 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 27 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 28 - 2025-06-09 10:59:29 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 29 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 30 - 2025-06-09 10:59:29 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 31 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 32 - 2025-06-09 10:59:29 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 33 - 2025-06-09 10:59:29 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 34 - 2025-06-09 10:59:29 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 35 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 36 - 2025-06-09 10:59:29 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 47839 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 37 - 2025-06-09 10:59:29 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 38 - 2025-06-09 10:59:29 [0.13ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 39 - 2025-06-09 10:59:29 [7.33ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 23844 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 40 - 2025-06-09 10:59:29 [0.3ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 47839 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 41 - 2025-06-09 10:59:29 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 47839 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 42 - 2025-06-09 10:59:29 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 47839 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 43 - 2025-06-09 10:59:29 [0.14ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 44 - 2025-06-09 10:59:29 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 45 - 2025-06-09 10:59:29 [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` = 47839 and `term`.`first_date_of_quarter` <= '2025-06-09 10:59:29' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 46 - 2025-06-09 10:59:29 [0.21ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 47839 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 47 - 2025-06-09 10:59:29 [0.49ms] */
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 (284801, 284802) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 48 - 2025-06-09 10:59:29 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 47839 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 49 - 2025-06-09 10:59:29 [0.14ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 50 - 2025-06-09 10:59:29 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 51 - 2025-06-09 10:59:29 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 52 - 2025-06-09 10:59:29 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 47839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 53 - 2025-06-09 10:59:29 [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://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 54 - 2025-06-09 10:59:29 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 55 - 2025-06-09 10:59:29 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 56 - 2025-06-09 10:59:29 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 57 - 2025-06-09 10:59:29 [0.15ms] */
select * from `party` where `party`.`id` = 38353 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 58 - 2025-06-09 10:59:29 [0.15ms] */
select * from `person` where `person`.`id` = 38353 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 59 - 2025-06-09 10:59:29 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 38353 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 60 - 2025-06-09 10:59:29 [0.14ms] */
select * from `address` where `address`.`id` = 38353 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 61 - 2025-06-09 10:59:29 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 62 - 2025-06-09 10:59:29 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 63 - 2025-06-09 10:59:29 [0.24ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 64 - 2025-06-09 10:59:29 [0.22ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 65 - 2025-06-09 10:59:29 [0.21ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 66 - 2025-06-09 10:59:29 [0.23ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 67 - 2025-06-09 10:59:29 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 68 - 2025-06-09 10:59:29 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 69 - 2025-06-09 10:59:29 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 70 - 2025-06-09 10:59:29 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 71 - 2025-06-09 10:59:29 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 72 - 2025-06-09 10:59:29 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 73 - 2025-06-09 10:59:29 [0.11ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 74 - 2025-06-09 10:59:29 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/47839
   Query 75 - 2025-06-09 10:59:29 [0.13ms] */
