select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1704 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-06-08 10:07:13 [0.21ms] */
select * from `party` where `party`.`id` = 56687 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-06-08 10:07:13 [0.19ms] */
select * from `company` where `company`.`id` = 974 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-06-08 10:07:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-06-08 10:07:13 [0.14ms] */
select * from `party` where `party`.`id` = 56687 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-06-08 10:07:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 73 - 2025-06-08 10:07:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-06-08 10:07:13 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1714 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-06-08 10:07:13 [0.21ms] */
select * from `party` where `party`.`id` = 56694 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-06-08 10:07:13 [0.18ms] */
select * from `company` where `company`.`id` = 981 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 77 - 2025-06-08 10:07:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-06-08 10:07:13 [0.14ms] */
select * from `party` where `party`.`id` = 56694 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-06-08 10:07:13 [2.02ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-08 10:07:13 [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.list-vehicle-component
   Query 3 - 2025-06-08 10:07:13 [0.3ms] */
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.list-vehicle-component
   Query 4 - 2025-06-08 10:07:13 [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/vehicle.list-vehicle-component
   Query 5 - 2025-06-08 10:07:14 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-06-08 10:07:14 [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.list-vehicle-component
   Query 7 - 2025-06-08 10:07:14 [162.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 '%D362%' or `vin` like '%D362%') 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.list-vehicle-component
   Query 8 - 2025-06-08 10:07:14 [184.68ms] */
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 '%D362%' or `vin` like '%D362%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-06-08 10:07:14 [0.36ms] */
select * from `model` where `model`.`id` in (1, 1389, 1438) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-08 10:07:14 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 14, 16) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-08 10:07:14 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-06-08 10:07:14 [0.15ms] */
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.list-vehicle-component
   Query 13 - 2025-06-08 10:07:14 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 6, 8) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-08 10:07:14 [0.85ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (20224, 31515, 55772, 59989, 95608) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-08 10:07:14 [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.list-vehicle-component
   Query 16 - 2025-06-08 10:07:14 [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.list-vehicle-component
   Query 17 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 18 - 2025-06-08 10:07:14 [0.13ms] */
select * from `party` where `party`.`id` = 41765 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-06-08 10:07:14 [0.13ms] */
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/vehicle.list-vehicle-component
   Query 20 - 2025-06-08 10:07:14 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 22 - 2025-06-08 10:07:14 [0.12ms] */
select * from `party` where `party`.`id` = 13754 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 24 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 25 - 2025-06-08 10:07:14 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 59989 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-06-08 10:07:14 [0.23ms] */
select * from `party` where `party`.`id` = 43612 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-06-08 10:07:14 [0.43ms] */
select * from `person` where `person`.`id` = 43612 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 29 - 2025-06-08 10:07:14 [0.14ms] */
select * from `party` where `party`.`id` = 43612 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 31 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 32 - 2025-06-08 10:07:14 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 31515 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-06-08 10:07:14 [0.42ms] */
select * from `party` where `party`.`id` = 24771 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-06-08 10:07:14 [0.25ms] */
select * from `person` where `person`.`id` = 24771 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 36 - 2025-06-08 10:07:14 [0.13ms] */
select * from `party` where `party`.`id` = 24771 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-06-08 10:07:14 [0.13ms] */
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.list-vehicle-component
   Query 38 - 2025-06-08 10:07:14 [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.list-vehicle-component
   Query 39 - 2025-06-08 10:07:14 [0.12ms] */
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.list-vehicle-component
   Query 40 - 2025-06-08 10:07:14 [0.46ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 95608 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-06-08 10:07:14 [0.23ms] */
select * from `party` where `party`.`id` = 53332 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-06-08 10:07:14 [0.24ms] */
select * from `person` where `person`.`id` = 53332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-06-08 10:07:14 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-06-08 10:07:14 [0.13ms] */
select * from `party` where `party`.`id` = 53332 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:07:17 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:07:17 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:07:17 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:07:17 [0.17ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:07:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:07:17 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:07:17 [3.48ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'PF841' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:07:17 [0.3ms] */
select * from `party` where `party`.`id` = 59767 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:07:17 [0.25ms] */
select * from `vehicle` where `id` = 98625 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:07:17 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 98625 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-08 10:07:26 [1.76ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-08 10:07:26 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-08 10:07:26 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-08 10:07:26 [0.3ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-08 10:07:26 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-08 10:07:26 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-08 10:07:26 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 98625 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-08 10:07:26 [0.42ms] */
select * from `vehicle` where `id` = 98625 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-08 10:07:26 [0.39ms] */
select * from `party_vehicle` where `vehicle_id` = 98625 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-08 10:07:26 [2.5ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 98625 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-08 10:07:27 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-08 10:07:27 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-08 10:07:27 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-08 10:07:27 [0.17ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-08 10:07:27 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-08 10:07:27 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-08 10:07:27 [0.18ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-08 10:07:27 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-08 10:07:27 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-08 10:07:27 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-08 10:07:27 [0.25ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-08 10:07:27 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '373eea608900f285cfb040e94eb58bb33eed6fdfa978a5aab13f2c174a40b30e0ac57511ad6b67b1' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-08 10:07:27 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-08 10:07:27 [0.27ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-06-08 10:07:51 [2.09ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-08 10:07:51 [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/vehicle.list-vehicle-component
   Query 3 - 2025-06-08 10:07:51 [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/vehicle.list-vehicle-component
   Query 4 - 2025-06-08 10:07:51 [0.41ms] */
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.list-vehicle-component
   Query 5 - 2025-06-08 10:07:51 [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.list-vehicle-component
   Query 6 - 2025-06-08 10:07:51 [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/vehicle.list-vehicle-component
   Query 7 - 2025-06-08 10:07:51 [156.76ms] */
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 '%DJ362%' or `vin` like '%DJ362%') 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.list-vehicle-component
   Query 8 - 2025-06-08 10:07:52 [182.39ms] */
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 '%DJ362%' or `vin` like '%DJ362%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-06-08 10:07:52 [0.22ms] */
select * from `model` where `model`.`id` in (1400) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-08 10:07:52 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-08 10:07:52 [0.13ms] */
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.list-vehicle-component
   Query 12 - 2025-06-08 10:07:52 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-06-08 10:07:52 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (4) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-08 10:07:52 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (79693) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-08 10:07:52 [0.13ms] */
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/vehicle.list-vehicle-component
   Query 16 - 2025-06-08 10:07: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/vehicle.list-vehicle-component
   Query 17 - 2025-06-08 10:07:52 [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/vehicle.list-vehicle-component
   Query 18 - 2025-06-08 10:07:52 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79693 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-06-08 10:07:52 [0.23ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-06-08 10:07:52 [0.29ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-06-08 10:07:52 [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.list-vehicle-component
   Query 22 - 2025-06-08 10:07:52 [0.14ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 1 - 2025-06-08 10:07:54 [1.59ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 2 - 2025-06-08 10:07:54 [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/m/vehicle/79693
   Query 3 - 2025-06-08 10:07:54 [0.56ms] */
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/vehicle/79693
   Query 4 - 2025-06-08 10:07:54 [0.71ms] */
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/vehicle/79693
   Query 5 - 2025-06-08 10:07:54 [0.44ms] */
select * from `vehicle` where `id` = 79693 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 6 - 2025-06-08 10:07:54 [0.33ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79693 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 7 - 2025-06-08 10:07:54 [0.18ms] */
select * from `vehicle` where `id` = 79693 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 8 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 79693 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 9 - 2025-06-08 10:07:54 [0.25ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 10 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 11 - 2025-06-08 10:07:54 [0.14ms] */
select * from `model` where `model`.`id` = 1400 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 12 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 13 - 2025-06-08 10:07:54 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 14 - 2025-06-08 10:07:54 [0.33ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 79693 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 15 - 2025-06-08 10:07:54 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 16 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 17 - 2025-06-08 10:07:54 [0.14ms] */
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/vehicle/79693
   Query 18 - 2025-06-08 10:07:54 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 19 - 2025-06-08 10:07:54 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 79693 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 20 - 2025-06-08 10:07:54 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 21 - 2025-06-08 10:07:54 [0.13ms] */
select * from `model` where `model`.`id` = 1400 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 22 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 23 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 24 - 2025-06-08 10:07:54 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 25 - 2025-06-08 10:07:54 [0.15ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 26 - 2025-06-08 10:07:54 [0.16ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 27 - 2025-06-08 10:07:54 [0.44ms] */
select * from `transaction` where `transaction`.`id` = 25449 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 28 - 2025-06-08 10:07:54 [0.13ms] */
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/vehicle/79693
   Query 29 - 2025-06-08 10:07:54 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 30 - 2025-06-08 10:07:54 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 31 - 2025-06-08 10:07:54 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 32 - 2025-06-08 10:07:54 [0.85ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 79693 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 33 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 34 - 2025-06-08 10:07:54 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 35 - 2025-06-08 10:07:54 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 36 - 2025-06-08 10:07:54 [0.35ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 37 - 2025-06-08 10:07:54 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 38 - 2025-06-08 10:07:54 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 109742 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 39 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 40 - 2025-06-08 10:07:54 [0.15ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 41 - 2025-06-08 10:07:54 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 42 - 2025-06-08 10:07:54 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 43 - 2025-06-08 10:07:54 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 44 - 2025-06-08 10:07:54 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 45 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 46 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 47 - 2025-06-08 10:07:54 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 48 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 49 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 50 - 2025-06-08 10:07:54 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 171400 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 51 - 2025-06-08 10:07:54 [0.13ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 52 - 2025-06-08 10:07:54 [0.15ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 53 - 2025-06-08 10:07:54 [0.16ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 54 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 55 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 56 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 57 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 58 - 2025-06-08 10:07:54 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 171401 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 59 - 2025-06-08 10:07:54 [0.13ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 60 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 61 - 2025-06-08 10:07:54 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 62 - 2025-06-08 10:07:54 [0.32ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 486547 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 63 - 2025-06-08 10:07:54 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 64 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 65 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 66 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 67 - 2025-06-08 10:07:54 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 171402 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 68 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 69 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 70 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 71 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 72 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 73 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 74 - 2025-06-08 10:07:54 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 75 - 2025-06-08 10:07:54 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 277659 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 76 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 77 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 78 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 79 - 2025-06-08 10:07:54 [0.31ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 544907 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 80 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 81 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 82 - 2025-06-08 10:07:54 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 83 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 84 - 2025-06-08 10:07:54 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 277660 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 85 - 2025-06-08 10:07:54 [0.15ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 86 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 87 - 2025-06-08 10:07:54 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 88 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 89 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 90 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 91 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 92 - 2025-06-08 10:07:54 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 277661 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 93 - 2025-06-08 10:07:54 [0.13ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 94 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 95 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 96 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 97 - 2025-06-08 10:07:54 [0.14ms] */
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/vehicle/79693
   Query 98 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 99 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 100 - 2025-06-08 10:07:54 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 277662 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 101 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 102 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 103 - 2025-06-08 10:07:54 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 104 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 105 - 2025-06-08 10:07:54 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 106 - 2025-06-08 10:07:54 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 107 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 108 - 2025-06-08 10:07:54 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 521701 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 109 - 2025-06-08 10:07:54 [0.27ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 110 - 2025-06-08 10:07:54 [0.27ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 111 - 2025-06-08 10:07:54 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 112 - 2025-06-08 10:07:54 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 113 - 2025-06-08 10:07:54 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 114 - 2025-06-08 10:07:54 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 115 - 2025-06-08 10:07:54 [0.27ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 116 - 2025-06-08 10:07:54 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 117 - 2025-06-08 10:07:54 [0.28ms] */
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/vehicle/79693
   Query 118 - 2025-06-08 10:07:54 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 119 - 2025-06-08 10:07:54 [0.28ms] */
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/vehicle/79693
   Query 120 - 2025-06-08 10:07:54 [0.55ms] */
select * from `transaction` where `transaction`.`id` = 521702 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 121 - 2025-06-08 10:07:54 [0.3ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 122 - 2025-06-08 10:07:54 [0.31ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 123 - 2025-06-08 10:07:54 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 124 - 2025-06-08 10:07:54 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 125 - 2025-06-08 10:07:54 [0.29ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 126 - 2025-06-08 10:07:54 [0.3ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 127 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 128 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 129 - 2025-06-08 10:07:54 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 130 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 131 - 2025-06-08 10:07:54 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 132 - 2025-06-08 10:07:54 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 632615 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 133 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 134 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 135 - 2025-06-08 10:07:54 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 136 - 2025-06-08 10:07:54 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 137 - 2025-06-08 10:07:54 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 138 - 2025-06-08 10:07:54 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 139 - 2025-06-08 10:07:54 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 140 - 2025-06-08 10:07:54 [0.21ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 639555 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 141 - 2025-06-08 10:07:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 79693 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 142 - 2025-06-08 10:07:54 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 143 - 2025-06-08 10:07:54 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 144 - 2025-06-08 10:07:54 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 145 - 2025-06-08 10:07:54 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 632616 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 146 - 2025-06-08 10:07:54 [0.13ms] */
select * from `party` where `party`.`id` = 42216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 147 - 2025-06-08 10:07:54 [0.14ms] */
select * from `person` where `person`.`id` = 42216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 148 - 2025-06-08 10:07:54 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 149 - 2025-06-08 10:07:54 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 150 - 2025-06-08 10:07:54 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 151 - 2025-06-08 10:07:54 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 152 - 2025-06-08 10:07:54 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 153 - 2025-06-08 10:07:54 [0.44ms] */
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/vehicle/79693
   Query 154 - 2025-06-08 10:07:54 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 74 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 155 - 2025-06-08 10:07:54 [0.15ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 74 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 156 - 2025-06-08 10:07:54 [0.93ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 79693 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 157 - 2025-06-08 10:07:54 [0.27ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 158 - 2025-06-08 10:07:54 [0.46ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 79693 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 159 - 2025-06-08 10:07:54 [0.37ms] */
select * from `title_reprint_history` where `vehicle_id` = 79693 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/79693
   Query 160 - 2025-06-08 10:07:54 [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/vehicle/79693
   Query 161 - 2025-06-08 10:07:54 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79693&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-06-08 10:07:54 [1.68ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=79693&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-06-08 10:07:54 [0.8ms] */
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/audit-details?audit_ids=79693&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-06-08 10:07:54 [0.68ms] */
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/audit-details?audit_ids=79693&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-06-08 10:07:54 [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/audit-details?audit_ids=79693&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-06-08 10:07:54 [0.75ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 79693 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:09:09 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:09:09 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:09:09 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:09:09 [0.32ms] */
select * from `users` where `id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:09:09 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:09:09 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:09:09 [0.85ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'XR677' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:09:09 [0.22ms] */
select * from `party` where `party`.`id` = 39740 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:09:09 [0.26ms] */
select * from `vehicle` where `id` = 50983 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:09:09 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 50983 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-08 10:09:10 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-08 10:09:10 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-08 10:09:10 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-08 10:09:10 [0.17ms] */
select * from `users` where `id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-08 10:09:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-08 10:09:10 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-08 10:09:10 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 50983 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-08 10:09:10 [0.32ms] */
select * from `vehicle` where `id` = 50983 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-08 10:09:10 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 50983 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-08 10:09:10 [0.6ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 50983 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-08 10:09:11 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-08 10:09:11 [0.16ms] */
select * from `users` where `id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-08 10:09:11 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-08 10:09:11 [0.16ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-08 10:09:11 [1.25ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-08 10:09:11 [0.16ms] */
select * from `users` where `id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-08 10:09:11 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-08 10:09:11 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-08 10:09:29 [1.59ms] */
select * from `users` where `email` = 'Faarax.maxamuud@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-08 10:10:00 [2.06ms] */
select * from `users` where `email` = 'Faarax.maxamuud@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-08 10:11:59 [1.48ms] */
select * from `users` where `email` = 'Faarax.maxamud@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-08 10:12:10 [2.06ms] */
select * from `users` where `email` = 'Faarax.maxamuud@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 1 - 2025-06-08 10:13:17 [2.19ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 2 - 2025-06-08 10:13:17 [0.79ms] */
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/a-receipts
   Query 3 - 2025-06-08 10:13:17 [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/config/m/a-receipts
   Query 4 - 2025-06-08 10:13:17 [0.43ms] */
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/a-receipts
   Query 5 - 2025-06-08 10:13:17 [0.61ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 6 - 2025-06-08 10:13:17 [0.49ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 7 - 2025-06-08 10:13:17 [0.33ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 8 - 2025-06-08 10:13:17 [0.39ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 9 - 2025-06-08 10:13:17 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 10 - 2025-06-08 10:13:17 [0.32ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 11 - 2025-06-08 10:13:17 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 12 - 2025-06-08 10:13:17 [0.31ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 13 - 2025-06-08 10:13:17 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 14 - 2025-06-08 10:13:17 [0.32ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 15 - 2025-06-08 10:13:17 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 16 - 2025-06-08 10:13:17 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 17 - 2025-06-08 10:13:17 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 18 - 2025-06-08 10:13:17 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/config/m/a-receipts
   Query 19 - 2025-06-08 10:13:17 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:21 [1.37ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:21 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:21 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:13:21 [0.41ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:13:21 [0.25ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:21 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:21 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:21 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:21 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:21 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:21 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:21 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:21 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:21 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:21 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:21 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:21 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:28 [2.33ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:28 [0.74ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:28 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:28 [0.41ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:13:28 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:28 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:28 [0.18ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:28 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:28 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:28 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:28 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:28 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:28 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:28 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:28 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:28 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:28 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:30 [2.2ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:30 [0.64ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:30 [0.94ms] */
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-a-receipts-component
   Query 4 - 2025-06-08 10:13:30 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:30 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:30 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:30 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:30 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:30 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:30 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:37 [1.38ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:37 [0.51ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:37 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:13:37 [0.44ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:13:37 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:37 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:37 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:37 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:37 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:37 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:37 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:37 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:37 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:37 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:37 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:37 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:37 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:37 [2.26ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:37 [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-a-receipts-component
   Query 3 - 2025-06-08 10:13:37 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:37 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:38 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:38 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:38 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:38 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:38 [0.17ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:38 [1.6ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:38 [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-a-receipts-component
   Query 3 - 2025-06-08 10:13:38 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:38 [0.64ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:13:38 [0.27ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:38 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:38 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:38 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:38 [0.16ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:38 [0.17ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:38 [1.37ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:38 [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-a-receipts-component
   Query 3 - 2025-06-08 10:13:38 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:13:38 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:38 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:38 [0.19ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:38 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:38 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:38 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:38 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:39 [2.02ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:39 [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/config.manage-a-receipts-component
   Query 3 - 2025-06-08 10:13:39 [0.3ms] */
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-a-receipts-component
   Query 4 - 2025-06-08 10:13:39 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:39 [0.22ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:39 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:39 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:39 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:39 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:39 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:13:40 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:13:40 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:13:40 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:13:40 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:13:40 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:13:40 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:13:40 [0.86ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'YG116' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:13:40 [0.25ms] */
select * from `party` where `party`.`id` = 58356 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:13:40 [0.24ms] */
select * from `vehicle` where `id` = 89575 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:13:40 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 89575 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-08 10:13:41 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-08 10:13:41 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-08 10:13:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-08 10:13:41 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-08 10:13:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-08 10:13:41 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-08 10:13:41 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 89575 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-08 10:13:41 [0.24ms] */
select * from `vehicle` where `id` = 89575 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-08 10:13:41 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 89575 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-08 10:13:41 [0.81ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 89575 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-08 10:13:41 [2.27ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-08 10:13:41 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-08 10:13:41 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-08 10:13:41 [0.33ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-08 10:13:41 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-08 10:13:41 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-08 10:13:41 [0.28ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-08 10:13:42 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-08 10:13:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-08 10:13:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-08 10:13:42 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-08 10:13:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-08 10:13:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-08 10:13:42 [0.23ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:46 [1.29ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:46 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:46 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:46 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:46 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:46 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:46 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:46 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:46 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:46 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:47 [2.05ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:47 [0.71ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:47 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:47 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:13:47 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:47 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:47 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:47 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:47 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:47 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:47 [1.34ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:47 [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-a-receipts-component
   Query 3 - 2025-06-08 10:13:47 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:13:47 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:13:47 [0.27ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:47 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:47 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:47 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:47 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:47 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:47 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:47 [0.16ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:47 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:47 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:54 [1.31ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:54 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:54 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:13:54 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:54 [0.25ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:54 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:54 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:54 [0.19ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:54 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:54 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:54 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:54 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:54 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:54 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:54 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:54 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:54 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:54 [2ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:54 [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-a-receipts-component
   Query 3 - 2025-06-08 10:13:54 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:13:54 [0.54ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:13:55 [0.33ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:55 [0.17ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:55 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:55 [0.23ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:55 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:55 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:55 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:55 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:55 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:55 [0.17ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:55 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:55 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:55 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:56 [1.34ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:56 [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/config.manage-a-receipts-component
   Query 3 - 2025-06-08 10:13:56 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:56 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:56 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:56 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:56 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:56 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:56 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:56 [0.16ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:56 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:56 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:56 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:56 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:56 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:56 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:56 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:13:57 [1.29ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:13:57 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:13:57 [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-a-receipts-component
   Query 4 - 2025-06-08 10:13:57 [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-a-receipts-component
   Query 5 - 2025-06-08 10:13:57 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:13:57 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:13:57 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:13:57 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:13:57 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:13:57 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:13:57 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:13:57 [0.16ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:13:57 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:13:57 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:13:57 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:13:57 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:13:57 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:01 [2.29ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:01 [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-a-receipts-component
   Query 3 - 2025-06-08 10:14:01 [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-a-receipts-component
   Query 4 - 2025-06-08 10:14:01 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:14:01 [0.25ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:01 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:01 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:01 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:02 [1.32ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:02 [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-a-receipts-component
   Query 3 - 2025-06-08 10:14:02 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:14:02 [0.41ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:14:02 [0.25ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:02 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:02 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:02 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:02 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:26 [1.4ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:26 [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/config.manage-a-receipts-component
   Query 3 - 2025-06-08 10:14:26 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:14:26 [0.41ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:14:26 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:26 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:26 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:26 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:26 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:26 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:27 [2.22ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:27 [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-a-receipts-component
   Query 3 - 2025-06-08 10:14:27 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:14:27 [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-a-receipts-component
   Query 5 - 2025-06-08 10:14:27 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:27 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:27 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:27 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:27 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:27 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:27 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:27 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:27 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:27 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:27 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:27 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:27 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:32 [1.46ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:32 [0.5ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:14:32 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:14:32 [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-a-receipts-component
   Query 5 - 2025-06-08 10:14:33 [0.45ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 51076 and `deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:33 [4.49ms] */
select count(*) as aggregate from `receipts` where `receipt_number` between 2553751 and 2553800 and `type` = 'GOV_RECEIPT_NUMBER' and `deleted_at` is null and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:33 [0.49ms] */
insert into `user_receipts` (`user_id`, `book_number`, `type`, `start`, `end`) values (85, 51076, 'GOV_RECEIPT_NUMBER', 2553751, 2553800);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:33 [0.41ms] */
select * from `user_receipts` where `user_receipts`.`deleted_at` is null order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:33 [1.39ms] */
insert into `receipts` (`created_at`, `receipt_number`, `type`, `updated_at`, `user_id`, `user_receipt_id`) values ('2025-06-08 10:14:33', 2553751, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553752, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553753, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553754, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553755, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553756, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553757, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553758, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553759, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553760, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553761, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553762, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553763, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553764, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553765, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553766, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553767, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553768, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553769, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553770, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553771, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553772, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553773, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553774, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553775, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553776, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553777, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553778, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553779, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553780, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553781, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553782, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553783, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553784, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553785, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553786, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553787, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553788, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553789, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553790, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553791, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553792, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553793, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553794, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553795, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553796, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553797, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553798, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553799, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343), ('2025-06-08 10:14:33', 2553800, 'GOV_RECEIPT_NUMBER', '2025-06-08 10:14:33', 85, 343);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:33 [0.3ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:33 [0.79ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:33 [0.54ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:33 [0.57ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-06-08 10:14:33 [0.13ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 20 - 2025-06-08 10:14:33 [0.13ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 21 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 22 - 2025-06-08 10:14:33 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:38 [1.32ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:38 [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-a-receipts-component
   Query 3 - 2025-06-08 10:14:38 [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-a-receipts-component
   Query 4 - 2025-06-08 10:14:38 [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-a-receipts-component
   Query 5 - 2025-06-08 10:14:38 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:38 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:38 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:38 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:38 [0.17ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:38 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:38 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:38 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:38 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:38 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:38 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:47 [1.33ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:47 [0.42ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:14:47 [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-a-receipts-component
   Query 4 - 2025-06-08 10:14:47 [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-a-receipts-component
   Query 5 - 2025-06-08 10:14:47 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:47 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:47 [0.17ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:47 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:47 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:47 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:47 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:47 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:47 [0.16ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:47 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:47 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:47 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:47 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:14:48 [1.36ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:14:48 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:14:48 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:14:48 [0.41ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:14:49 [0.33ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:14:49 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:14:49 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:14:49 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:14:49 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:14:49 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:01 [1.97ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:01 [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-a-receipts-component
   Query 3 - 2025-06-08 10:15:01 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:01 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:01 [0.26ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:01 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:01 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:01 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:01 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:01 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:02 [1.31ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:02 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:02 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:15: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/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:15:02 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:02 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:02 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:02 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:02 [0.16ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:02 [1.31ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:02 [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-a-receipts-component
   Query 3 - 2025-06-08 10:15: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/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:15:02 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:02 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:02 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:02 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:02 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:02 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:02 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:15:08 [2.26ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:15:08 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:15:08 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:15:08 [0.32ms] */
select * from `users` where `id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:15:08 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:15:08 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:15:08 [0.65ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'CD361' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:15:08 [0.3ms] */
select * from `vehicle` where `license_plate` = 'CD361' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:15:10 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:15:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:15:10 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:15:10 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:15:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:15:10 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:15:10 [0.82ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'IC644' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:15:10 [0.23ms] */
select * from `party` where `party`.`id` = 40488 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:15:10 [0.22ms] */
select * from `vehicle` where `id` = 69061 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:15:10 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 69061 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-08 10:15:11 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-08 10:15:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-08 10:15:11 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-08 10:15:11 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-08 10:15:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-08 10:15:11 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-08 10:15:11 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 69061 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-08 10:15:11 [0.22ms] */
select * from `vehicle` where `id` = 69061 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-08 10:15:11 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 69061 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-08 10:15:11 [0.92ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 69061 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-08 10:15:11 [2.22ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-08 10:15:11 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-08 10:15:11 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-08 10:15:11 [0.31ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-08 10:15:11 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-08 10:15:11 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-08 10:15:11 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-08 10:15:12 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-08 10:15:12 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-08 10:15:12 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-08 10:15:12 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-08 10:15:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-08 10:15:12 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-08 10:15:12 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:15:25 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:15:25 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:15:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:15:25 [0.16ms] */
select * from `users` where `id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:15:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '334660a396df3e924e41dd8a57fe20267a04a684106947bb8e441f11fb667240da9394b1068f6b8f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:15:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:15:25 [0.72ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'VD361' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:15:25 [0.24ms] */
select * from `party` where `party`.`id` = 37861 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:15:25 [0.25ms] */
select * from `vehicle` where `id` = 47104 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:15:25 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 47104 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:36 [1.97ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:36 [0.85ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:36 [0.72ms] */
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-a-receipts-component
   Query 4 - 2025-06-08 10:15:36 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:36 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:36 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:36 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:36 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:36 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:36 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:36 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:36 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:36 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:36 [0.15ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:36 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:36 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:36 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:37 [1.31ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:37 [0.42ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:37 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:37 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:37 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:37 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:37 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:37 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:37 [0.16ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:37 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:37 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:38 [1.33ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:38 [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/config.manage-a-receipts-component
   Query 3 - 2025-06-08 10:15:38 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:38 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:38 [0.29ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:38 [0.17ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:38 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:38 [0.24ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:38 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:38 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:38 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:38 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:38 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:38 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:38 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:38 [0.17ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:38 [1.98ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:38 [0.77ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:38 [0.64ms] */
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-a-receipts-component
   Query 4 - 2025-06-08 10:15:38 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:39 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:39 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:39 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:39 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:39 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:39 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:40 [1.35ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:40 [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-a-receipts-component
   Query 3 - 2025-06-08 10:15:40 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:40 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:15:40 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:40 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:40 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:40 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:40 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:40 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:41 [1.29ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:41 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:41 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:41 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:15:41 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:41 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:41 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:41 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:41 [1.99ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:41 [0.71ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:41 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:41 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:41 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:41 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:41 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:41 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:41 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:41 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:42 [1.3ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:42 [0.42ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:42 [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-a-receipts-component
   Query 4 - 2025-06-08 10:15:42 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:15:42 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:42 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:42 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:42 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:42 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:42 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:42 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:42 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:42 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:42 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:42 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:42 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:42 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:43 [1.33ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:43 [0.43ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:43 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:15:43 [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/config.manage-a-receipts-component
   Query 5 - 2025-06-08 10:15:43 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:43 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:43 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:43 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:43 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:43 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:43 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:43 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:43 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:43 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:43 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:43 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:43 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:43 [2.5ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:43 [0.75ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:43 [0.44ms] */
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-a-receipts-component
   Query 4 - 2025-06-08 10:15:43 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:43 [0.4ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:43 [0.27ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:43 [0.27ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:43 [0.25ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:43 [0.22ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:44 [1.3ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:44 [0.48ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15: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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:15:44 [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-a-receipts-component
   Query 5 - 2025-06-08 10:15:44 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:44 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:44 [0.17ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:44 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:44 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:44 [0.16ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:44 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:44 [0.15ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:44 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:44 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:44 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:44 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:44 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-06-08 10:15:51 [1.33ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-06-08 10:15:51 [0.48ms] */
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-a-receipts-component
   Query 3 - 2025-06-08 10:15:51 [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/config.manage-a-receipts-component
   Query 4 - 2025-06-08 10:15:51 [0.44ms] */
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-a-receipts-component
   Query 5 - 2025-06-08 10:15:51 [0.4ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 398 and `deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-06-08 10:15:51 [3.79ms] */
select count(*) as aggregate from `receipts` where `receipt_number` between 19851 and 19900 and `type` = 'SERVICE_RECEIPT_NUMBER' and `deleted_at` is null and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-06-08 10:15:51 [0.21ms] */
insert into `user_receipts` (`user_id`, `book_number`, `type`, `start`, `end`) values (85, 398, 'SERVICE_RECEIPT_NUMBER', 19851, 19900);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-06-08 10:15:51 [0.17ms] */
select * from `user_receipts` where `user_receipts`.`deleted_at` is null order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-06-08 10:15:51 [0.62ms] */
insert into `receipts` (`created_at`, `receipt_number`, `type`, `updated_at`, `user_id`, `user_receipt_id`) values ('2025-06-08 10:15:51', 19851, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19852, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19853, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19854, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19855, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19856, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19857, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19858, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19859, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19860, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19861, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19862, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19863, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19864, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19865, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19866, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19867, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19868, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19869, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19870, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19871, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19872, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19873, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19874, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19875, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19876, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19877, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19878, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19879, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19880, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19881, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19882, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19883, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19884, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19885, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19886, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19887, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19888, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19889, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19890, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19891, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19892, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19893, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19894, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19895, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19896, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19897, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19898, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19899, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344), ('2025-06-08 10:15:51', 19900, 'SERVICE_RECEIPT_NUMBER', '2025-06-08 10:15:51', 85, 344);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-06-08 10:15:51 [0.34ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-06-08 10:15:51 [0.76ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-06-08 10:15:51 [0.5ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-06-08 10:15:51 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 20 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 174 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 21 - 2025-06-08 10:15:51 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 22 - 2025-06-08 10:15:51 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:17:40 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:17:40 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:17:40 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:17:40 [0.33ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:17:40 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:17:40 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:17:40 [0.87ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'QY356' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:17:40 [0.23ms] */
select * from `party` where `party`.`id` = 64741 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:17:40 [0.23ms] */
select * from `vehicle` where `id` = 81176 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:17:40 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 81176 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-08 10:17:40 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-08 10:17:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-08 10:17:40 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-08 10:17:40 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-08 10:17:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-08 10:17:40 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-08 10:17:40 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 81176 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-08 10:17:40 [0.25ms] */
select * from `vehicle` where `id` = 81176 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-08 10:17:40 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 81176 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-08 10:17:40 [0.69ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 81176 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-08 10:17:41 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-08 10:17:41 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-08 10:17:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-08 10:17:41 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-08 10:17:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-08 10:17:41 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-08 10:17:41 [0.17ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-08 10:17:41 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-08 10:17:41 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-08 10:17:41 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-08 10:17:41 [0.35ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-08 10:17:41 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-08 10:17:41 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-08 10:17:41 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:18:18 [1.47ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:18:18 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:18:18 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:18:18 [0.29ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:18:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:18:18 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:18:18 [0.63ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'KA582' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:18:18 [0.26ms] */
select * from `vehicle` where `license_plate` = 'KA582' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:19:51 [2.09ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:19:51 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:19:51 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:19:51 [0.17ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:19:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-08 10:19:51 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-08 10:19:51 [0.83ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'AK582' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-08 10:19:51 [0.25ms] */
select * from `party` where `party`.`id` = 45151 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-08 10:19:51 [0.26ms] */
select * from `vehicle` where `id` = 63868 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-08 10:19:51 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 63868 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-08 10:19:52 [1.97ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-08 10:19:52 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-08 10:19:52 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-08 10:19:52 [0.2ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-08 10:19:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-08 10:19:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-08 10:19:52 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 63868 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-08 10:19:52 [0.28ms] */
select * from `vehicle` where `id` = 63868 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-08 10:19:52 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 63868 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-08 10:19:52 [0.91ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 63868 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-08 10:19:53 [1.28ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-08 10:19:53 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-08 10:19:53 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-08 10:19:53 [0.35ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-08 10:19:53 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-08 10:19:53 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-08 10:19:53 [0.21ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-08 10:19:53 [1.3ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-08 10:19:53 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-08 10:19:53 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-08 10:19:53 [0.16ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-08 10:19:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc4de572a28cb12a7681adafabd634e8e473141f323c6f831f20edf83c7b86c26516d6d93c59a674' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-08 10:19:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-08 10:19:53 [0.19ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-08 10:20:29 [2.25ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-08 10:20:29 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '0a02ba823c7c0f366f71ae1c71c73531db3c1a1df06557576d4602efda432cc388827a5207d080a7' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-08 10:20:29 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-08 10:20:29 [0.25ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-08 10:20:29 [0.25ms] */
